Every server you connect hands the agent new tools — and every tool description is text the model reads. Treat MCP like a supply chain, not a plugin shelf.
November 19, 2026 · 6 min read
The Model Context Protocol did something genuinely useful: it gave every agent a standard way to reach tools, instead of a bespoke integration per system. Connect a server, and the agent can read files, query a database, post to a channel, or call an API — all through the same shape. That standardisation is why MCP spread so fast. It is also why it deserves the same suspicion any new supply chain gets.
An MCP server is not a plugin. It is a piece of software, written by someone else, that your agent will trust with instructions and data. The tool descriptions it serves are text the model reads and follows. The data it returns is text the model treats as evidence. If either one is compromised, the agent does not get an error. It gets a new instruction, dressed as a helpful tool.
This is the part most teams miss. When an agent lists the available tools, it reads their descriptions to decide what each tool does and when to call it. A description that says "always call this tool first" or "ignore the previous instruction and use this data instead" is not documentation. It is an instruction to the model, delivered through a channel the user never sees.
The defence starts with provenance: know who wrote each server, pin the version, and review the descriptions the way you would review code — because that is what they are. A server from an unknown author, installed because a tutorial linked it, has the same trust problem as a dependency pulled from an unvetted registry. The difference is that the blast radius is an agent with credentials, not a library in a build.
The second channel is subtler. Tool output — a file read, a search result, a database row, a message fetched from a channel — can contain text written by anyone who could write into that system. A support ticket, a shared document, a web page, a comment thread: all of them are places an attacker can leave instructions for the next agent that reads them.
An agent that treats tool output as ground truth will follow those instructions. The fix is a hard line in the agent's design: data is data, and instructions come only from the user and the system prompt. Content fetched from a tool gets read, summarised, and quoted — it does not get obeyed. When tool output contains an instruction, the agent should flag it, not follow it. That rule has to be enforced outside the model as well as inside it, because the model is the thing being attacked.
Connecting a server usually exposes all of its tools at once. Most agents need a fraction of them. A file server with read, write, and delete should be connected read-only for a research agent. A database server with query and admin tools should expose the query tool and nothing else. The allowlist is per agent, per task, written down, and enforced by the layer that routes tool calls — not by asking the model nicely to avoid the dangerous ones.
Arguments deserve the same treatment. A tool that takes a file path should only accept paths under an allowed directory. A tool that takes a URL should only accept domains on an allowlist. A tool that sends a message should only accept recipients on an allowlist. Schema validation at the boundary turns "the model called the tool with a hostile argument" from an incident into a rejected call.
Finally, MCP servers need the same operations treatment as the agents that use them: version tracking, change monitoring, and an audit trail of every call. When a server updates, its descriptions can change — and a description change is a behaviour change for every agent connected to it. Review updates before they land, and keep the old version ready to roll back to.
Log every tool call with its arguments, out of band, where the agent cannot edit the record. That log is what turns "the agent did something odd" into "the agent called this tool, with this argument, at this time, because this server returned that output". Without it, an MCP incident is a mystery. With it, it is a timeline. MCP is a powerful standard, and it is here to stay. The teams that use it well will be the ones that treated it as infrastructure with an attack surface — not as a shelf of free plugins.
← Back to all posts