ELI Ladder

What is MCP (Model Context Protocol) in AI?

MCP is an open standard that lets AI apps plug into tools and data, like GitHub or a database, through one shared kind of connector.

AI app (host) Claude, an IDE, ChatGPT MCP clientMCP clientMCP client MCP serverMCP serverMCP server GitHubDatabaseYour files MCP tools, resources, prompts MCP messages are JSON-RPC, sent over stdio or HTTP

Rung 1 Explain like I'm 6

Imagine every toy in your house needed its own special charger. The robot needs one plug, the car another, the torch another. What a mess!

Now imagine one plug shape that fits everything. Any charger works with any toy.

An AI helper has the same problem. It wants to look at your calendar, read a file, or check the weather, and each of those used to need its own special plug. MCP is the one shared plug shape. If a helper knows MCP, and a tool knows MCP, they can work together straight away.

Rung 2 High-school level

Without MCP: 3 × 3 = 9 With MCP: 3 + 3 = 6 MCP App AApp BApp CApp AApp BApp CGitHubSlackFilesGitHubSlackFiles custom glue for every pair each side speaks MCP once
Without a shared standard, every app-tool pair needs its own glue (3 × 3 = 9). With MCP, each side implements it once (3 + 3 = 6).

MCP, the Model Context Protocol, is an open standard that Anthropic released in November 2024 for connecting AI assistants to "the systems where data lives" [1]. A protocol is just an agreed set of rules for how two programs talk.

There are three roles:

  • The host is the AI app you use, such as Claude, an AI code editor, or ChatGPT.
  • Inside it, an MCP client handles one connection.
  • An MCP server is a small program that wraps one thing, such as GitHub, Slack, a database or your files, and offers it in the standard shape [1].

A server can offer tools (actions the model can call, like "create issue"), resources (data to read, like a file) and prompts (ready-made templates) [7].

What is MCP in Claude? It is how Claude apps add connectors: install or link an MCP server, and its tools appear for Claude to use.

RAG vs MCP: RAG is a technique, look things up and paste them into the prompt. MCP is the plug that connects the model to a source. A RAG search can be one MCP tool, but MCP can also take actions, like sending a message.

Rung 3 Undergraduate level

MCP client MCP server 1. tools/list2. tools: get_weather(city), ...4. tools/call get_weather {"city": "Pune"}5. content: "24°C, clear" 3. the model picks get_weather Every message is JSON-RPC 2.0, sent over stdio or Streamable HTTP
The core MCP exchange: discover tools, then call one. Every message is JSON-RPC 2.0. The weather tool is a made-up example.

MCP messages use JSON-RPC 2.0, a simple request/response format in JSON [2]. Two standard transports carry them [2]:

  • stdio: the host launches the server as a local subprocess and they exchange newline-separated JSON over standard input and output. Good for local tools such as a file system.
  • Streamable HTTP: the server runs as a web service with one endpoint, for example https://example.com/mcp. It answers with plain JSON or streams several messages back using Server-Sent Events.

How an MCP server works, in two steps. First, the client asks what tools exist (tools/list). Each tool comes back with a name, a description, and a JSON Schema for its arguments. The host puts these into the model's context, so the model knows what it can call. Then, when the model decides to use one, the client sends:

{"jsonrpc": "2.0", "id": 2, "method": "tools/call",
 "params": {"name": "get_weather", "arguments": {"city": "Pune"}}}

and the server replies with content the model can read:

{"jsonrpc": "2.0", "id": 2,
 "result": {"content": [{"type": "text", "text": "24°C, clear"}]}}

Why a standard helps: with N apps and M tools, custom glue needs N × M integrations. If every app and every tool speaks MCP, you need only N + M. That is the same trick the Language Server Protocol used to connect code editors to programming languages, and the MCP spec names it as its inspiration [7].

Check yourself: Why does a shared protocol reduce work from N × M integrations to N + M?

Each app and each tool implements the protocol once, instead of every app writing custom code for every tool.

Rung 4 Graduate level

The design choices are about trust, cost and where state lives.

