|
| 1 | +--- |
| 2 | +title: "Part 3: Model Context Protocol (MCP): The protocol that powers AI agents" |
| 3 | +date: 2025-07-18T14:23:55.595Z |
| 4 | +author: Dinesh R Singh |
| 5 | +authorimage: /img/dinesh-192-192.jpg |
| 6 | +disable: false |
| 7 | +tags: |
| 8 | + - Agentic AI |
| 9 | + - Gen AI |
| 10 | + - Qdrant |
| 11 | + - MCP |
| 12 | + - Communication Protocol |
| 13 | + - "Model Context Protocol " |
| 14 | +--- |
| 15 | +<style> |
| 16 | +li { |
| 17 | + font-size: 27px; |
| 18 | + line-height: 33px; |
| 19 | + max-width: none; |
| 20 | +} |
| 21 | +</style> |
| 22 | + |
| 23 | +As AI agents grow beyond text generation into autonomous problem-solvers, a new challenge emerges — communication. Not between humans and AI, but between AI and the vast world of services, APIs, databases, and tools. That’s where **Model Context Protocol (MCP)** steps in. |
| 24 | + |
| 25 | +Inspired by [my post on medium](https://dineshr1493.medium.com/all-you-need-to-know-about-the-evolution-of-generative-ai-to-agentic-ai-part-3-mcp-model-context-f026578ff0dd), this blog post demystifies the MCP standard — reinterpreted with clarity, depth, and real-world relevance to help you understand how AI agents actually get things done. |
| 26 | +If LLMs are the brains, MCP is the nervous system connecting them to the real world. Let’s unpack how this protocol makes agentic AI functional, contextual, and enterprise-ready. |
| 27 | + |
| 28 | +<center><img src="/img/mcp1.png" width="600" height="550" alt="MCP Arch" title="MCP Arch"></center> |
| 29 | + |
| 30 | +## What is MCP, and why does it matter? |
| 31 | + |
| 32 | +At its core, MCP is a standardized way for AI agents to communicate with external services. Instead of treating each tool or database as a black box, MCP defines a consistent interface — allowing the agent to send structured requests and receive contextual responses. |
| 33 | + |
| 34 | +Imagine an agent saying: |
| 35 | + |
| 36 | +“Here’s the context, here’s what I need — now act smartly based on it.” |
| 37 | + |
| 38 | +That’s the essence of MCP. It removes ambiguity, reduces dependency on ad hoc code, and enables agents to **perform tasks with understanding, not just commands.** |
| 39 | + |
| 40 | +<center><img src="/img/mcp2.png" width="600" height="550" alt="MCP Flow" title="MCP Flow"></center> |
| 41 | + |
| 42 | +## The building blocks of MCP |
| 43 | + |
| 44 | +MCP is comprised of three major components: |
| 45 | + |
| 46 | +* MCP client: Resides inside the AI agent and is responsible for making requests. |
| 47 | +* MCP server: Wraps around external tools or services and handles incoming requests. |
| 48 | +* MCP protocol: Uses JSON-RPC over transport layers like: |
| 49 | + |
| 50 | + * Standard IO for local service calls |
| 51 | + * Server-Sent Events (SSE) for remote or network-based integrations. |
| 52 | + |
| 53 | +<center><img src="/img/mcp3.png" width="600" height="550" alt="MCP Working" title="MCP Working"></center> |
| 54 | + |
| 55 | +## How MCP works — The flow |
| 56 | + |
| 57 | +Here’s a simplified view of the interaction: |
| 58 | + |
| 59 | +1. The agent asks its MCP client to perform a task. |
| 60 | +2. The MCP client sends a well-formed JSON-RPC request to the MCP server. |
| 61 | +3. The MCP server either: |
| 62 | + |
| 63 | + * Executes a tool (e.g., semantic_search) |
| 64 | + * Fetches data (e.g., a file or DB record) |
| 65 | + * Returns a structured prompt (e.g., a Q&A template) |
| 66 | +4. The MCP server streams back results or updates. |
| 67 | +5. The agent uses this data to reflect, re-plan, or execute the next step. |
| 68 | + |
| 69 | +This architecture ensures that AI agents don’t just interact with data — they do so with awareness and strategy. |
| 70 | + |
| 71 | +## MCP + Reflection + Meta-Context = Smarter AI |
| 72 | + |
| 73 | +What separates MCP from basic APIs is its inclusion of **meta-context and reflection:** |
| 74 | + |
| 75 | +* **Meta-Context:** Includes user role, session history, intent, and environment details. |
| 76 | +* **Reflection:** Agents can evaluate responses. If a query fails, they can retry with a better approach. |
| 77 | +* **Context-Aware Tools:** MCP servers can use meta-data to dynamically tailor responses. |
| 78 | +* **Tool Discovery:** Agents can ask, “What tools are available right now?” and adjust plans accordingly. |
| 79 | + |
| 80 | +This turns the agent into a **situationally aware operator**, not just a command runner. |
| 81 | + |
| 82 | +## The race of MCP |
| 83 | + |
| 84 | +Curious about the groundbreaking ***startups racing to develop the next wave of MCP*** (Model Context Protocol) servers? In this roundup, we highlight the most innovative players redefining how AI agents access, interact with, and orchestrate information across tools, databases, financial platforms, and more. For each startup, you’ll find a brief overview of their core technology, real-world use cases, and direct links to explore their solutions further. |
| 85 | + |
| 86 | +Whether you're an AI developer, tech enthusiast, or enterprise looking to supercharge your workflows, discover how these emerging MCP platforms are shaping the future of AI-driven connectivity—unlocking seamless integrations and unprecedented automation across industries. |
| 87 | + |
| 88 | +<table> |
| 89 | + <thead style="background-color:#f2f2f2"> |
| 90 | + <tr> |
| 91 | + <th>Startup</th> |
| 92 | + <th>Description</th> |
| 93 | + <th>Tech Focus</th> |
| 94 | + <th>Use Case</th> |
| 95 | + <th>Website</th> |
| 96 | + </tr> |
| 97 | + </thead> |
| 98 | + <tbody> |
| 99 | + <tr> |
| 100 | + <td><strong>Anthropic</strong></td> |
| 101 | + <td>Creators of MCP and Claude AI</td> |
| 102 | + <td>AI Research & Safety</td> |
| 103 | + <td>Secure tool access via MCP for Claude AI</td> |
| 104 | + <td><a href="https://anthropic.com">anthropic.com</a></td> |
| 105 | + </tr> |
| 106 | + <tr> |
| 107 | + <td><strong>Replit</strong></td> |
| 108 | + <td>Cloud IDE with AI capabilities</td> |
| 109 | + <td>Developer Tools & AI Agents</td> |
| 110 | + <td>MCP-powered code assistant in their IDE</td> |
| 111 | + <td><a href="https://replit.com">replit.com</a></td> |
| 112 | + </tr> |
| 113 | + <tr> |
| 114 | + <td><strong>Sourcegraph</strong></td> |
| 115 | + <td>Code intelligence & search platform</td> |
| 116 | + <td>Developer Productivity</td> |
| 117 | + <td>MCP to connect AI to codebases & tickets</td> |
| 118 | + <td><a href="https://sourcegraph.com">sourcegraph.com</a></td> |
| 119 | + </tr> |
| 120 | + <tr> |
| 121 | + <td><strong>Qdrant</strong></td> |
| 122 | + <td>Open-source vector database</td> |
| 123 | + <td>AI Infrastructure (RAG)</td> |
| 124 | + <td>MCP server for semantic memory in agents</td> |
| 125 | + <td><a href="https://qdrant.tech">qdrant.tech</a></td> |
| 126 | + </tr> |
| 127 | + <tr> |
| 128 | + <td><strong>Neon</strong></td> |
| 129 | + <td>Serverless Postgres provider</td> |
| 130 | + <td>Databases (Postgres Cloud)</td> |
| 131 | + <td>MCP for AI-driven Postgres analytics & ops</td> |
| 132 | + <td><a href="https://neon.tech">neon.tech</a></td> |
| 133 | + </tr> |
| 134 | + </tbody> |
| 135 | +</table> |
| 136 | + |
| 137 | +## Real-world applications of MCP |
| 138 | + |
| 139 | +1. **Faster integrations** |
| 140 | + Instead of hard-coding APIs, developers can plug agents into pre-wrapped MCP servers. This dramatically shortens time-to-integration. |
| 141 | +2. **Live data access** |
| 142 | + Agents can now access up-to-date information from production-grade systems — avoiding stale, hallucinated responses. |
| 143 | +3. **Enterprise control** |
| 144 | + MCP enables governance: every action is logged, controlled, and auditable — essential for security-conscious environments. |
| 145 | +4. **Cross-agent compatibility** |
| 146 | + Build a tool once, and any MCP-compliant agent can use it. No more agent-specific wrappers. |
| 147 | + |
| 148 | +### **Case study: Qdrant with MCP** |
| 149 | + |
| 150 | +**Qdrant** is a vector database used for semantic search. Here’s how it operates under MCP: |
| 151 | + |
| 152 | +1. MCP server exposes a tool like semantic_search(query: str). |
| 153 | +2. Agent calls: semantic_search("incident policy"). |
| 154 | +3. Qdrant streams back relevant documents in real-time. |
| 155 | +4. The agent uses those documents as dynamic context to reason or response. |
| 156 | + |
| 157 | +This is vector search integrated into an agentic loop — not just storage, but intelligence. |
| 158 | + |
| 159 | +### Case study: PostgreSQL with MCP |
| 160 | + |
| 161 | +A **Postgres MCP Server** might expose methods such as: |
| 162 | + |
| 163 | +* get_sales(region: str, quarter: str). |
| 164 | +* run_query(sql: str). |
| 165 | + |
| 166 | +An agent could now answer a prompt like: |
| 167 | + |
| 168 | +“What were APAC sales in Q4?” |
| 169 | + |
| 170 | +The Postgres MCP Server abstracts the SQL, safely executes it, and returns clean, structured results — instantly usable by the agent. |
| 171 | + |
| 172 | +**Leading startups driving MCP adoption** |
| 173 | + |
| 174 | +While **Part 8** will go deeper into startup ecosystems, here are some notable names in the industry who are building or supporting MCP infrastructure: |
| 175 | + |
| 176 | +* Qdrant |
| 177 | +* LangChain |
| 178 | +* AutoGen by Microsoft |
| 179 | +* OpenDevin |
| 180 | +* Auto-GPT (community forks) |
| 181 | + |
| 182 | +These players are shaping a plug-and-play AI world where tools and agents speak a common protocol. |
| 183 | + |
| 184 | +## Conclusion |
| 185 | + |
| 186 | +MCP is more than a technical standard — it's a **philosophy of interoperability** for the agentic era. It shifts AI from being a passive responder to an active participant in real-world systems. With MCP, agents don’t just have the ability to talk — they gain the **power to think, act, adapt, and connect** meaningfully. |
| 187 | + |
| 188 | +As we continue this series, [the next chapter](https://developer.hpe.com/blog/part-4-the-rise-of-agentic-ai-and-the-power-of-the-agno-framework/) will spotlight a top Agentic AI framework and reveal how it uses MCP to orchestrate intelligent, autonomous workflows across environments. |
| 189 | + |
| 190 | +> *If you’re building with AI — or planning to — MCP is the connective tissue you can’t afford to ignore.* |
0 commit comments