MCP security: tool poisoning explained
· 5 min read
The Model Context Protocol lets agents call tools exposed by servers. It is powerful and fast to adopt, and it was not designed with enterprise security as its first concern. One of the clearest risks is tool poisoning.
What it is
An agent reads a tool’s name and description to decide when and how to use it. If an attacker controls that text, they can slip in instructions the agent will follow. A server can also change its description after you approved it, so a tool that looked safe on day one behaves differently on day thirty.
Why it is hard to see
The poisoned text sits in metadata the user never reads. The calls that follow can look normal in your logs, and the agent has legitimate credentials, so nothing trips an alarm.
Controls that work
- Inventory. Know every tool server your agents can reach, who runs it and how it authenticates.
- Pin and diff. Store a hash of each tool’s description and flag any change before the agent uses it again.
- Least privilege per tool. An agent should only call the tools its purpose needs.
- Quarantine. Be able to cut off one server at the gateway without redeploying agents.
- Human approval. Pause on risky actions such as writes, bulk reads and payments.
- Test it. Run a repeatable attack suite mapped to the OWASP lists on every release.
A note on trust
Treat any tool you did not write as untrusted input, including tools from marketplaces. The goal is not to avoid MCP but to put one control point between agents and everything they can reach.
Where to go next
See how MCP and tool protection works in the platform, how it can run in your cloud, on-prem or air-gapped, and how this differs from model guardrails.