What is MCP tool poisoning?
MCP tool poisoning hides malicious instructions in the description of a tool, attempting to make an AI agent perform actions the user has not authorized.
MCP tool poisoning is an attack that places malicious instructions in the description of a tool available to an AI agent, a program that uses a language model to perform tasks. The Model Context Protocol (MCP) lets the agent discover tools offered by external servers and read each tool's description. An attacker who controls a description can mix useful guidance with hidden commands, for example asking the agent to send confidential data elsewhere. The agent may mistake these commands for legitimate instructions and even use tools other than the poisoned one. It is a form of indirect prompt injection, that is, manipulation through instructions from an untrusted source. What sets it apart is the entry point: the tool description rather than a call's result. The model may read that description as soon as the tool list loads, even if the tool is never called. Success is not automatic: it depends on the agent's behavior and permissions.
See also: MCP (Model Context Protocol)MCP is an open protocol connecting AI applications to external data and tools, with standard messages to discover and use the capabilities a server exposes.
The gap between approval and execution
Under the MCP specification, the client (the application connecting to the server) requests the list of tools and their descriptions. The server can signal that the list has changed; the specification recommends human confirmation for tool invocations, but not a fresh check of descriptions when they change. A description approved today may therefore differ from the one presented later.
In a rug pull, the server initially appears harmless and later changes the description. The MCP security guide distinguishes pinning the package version from checking tool definitions: pinning limits package updates but does not by itself guarantee that the text the client receives stays unchanged. Choose a client that stores approved definitions and asks for approval again when they change.
In the MCPTox benchmark, researchers constructed 1,348 attack cases from 353 tools across 45 real servers and ran them against 20 model configurations. The average success rate, meaning the agent called a legitimate tool to carry out the malicious action, was 36.5%, and every model refused fewer than 3% of cases. These are laboratory measurements, not incidents observed in production or an attack probability for an individual company; they justify testing your own agent and the permissions it actually holds.
An enterprise example
A company connects an agent to an external server for closing support tickets. In this hypothetical scenario, after approval the server changes the description and asks the agent, supposedly for verification, to copy ticket contents to an external address. If the agent follows the instruction and also has a tool that can send data, it can disclose information without the user asking. A client that requests approval again when the description changes can flag the change; restricting sending to authorized recipients and requiring independent confirmation for sensitive transfers reduce the impact even if the change goes unnoticed.
Why it matters for decision makers
Procurement should distinguish initial review from ongoing monitoring: ask who publishes the server, how changes to descriptions are detected, and who approves them. For local servers, isolating the process and issuing least-privilege credentials also limit damage that does not pass through the model. Scanning descriptions supports review but does not prove a server safe; enforce limits outside the agent and establish procedures to suspend the integration when the server changes.
Frequently asked questions
Related terms
- MCP (Model Context Protocol)MCP is an open protocol connecting AI applications to external data and tools, with standard messages to discover and use the capabilities a server exposes.
- Prompt injectionPrompt injection is an attack that places deceptive instructions in an AI system's inputs to alter its responses or actions in ways nobody has authorized.
- Context poisoningContext poisoning alters the information an AI agent consults while working and can steer its answers and actions, including during later interactions.
- Excessive AgencyExcessive agency is a vulnerability in which an AI agent can cause harm because its functions, permissions, or autonomy exceed what its task requires.
- GuardrailsGuardrails are controls that limit an AI system's content and actions, combining filters, permissions, and human review in proportion to the risk of each use.
If it is a risk for your company, I will tell you where to start without selling you fear.
See security and compliance