MCP basics: three check questions
Notes on the MCP intro and architecture pages (protocol version 2026-07-28). 1. What is the difference between a tool and a resource, and why does it matter who is in control? A tool is an executable function. The model decides to call it, and the client inside the host passes that call on to the server. With a resource, the application or the user decides what gets read. Who is in control matters for safety. Tools can have side effects, and the model is the one calling them, so the host asks the user for approval before the call ever reaches the server. The server never sees the approval, only the request. 2. Why does the host open one client per server instead of sharing one? - Security: each server has its own tokens. If one client carried the tokens of two servers, one server's token could leak to the other. Separate clients keep them apart. - Who supports what: each client keeps the result of its own server's server/discover. A shared client could mix them up and send a request to a server that doesn't support it. - Failure isolation: if one server crashes, only its client is affected; the other connections keep working. 3. What would break without capability declaration? The client wouldn't know what each server supports, so it would try requests blindly and get errors. It breaks in the other direction too: the server wouldn't know whether the client supports elicitation. Every request also carries the protocol version; without that check, two sides speaking different versions could misunderstand each other.