Model Context Protocol (MCP)· Open protocol
Model Context Protocol (MCP) — Definition, How It Works, and Why It Matters (2026)
Quick answer~1 min
What MCP is
MCP is a specification — a set of rules describing how a client (an AI application) talks to a server (a system exposing tools, resources, or prompts). The protocol is JSON-RPC-based, runs over standard transports (stdio, HTTP, WebSocket), and defines three core primitives:
- Tools — functions the AI can call (e.g.,
query_database,send_email,search_inventory). - Resources — data the AI can read (files, database rows, API responses).
- Prompts — reusable instruction templates exposed by the server.
Crucially, MCP separates the "what" from the "how." The AI client (Claude Desktop, Cursor, an agent framework) doesn't need to know the implementation details of an integration — it just speaks MCP. The MCP server handles the actual connection to Postgres, Slack, GitHub, or wherever the data/tools live.
The analogy that became standard is "USB-C for AI": one shape, one protocol, plug anything in. Before MCP, each AI vendor invented its own function-calling format, and every integration was a custom build per vendor. MCP collapses this to a single standard.
Why MCP exists (the problem it solves)
Before MCP, connecting an LLM to an external system meant:
- Each AI app defined its own function-calling format (OpenAI's
functions, Claude'stools, Gemini'sfunctionDeclarations) — all subtly different. - Every integration was a custom build per AI app. A connector to Salesforce had to be written separately for OpenAI's Assistant API, for LangChain, for AutoGen, etc.
- Migration was painful. Switching from one LLM provider to another meant re-writing every integration.
- Discovery was non-existent. No standard way to ask "what tools does this AI have access to?"
Anthropic published MCP in November 2024 specifically to unify this. Within months, OpenAI, Microsoft (with GitHub Copilot and Azure AI Studio), Google, and most major agent frameworks announced MCP support. By mid-2026, MCP is the default integration pattern for new agent deployments.
How MCP works
The architecture has three roles:
flowchart LR
subgraph Host[MCP Host - Claude Desktop, Cursor, agent platform]
H[User-facing AI app]
H --> C[MCP Client library<br/>speaks MCP protocol]
end
subgraph Server1[MCP Server: GitHub]
S1[list_issues · get_issue<br/>create_comment]
end
subgraph Server2[MCP Server: Postgres]
S2[query_database<br/>describe_schema]
end
subgraph Server3[MCP Server: Notion]
S3[search_pages · get_page<br/>create_page]
end
C <-->|stdio or HTTP+SSE| S1
C <-->|stdio or HTTP+SSE| S2
C <-->|stdio or HTTP+SSE| S3
Figure 1. MCP three-role architecture. The Host runs the user-facing AI; the Client (inside the Host) speaks the MCP protocol; MCP Servers are domain-specific processes (one per integrated system) exposing tools, resources, and prompts. Switching from one Host to another requires no changes to the Servers — that's the value of the protocol standard.
1. MCP Host
The user-facing AI application — Claude Desktop, Cursor, ChatGPT (with MCP support), an enterprise agent platform, or any custom application. The host has access to the LLM and orchestrates the conversation.
2. MCP Client
A library inside the host that speaks the MCP protocol. The client discovers what tools and resources are available on each connected server, and passes requests / responses between the LLM and the servers.
3. MCP Server
A standalone process that exposes tools, resources, and prompts. Servers are usually domain-specific (a GitHub server, a Postgres server, a Salesforce server) and run either locally on the user's machine or remotely over the internet. The MCP spec defines two transports:
- stdio — for local servers, communication through standard input/output streams. Simple, secure, and common for developer tools.
- HTTP with SSE (Server-Sent Events) — for remote servers, allows streaming responses and multi-tenant deployment. Common for SaaS-hosted MCP servers.
A typical session: the user asks Claude Desktop "show me my open GitHub issues, summarize them, and draft replies for the top 3 priority ones." Claude Desktop's MCP client discovers a GitHub server is connected, finds tools like list_issues, get_issue, and create_comment, and invokes them through the protocol. The GitHub server fetches actual issues from GitHub's API and returns structured data. Claude reads the issues, drafts replies, and uses the GitHub server's create_comment tool to post them (with user confirmation).
What "MCP server" means in practice
The phrase "MCP server" appears constantly in 2026 vendor materials. A few clarifications:
- Anyone can write an MCP server. The spec is open. Reference implementations exist in Python, TypeScript, and Rust. Community-built MCP servers exist for hundreds of common SaaS apps (Slack, Notion, Linear, Jira, Postgres, Stripe, GitHub, Salesforce, etc.).
- MCP servers run anywhere. Locally on the user's machine, in a corporate VPC, hosted by the SaaS vendor itself, or as third-party multi-tenant services.
- There is an MCP registry. mcp-registry.org and vendor-specific registries (Anthropic's, GitHub's, Cursor's) list known MCP servers with install / configure instructions.
- Security is the operator's responsibility. Connecting an MCP server gives the AI access to its tools/data. Treat it is like giving an employee a system credential — scope tightly.
MCP and chatbot platforms
MCP support is a meaningful differentiator for chatbot and agent platforms in 2026:
- Platforms with native MCP support — typically ai-agent-category platforms like Botpress, Voiceflow, Chatbase. These let operators add MCP servers to their bots, giving the bot access to real-time data and actions.
- Platforms WITHOUT MCP support — most SMB-focused chatbot platforms (Manychat, Chatfuel, SendPulse, Wati, AiSensy) as of mid-2026. These use proprietary integrations or Zapier/Make instead. The gap matters less for marketing automation (where flows are predefined) and more for customer-support and agent use cases.
- "MCP-ready" as buying criterion. For SMB operators building anything agent-shaped — not just chatbots — MCP support is increasingly a publish-ready feature checklist item. Lack of MCP support is a legitimate con in platform reviews when the use case is agent-style automation.
Examples
Local developer workflow. A developer connects an MCP server for their local Postgres to Cursor. Cursor's AI can now answer questions like "what tables are in this database, and what's their relationship?" by calling the MCP server's list_tables and describe_schema tools. No data leaves the developer's machine.
Enterprise customer-support agent. A support team's AI agent (built on Botpress, for example) connects to MCP servers for Zendesk (read tickets, post replies), Stripe (look up customer billing), and a custom MCP server for the company's internal product database. The agent has access to all three systems uniformly — and switching from one chatbot vendor to another doesn't require re-writing the integrations.
Personal-assistant integration. A user of Claude Desktop installs the official Notion and Linear MCP servers. Claude can now answer "what's on my Linear board this week and which items relate to my Notion project planning doc?" by retrieving from both systems and synthesizing.
Limitations and tradeoffs
MCP solves the integration-format-fragmentation problem but doesn't solve everything:
- MCP doesn't define semantics, just structure. Two MCP servers might both expose a
searchtool with completely different behaviors. The protocol standardizes how tools are described and invoked, not what they do. - Discovery is shallow. The LLM sees tool names, descriptions, and parameter schemas — but reasoning about when to use which tool still depends on the LLM's training and the quality of tool descriptions.
- Security depends on the operator. A misconfigured MCP server with overly broad permissions gives the AI more access than intended. Audit tool scopes carefully.
- Latency adds up. Each tool call is a network roundtrip. Agents that string many tool calls together can become slow, particularly when tools live on remote servers.
Related terms
- AI agent — the broader category that uses MCP for tool access.
- Large language model — the reasoning engine that consumes MCP-exposed tools.
- Retrieval-augmented generation — a pattern often implemented via MCP resources (the LLM retrieves relevant documents through an MCP server).
- System prompt — the instruction layer that tells an LLM which tools to use and when.
FAQ
Is MCP open source?
The MCP specification is open and published under a permissive license. Reference implementations (Python and TypeScript SDKs) are also open source on GitHub. Anthropic maintains the spec but governance is increasingly community-driven, with contributions from OpenAI, Microsoft, Google, and other vendors.
Do I need MCP to build a chatbot?
No. Most SMB chatbot use cases (marketing automation, lead capture, basic customer support) work fine with the platform's built-in integrations or Zapier/Make. MCP becomes relevant when you build agent-style workflows that need access to many systems, or when you want to avoid vendor lock-in on integrations.
Which AI products support MCP?
As of mid-2026: Anthropic's Claude Desktop and Claude API, OpenAI's ChatGPT and Assistants API, Microsoft Copilot, Cursor, Cline, Zed, and most agent frameworks (LangChain, LangGraph, AutoGen, Pydantic AI, CrewAI). Chatbot platforms vary — see specific platform reviews for current MCP support status.
Can I write my own MCP server?
Yes. Anthropic provides Python and TypeScript SDKs that make it straightforward to expose any function or data source as MCP. Typical implementation for a simple internal tool: 50-200 lines of code. Community guides and templates are widely available at modelcontextprotocol.io.
Is MCP secure?
The protocol itself is secure (standard transports, structured permissions). Security depends on how you deploy it: local stdio servers are most secure (no network exposure); HTTP servers require standard auth (OAuth, API keys); multi-tenant remote servers need careful scoping. Treat MCP servers as production integrations with the same security review you'd give a database connection.
Sources
- Anthropic. Model Context Protocol specification. modelcontextprotocol.io (verified 26 May 2026).
- Anthropic. Introducing the Model Context Protocol. Anthropic news, November 2024. anthropic.com/news/model-context-protocol.
- MCP registry. Community-published MCP servers. mcp-registry.org (verified 26 May 2026).
- Reference implementations: github.com/modelcontextprotocol/python-sdk, github.com/modelcontextprotocol/typescript-sdk (verified 26 May 2026).