# MCP **Published by:** [suparnojit](https://paragraph.com/@suparnojit/) **Published on:** 2025-04-11 **URL:** https://paragraph.com/@suparnojit/mcp ## Content Model Context ProtocolThe Model Context Protocol (MCP) is a new technology designed to make it easier for AI systems, like large language models (LLMs), to connect with external tools, data, and services in a standardized way.(For someone who is new to MCP/someone who is non technical)Think of MCP as a universal connector for AI, similar to how a USB-C port works for devices. Just as USB-C allows you to plug in different gadgets (like chargers or headphones) without needing a unique port for each, MCP provides a single, standardized way for AI models to interact with various external systems. MCP eliminates this barrier by creating a universal system. Developers or MLEs don’t have to write custom codes or worry about time consumption.How things looked before MCP?Custom API Integrations: Manual code for every tool which was time consumingAgent Frameworks (LangChain, LangGraph): LLMs used custom wired toolsRAGs & VectorDBs: No actions or real time queriesWhy did MCP come into the picture?(Source: descope.com)The problems were manual work (writing custom code for every tool which was time consuming), weak connections (if anything changed in the way the tool worked, the connection might break), and complexity. MCP introduces a set of rules (a protocol) that is the same for every connection. Imagine having one universal plug that works with every device instead of different plugs for each gadget. This approach is like upgrading from a patchwork of individual bridges connecting islands to a robust, standardized highway system that everyone can use.Components of MCP ArchitectureMCP Host/AI Interface: Brain or the main part that drives interactions with tools through the MCP ecosystemMCP Client/Connector: Routes messages between the host and the available context providersMCP Server/Context Provider: Plugin which provides access to external tools and data such as filesData Sources: Sources of data (MCP Server retrieves and sends to client)Core MCP ArchitectureHow does MCP work?MCP Host/Main Hub: Think of the MCP Host as the main office in your house. It sits on your computer and acts like a busy reception desk where all messages and information come in and go outMCP Protocol/Universal Language: The main office uses a universal language to talk with various helpers around it. Everyone can understand each other easily in this mannerMCP Servers/Helpers: These helpers, called MCP Servers, are like friendly messengers that go out and connect to different sources of information. They might check a local file in your computer or ask a web service over the internet for the latest updateData Retrieval/Gathering Information: The friendly messengers fetch the needed information from their assigned placesMessages in MCPCommon Language for Messaging: MCP uses JSON-RPC 2.0 so that every message sent between computers (clients and servers) follows the same format. It's like writing every note in a shared language, making sure everyone can read and understand itTransport Layer: Think of the transport layer (using methods like HTTP or WebSocket) as a postal service. It takes the messages written in MCP, packages them into the JSON-RPC language for sending, and then unpacks them on the other end, converting them back into MCP so the AI can understand and replyTwo-Way Conversation: With MCP, the interaction is more like a real conversation where:The AI agent can send messages (or requests) asking for information or actionsIt then receives clear, organized repliesThe conversation can keep flowing back and forth naturally—just as you might chat on the phone with a friendOngoing Sessions: Rather than making one-off, isolated requests that get a single answer, MCP supports continuous discussions. This means the AI agent can engage in an ongoing dialogue with tools, making it dynamic and more like a natural conversation instead of a series of disconnected commandsMCP Protocols vs Traditional API Protocols(Source: apidog.com)(In Everyday Terms)Integration: With traditional Feature APIs, you manually set up each connection like installing separate appliances one by one. MCP, on the other hand, automatically connects devices in a smarter, flexible wayCommunication: Feature APIs are like a one-way radio: you speak, but there's no room for a reply. MCP works like a phone call, where you can talk back and forthDiscovery: When using Feature APIs, you have a set list of tools from the start. With MCP, it’s like a smart assistant that discovers new tools in real time as your needs changeAuthentication: Each feature API might require its own password or security process. MCP uses a single, consistent system to keep everything secure without extra hassle.ConclusionIn conclusion, MCP is a game-changing technology that bridges the gap between advanced AI models and the practical tools they interact with. By enabling real-time, dynamic, and two-way communication through a standardized protocol, MCP transforms isolated, one-off API calls into fluid, multi-step conversations. This not only simplifies system integrations and maintenance but also empowers AI agents to understand their environment, collaborate with various tools, and execute complex tasks seamlessly. Ultimately, MCP lays the foundation for smarter, more adaptable workflows that bring AI closer to our dynamic, real-world needs. ## Publication Information - [suparnojit](https://paragraph.com/@suparnojit/): Publication homepage - [All Posts](https://paragraph.com/@suparnojit/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@suparnojit): Subscribe to updates