Why It Exists
You ask Claude to file the bug it just found. It can't, unless someone wired Claude to your tracker. Before MCP, that wiring was done separately for every app and every tool: ten AI apps and ten tools meant up to a hundred integrations.
MCP is the wiring, written once on each side. An app implements the client half, a tool implements the server half, and any client can talk to any server. Ten apps and ten tools mean twenty pieces of work.
MCP vs. API shows how MCP differs from an API.
Three Roles
The host is the app you use: Claude Code, Codex, ChatGPT. It holds the conversation, talks to the model, enforces your permissions and creates the clients. The spec calls it "the container and coordinator."
A client is one connection, owned by the host, to one server. "Each client is created by the host and communicates with exactly one server." Connect three servers and the host runs three clients.
A server is the program that offers tools and data. It runs on your machine or somewhere on the internet.
local server
local server
remote server
The Model Never Calls the Server
The model can't open a connection or send a request. It reads the tool definitions the host gives it and, when a tool would help, writes a proposal into its reply: this tool, these arguments. What happens next is up to the host.
The spec's principle is that "hosts must obtain explicit user consent before invoking any tool," and it admits that "MCP itself cannot enforce these security principles at the protocol level." Hosts let you approve trusted tools in advance, but either way the host acts for you. Step through one call below and count the arrows. None goes from the model to the server.
1 Your request
2 Message + tools
{ "name": "send_message", "description": "Deliver a message to a destination in your directory, or to the user's own inbox when `to` is omitted: a note to self lands there, never in an agent inbox, so an agent cannot read it back. …", "inputSchema": { "type": "object", "properties": { "message": { "type": "string", "description": "Recipient-visible message body." }, "to": { "type": "string", "description": "Destination handle from list_destinations; omit for your own inbox." }, "message_id": { "type": "string", "description": "A UUID per intended message; the same one again replays the first receipt." }, … }, "required": ["message", "message_id"] } }3 Proposes a call
4 Asks you
5 Approve
6 tools/call
{ "jsonrpc": "2.0", "id": 7, "method": "tools/call", "params": { "name": "send_message", "arguments": { "subject": "Session summary", "message": "Fixed the flaky login test. Two follow-ups below.", "message_id": "0b7a4c1e-…" } } }7 Result
{ "jsonrpc": "2.0", "id": 7, "result": { "content": [ { "type": "text", "text": "{\"status\": \"delivered\", …}" } ], "isError": false } }8 Result into context
9 Reply
An illustration with Homing's send_message tool, abridged. The description in step 2 is the real one. The next lesson shows real traffic.
What a Server Offers
Servers offer three kinds of thing, and they differ in who decides when each is used. Tools are "model-controlled": the model proposes them, as above. Resources are "application-driven": data the host chooses to put in front of the model, such as a file. Prompts are "user-controlled": templates you pick on purpose, often as a slash command.
Local and Remote
A local server is a program the host starts on your machine. They talk over stdio: the host writes JSON-RPC messages to the server's standard input and reads replies from its standard output, one message per line. A local server can read whatever your user account can, so install one the way you'd install any program.
A remote server is a web service, reached over Streamable HTTP: the client POSTs each message to a single URL. Homing is one, at https://api.tryhoming.com/mcp. A remote server needs to know who's calling, so it asks the client to sign in, usually with OAuth or an API key.
Check Yourself
Questions
What is the difference between an MCP host and an MCP client?
The host is the app you use, such as Claude Code. A client is a connection the host creates to one server. A host with three servers runs three clients.
Does the AI model call MCP servers directly?
No. The model proposes a tool call in its reply. The host decides whether it runs, usually by asking you, and the host's client sends the request to the server.
What is the difference between MCP tools, resources and prompts?
Who decides when they're used. The model proposes tools, the app chooses which resources to show the model, and you pick prompts yourself.
Try It
See the roles on your own machine. Ask your host which servers it has. Each line is a server, and behind each one is a client the host runs for it.
What You Should See
- One line per server, showing either the command that starts it (local, over stdio) or its URL (remote, over HTTP).
- In Claude Code, a status for each server: connected, or why not, such as a sign-in it still needs.
Sources
For Agents and Search Engines
Add Homing to your host as a remote server and send yourself a first note.