The Model Context Protocol (MCP) is an open standard that lets an AI application connect to outside data, tools and workflows through one common interface. The MCP documentation calls it “an open-source standard for connecting AI applications to external systems” and says to think of it like “a USB-C port for AI applications”. Instead of a custom integration for each pairing, an app and a server that support compatible protocol revisions and transports can work together.
The three roles
The specification uses JSON-RPC 2.0 messages between three roles:
| Role | What it is |
|---|---|
| Host | The LLM application that initiates connections, such as an IDE or chat app |
| Client | A connector inside the host; the host creates one client per server, each with a dedicated connection |
| Server | A service that provides context and capabilities |
In the MCP docs’ words, “MCP server” refers to the program that serves context data, “regardless of where it runs”. The spec says MCP takes some inspiration from the Language Server Protocol, which standardizes language support across editors.
What a server can offer
According to the spec overview, a server offers any of three features:
| Feature | Meaning in the spec | Who uses it |
|---|---|---|
| Resources | ”Context and data, for the user or the AI model to use” | User or model |
| Prompts | ”Templated messages and workflows for users” | User |
| Tools | ”Functions for the AI model to execute” | Model |
Clients can offer elicitation, which lets a server request more information from the user. Optional extensions such as Tasks, Skills over MCP and MCP Apps are opt-in and need support on both sides.
How messages travel
The spec defines two standard transports:
- stdio: newline-delimited messages over the standard streams of a client-launched subprocess.
- Streamable HTTP: each client message is an HTTP POST to a single MCP endpoint, and replies come back as a JSON object or a request-scoped SSE stream.
The architecture docs add that local servers on stdio typically serve a single client, while remote servers on Streamable HTTP typically serve many. Protocol semantics stay the same across transports.
What changed in the July 2026 specification
The 2026-07-28 revision is the latest at the time of writing, and it changes how a connection works compared with the previous revision, 2025-11-25.
| Area | Change in 2026-07-28 |
|---|---|
| Handshake | The initialize and notifications/initialized handshake is removed. Every request carries its protocol version and client capabilities in _meta |
| Sessions | Protocol-level sessions and the Mcp-Session-Id header are removed from Streamable HTTP |
| Discovery | Servers must implement a new server/discover call that advertises supported versions, capabilities and identity |
| Notifications | subscriptions/listen replaces the HTTP GET endpoint and resources/subscribe |
| Removed methods | ping, logging/setLevel and notifications/roots/list_changed |
| Server questions | Multi round-trip requests replace server-initiated requests such as sampling/createMessage and elicitation/create |
| Tasks | Experimental tasks move out of the core protocol into an official extension |
| Resumability | SSE stream resumability through Last-Event-ID is removed |
If you maintain a server, check which protocol version your SDK targets before assuming the older handshake.
Trust and safety
The spec says tools represent “arbitrary code execution and must be treated with appropriate caution”, and that hosts must get explicit user consent before invoking any tool.
Related
MCP is one way to put the right information in front of a model, which is the subject of What is context engineering?. For instructions the agent reads rather than tools it calls, see What is AGENTS.md?.