You open Claude Code in your project folder and ask something a colleague could answer in a minute: why did three customers fail checkout last week? The agent reads every file in that folder, then tells you the answer isn't there. It sits in a Linear ticket filed on Tuesday and in a row of the production database. The agent's hands stop at the edge of the directory it was started in.
An MCP server is the piece you attach to move that edge. If you searched for what is an MCP server, the short answer is this: a small adapter program that offers one outside system's capabilities to an AI app in a standard shape, so the model can look things up and take actions there instead of only talking about them. MCP stands for Model Context Protocol, an open specification Anthropic published in late 2024 together with software kits and a set of reference servers. The protocol is the contract; a server is one implementation of it, usually written by whoever owns the system you want to reach, or by someone in the community.
The word "server" misleads almost everyone at first, because it suggests a machine humming in a data centre. Sometimes it is one. More often it is a small program on your laptop that the AI app starts when needed, or a website a company runs for its customers. The job is the same either way: sit between the model and one outside system, translate in both directions, hand back an answer.
Three roles make up the whole picture. The host is the AI app you talk to: Claude Code, Cursor, Codex, a chat app. The client is a connector inside the host, one per connection, holding that one conversation open. The server is the adapter to a single system: your issue tracker, a database, a folder of documents, a payment API. Host and server never talk directly. The client does the talking, sending structured requests and receiving structured replies, and both sides open by announcing what they support.
A server offers three kinds of things, and the first matters for most people most of the time. Tools are functions the model may call, each with a name, a description, and described arguments: search_issues taking a query and a project, run_query taking SQL, create_ticket taking a title and a body. Resources are read-only content the server hands over on request, addressed like a document. Prompts are ready-made templates a person picks from a menu. A server can offer all three or only tools, and tools are what you will mostly meet.
This connects to something already established in this series: a coding agent is a loop with tools, reading output and revising until the goal is met, rather than a bigger model. MCP is how you hand that loop tools you did not write. Which makes the tool description part of the interface, not paperwork. The model picks what to call by reading the names and descriptions. A tool described as "query data" invites a guess; a tool that says it runs read-only SQL against the orders table and returns at most 200 rows invites the right call.
Why does one server work in Claude Code, in Cursor, and in Codex without anyone rewriting it? Because the contract belongs to nobody. The message format, the handshake, the three kinds of capability, the error shapes: all of it is specified in public, and each host implements the client half while each server implements the server half. Without a standard, every AI app that wanted to read Linear needed its own integration, and every tool vendor needed one integration per app, so the work multiplied. With a protocol it adds up instead. The same trick let any browser open any website and any mail app write to any other. The server does not care which host connected, which is why the same GitHub server appears in three products' setup guides.
The honest qualification: "works everywhere" holds at the protocol level only, and approximately in practice. A host may implement tools but not resources or prompts. A newer revision of the spec may add machinery, such as an authorization flow, that a host has not shipped yet. Check the host's own list of supported features rather than assuming.
A server runs in one of two arrangements, and the choice decides who holds your data. Local: the host launches a command on your machine and talks to it over standard input and output. Servers that read local files, query a database on your laptop, or reuse a command-line login you already have usually work this way. Remote: the server is a service with a URL, and the host connects over the network. Those normally require authorization, and the specification defines an OAuth-based flow so you sign in and grant scoped access instead of pasting a long-lived token into a config file. Setup in either case is one gesture: paste a URL and click connect, or add a command and a few environment variables to a settings screen. It is configuration, not programming, which is worth saying because "server" makes it sound like infrastructure work.
Then comes what decides whether connecting one is a good idea: the trust boundary moves, and four things change at once.
The server's text enters the conversation. Its tool names and descriptions go into the model's context, and so does everything it returns: the issue body, the web page, the file contents. Some of that text was written by strangers. A ticket description containing a sentence that tells the agent to ignore its instructions and send a config file somewhere arrives in the same channel as your request, and the model has no reliable way to tell them apart. That is prompt injection, and MCP does not solve it; it widens the surface by bringing more untrusted text in more conveniently. Be stingier with write-capable tools on servers that read text other people wrote, and keep approving calls instead of auto-approving them.
Every call runs with whatever credentials the server holds. If that token can write to all your repositories, the agent can write to all your repositories, whatever you thought you asked. Give the narrowest scope that does the job, use a read-only token for a server you only query, and keep separate tokens per server so revoking one does not break the rest.
A local server runs code on your machine with your account's permissions. Installing one is the same decision as installing a package from the internet, and a README that says to launch it with a one-line npx command is asking you to run whatever its author published, at whatever version, with your rights. Prefer servers from the company that owns the system, or from a project you can watch being maintained.
A remote server sees what you send it, and the model's provider sees what the server returns. Those are often two different companies, both third parties.
One consequence surprises people: permissions are per connection, not per app. Your host's settings govern what the agent may do with its own tools, like editing files or running shell commands, while a server's token governs what happens in the outside system. Neither limits the other. So before adding a server, answer three questions: which system does it reach, with whose credentials, and does it return text strangers wrote. And when a repository arrives with an MCP configuration file already inside it, read that file before approving anything, because cloning a project should not be how a new connection gets installed on your machine.
Everything above follows from one design decision. MCP turns a system's capabilities into tools any host can call, in a shape nobody owns, so a single server works across competing agents. The value and the risk come from the same fact: it gives the agent real reach with real credentials, and whatever it finds comes back as text the model will act on. The review habits from earlier articles still apply; they now cover a wider world than the folder you started in.