The short definition
- Model Context Protocol (MCP)
- An open protocol that standardizes how an AI host discovers and invokes tools, reads resources and loads prompts from a server. It defines the message format, lifecycle and capability negotiation, not the authorization model of the underlying systems.
Host, client, server
A host is the application the user interacts with, such as an IDE assistant or a desktop AI client. Inside the host, one or more clients each maintain a connection to a server. The server exposes capabilities such as tools, resources and prompts.
The server is where your systems meet the protocol. It validates inputs, checks authorization, calls the upstream API or database, and returns structured results. The model decides which tool to call; the server decides whether the call is allowed.
The three primitives
| Primitive | Direction | What it is for | Example |
|---|---|---|---|
| Tools | Server exposes, host calls | Actions with typed input and output | search_issues, create_ticket |
| Resources | Server exposes, host reads | Read-only context addressed by URI | custommcp://docs/setup |
| Prompts | Server exposes, host requests | Reusable workflow templates with arguments | review_threat_model |
| Sampling | Server requests, host provides | Server asks the host model to generate text | Summarize a long record |
| Elicitation | Server requests, host collects | Server asks the user for missing input | Confirm a target environment |
What MCP standardizes
MCP standardizes the lifecycle: initialize, capability negotiation, normal operation and shutdown. It standardizes how tools are listed and called, how resources are addressed, how prompts are retrieved, and how errors and progress are reported.
It also defines transport expectations. Local servers commonly use stdio; remote servers use Streamable HTTP, with legacy SSE supported only where a client still requires it. The transport is part of the contract because it changes authentication, origin validation and deployment.
A minimal lifecycle
Illustrative initialize request. The server returns its protocol version and capabilities.
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": { "name": "example-client", "version": "1.0.0" }
}
}What MCP does not solve
| Misconception | Reality |
|---|---|
| MCP makes tools secure | It standardizes the call path. Authorization, validation and egress control are still server responsibilities. |
| MCP guarantees client compatibility | Hosts implement different versions and features. Compatibility is tested per client. |
| MCP replaces your API | The server wraps your API. The upstream system still owns its permissions and data. |
| MCP makes the model trustworthy | Tool output can contain injected instructions. Treat retrieved content as untrusted data. |
| MCP is only for chat | It is used by IDEs, desktop clients, agents and automation hosts for actions and context. |
MCP, function calling and REST
Function calling is a model-provider feature that lets a model emit a structured call. MCP is a transport and discovery standard that can sit behind that feature. A host can expose an MCP tool to its model as a function without the model knowing the difference.
REST is an architectural style for your API. MCP does not replace it; a typical server calls REST or a database on the back end and translates the result into MCP content. The value is a single, typed interface across hosts rather than a bespoke integration for each one.
Questions people ask before starting
Is MCP an Anthropic product?
MCP originated at Anthropic and is published as an open specification with an open-source SDK ecosystem. It is not tied to one model provider, and hosts from multiple vendors implement it.
Do I need a server for every tool?
No. One server can expose many tools, but each tool should have a clear job. Start with a small server that covers one workflow.
Does MCP work without the internet?
A local stdio server can run entirely on a machine. A remote server needs network access. The choice affects data residency and authentication.
Where is the official specification?
At modelcontextprotocol.io/specification. This page is an independent explanation, not the normative source.
Next step
Turn the definition into a design
Bring one system and one action. We will show what a bounded MCP server looks like for it.
Last verified .