MCP tool poisoning
Tool poisoning is an attack in which an MCP server hides malicious instructions in the description or metadata of a tool. The model reads them as trusted context and may act on them.
How it works
A user usually sees only a tool’s name. The model sees the full description. An attacker can use that text to tell the model to read a private file and send its contents along in a parameter, for example. A related attack, often called a rug pull, changes a tool’s description after it has been approved.
Why it matters
Any server an agent is connected to can influence what the agent does, including how it uses other servers. One unreviewed server is enough to put data from the trusted ones at risk.
How to reduce the risk
The usual defences are to connect only reviewed servers, to check tool definitions again when they change, to limit the tools each agent can see and to log every call. An MCP registry and an MCP gateway give one place to apply them.