Model Context Protocol
A standard protocol that lets models call external tools and data, often abbreviated MCP.
The Model Context Protocol, often abbreviated MCP, is a standard way for a model host to call external tools and read external data. A server exposes tools, resources, or prompts; a client — an editor, a chat app, or your agent runtime — connects to it and offers those tools to the model. The idea is that you can write a tool once and use it in more than one agent.
Under the hood, MCP exchanges JSON-RPC messages over a local process connection or over HTTP. A server can offer three kinds of capability: tools the model can call, resources the application can read into context, and prompt templates a person can invoke. Because each tool is wrapped once as a server and each app supports the protocol once as a client, MCP turns the problem of wiring every app to every tool into one integration on each side.
You need authentication as soon as a tool can see private data or take an action in the world. A local stdio server on your machine is a different risk than a remote server on the internet. Treat each server as an API: identity, least privilege, logging, and a tight tool list. Do not install a server you cannot explain.
Keep tools narrow and typed. 'Search this project' is better than 'run any command.' Return compact results. When something fails, fail with a message the model can use, and a record you can audit. If two servers overlap, the model will sometimes pick the wrong one; names and descriptions matter.
MCP is plumbing. It will not design your agent for you. Decide what the product is allowed to do, then expose only that.