Local vs remote. A stdio server runs with the user's own permissions on their machine, so it is easy to start but can do anything the user can. A remote server over HTTP needs real authorisation. The spec uses OAuth, and its 2025-11-25 revision added OpenID Connect discovery, incremental scope consent and OAuth Client ID Metadata Documents as the recommended way to register clients [3]. The HTTP transport also requires servers to validate the Origin header and recommends binding local servers to 127.0.0.1, to block DNS-rebinding attacks from web pages [2].

Context cost. Every tool's name, description and schema is sent to the model, and those tokens count against its context window. Connect dozens of servers and the tool list alone can crowd out the task, so hosts must choose which tools to show the model.

Untrusted descriptions. A tool description is text the model reads and the user usually does not see. In April 2025 Invariant Labs showed tool poisoning: hidden instructions in a description that told the model to read files such as SSH keys and pass them to the attacker [4]. The spec now says tool descriptions and annotations must be treated as untrusted unless they come from a trusted server, and that hosts must get user consent before invoking tools [7].

Scale of adoption. By December 2025 Anthropic counted more than 10,000 active public MCP servers and over 97 million monthly SDK downloads across Python and TypeScript, with clients including ChatGPT, Cursor, Gemini, Microsoft Copilot and VS Code [5].

Check yourself: Why is a tool's description a security risk in MCP?

The model reads and may follow it, but the user often never sees it, so hidden instructions can steer the model.

Rung 5 PhD level

MCP is an interface standard, so its hard problems are less about the wire format and more about what happens when a probabilistic model sits between many trust domains.

  • Prompt injection across servers. One server's output becomes the model's input, which can then drive another server's tools. A malicious issue comment can steer a GitHub tool; a poisoned description can steer everything [4]. This is a confused-deputy problem: the model holds the user's authority but takes instructions from data. No protocol-level fix exists; the spec admits it "cannot enforce these security principles at the protocol level" [7].
  • Information-flow control. Consent prompts per tool call do not scale and train users to click yes. Tracking which data came from which source, and blocking flows from private sources to public sinks, is a research direction, not a solved feature.
  • Tool selection at scale. Accuracy at choosing the right tool falls as the menu grows, and long tool lists cost context. Retrieval over tool descriptions helps but adds a new failure point.
  • State and scaling. Early MCP kept a session per connection, which clashed with stateless, load-balanced web infrastructure. The 2026 revision removed that session [6], moving state into explicit handles passed between calls.
  • Semantics. A JSON Schema says what arguments look like, not what a tool does or whether it is safe to repeat. Richer contracts, such as side-effect and idempotency annotations, are only advisory today.

Rung 6 State of the art: what experts work on now

Last checked 18 November 2026.

As of 2026-11-18.

Neutral governance. On 9 December 2025 Anthropic donated MCP to the new Agentic AI Foundation, a directed fund under the Linux Foundation co-founded by Anthropic, Block and OpenAI, with support from Google, Microsoft, AWS, Cloudflare and Bloomberg [5].

2025-11-25 revision. It added experimental tasks for long-running requests that clients poll for results, tool calling inside sampling, URL-mode elicitation, and the OAuth changes above [3].

2026-07-28 revision, the current spec. The core became stateless: the initialize handshake and the Mcp-Session-Id header were retired, so any request can reach any server instance behind a plain load balancer [6]. Each request carries its protocol version and capabilities, and an optional server/discover call returns a server's capabilities up front [6]. Tasks moved into an extension, alongside MCP Apps for interactive UI shown inside the chat [6][7]. Sampling, roots, logging and Dynamic Client Registration are deprecated, and can be removed no earlier than the first revision released on or after 28 July 2027 [8].

Adoption. The July 2026 announcement reported close to half a billion SDK downloads a month across the Tier 1 SDKs [6]. These are project-reported numbers.

The direction is clear: MCP is settling into boring infrastructure, while the open question has moved to security between tools.

Sources

  1. Anthropic, Introducing the Model Context Protocol (2024)
  2. MCP specification 2025-11-25: Transports (2025)
  3. MCP specification 2025-11-25: Key changes (2025)
  4. Invariant Labs, MCP Security Notification: Tool Poisoning Attacks (2025)
  5. Anthropic, Donating the Model Context Protocol and establishing the Agentic AI Foundation (2025)
  6. MCP Blog, The 2026-07-28 Specification (2026)
  7. MCP specification 2026-07-28: Overview (2026)
  8. MCP specification 2026-07-28: Deprecated features (2026)