Until recently, letting a model work with a database, files or a third-party service meant writing a separate integration for each pair of application and source. MCP replaces this patchwork with a single protocol: a source is connected once and works with any application that supports it.
Clients and servers
| Role | What it is |
|---|---|
| Host | an application with a model: an AI assistant, an IDE, your own chatbot; the MCP clients run inside the host |
| Client | keeps a connection to one server and speaks the protocol with it |
| Server | a small program on top of a specific source — a database, Git, a CRM, the file system; exposes its capabilities to the client |
The server does not know which application the request came from, and the client does not know how the source is built: both sides speak only the protocol.
What the server exposes
- Tools — functions the model can call: run an SQL query, create a task, send an email.
- Resources — data the client reads: files, records, table schemas, query results.
- Prompt templates — reusable request templates for typical scenarios of working with the model.
How the protocol is built
The protocol has two layers: the message format, JSON-RPC 2.0, and the transport. A local server runs as a separate process and communicates over stdio, a remote one is reached over streaming HTTP. The client first learns the protocol version, the capabilities and the list of the server’s methods, and then calls them as needed:
{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}{"jsonrpc": "2.0", "id": 1, "result": {"tools": [{"name": "low_stock", "description": "..."}]}}Where the term comes from
Anthropic introduced the protocol on 25 November 2024, together with the specification and open SDKs for several languages. The format was later adopted by other assistants and development environments — ChatGPT, VS Code, Cursor — and MCP became the common way to connect tools to an LLM.
Sources
the term is written from these pagesVerified 9 Nov