MCP Server Security: Tool Poisoning, Confused Deputy, and 2026's New Attack Surface

By Carlos Montiel | Enterprise AI Specialist
Leer en español →
Published: 2026-07-28 | By: Carlos Montiel | Reading time: ~4 minutes

MCP solved a real problem — connecting AI agents to tools in a standardized way. It also opened up an attack surface almost nobody is auditing yet, and the numbers confirm it.

Tool poisoning: when the trap is in the tool's description

Tool poisoning happens when tool descriptions, retrieved content, or metadata are poisoned or manipulated to steer the model toward unsafe tool calls or unauthorized data access. A malicious or compromised MCP server hides instructions inside a tool's description or metadata; the model reads and follows them, while the user only sees an innocent-looking label — the attack lives in a layer the human user normally never inspects.

Confused deputy: when the agent uses its own permissions, not yours

A confused deputy attack occurs when a system with elevated privileges is manipulated into using those privileges on behalf of someone who shouldn't have them. In the MCP context: an agent with access to sensitive tools is tricked into calling them in ways its deployer never intended — the MCP server executes actions using its own privileges instead of the real user's, which can grant access to resources that user should never be able to touch.

The numbers: not a theoretical risk

A 2025 academic study found tool poisoning in roughly 5.5% of a sample of 1,899 MCP servers. A more recent AgentSeal scan of 1,808 servers reported that 66% had at least one security finding. Attack classes already documented in 2025-2026 include tool poisoning, "rug pulls" (a server changes behavior after gaining trust), tool shadowing, cross-server attacks, confused-deputy/OAuth weaknesses, prompt injection, and what's known as the "lethal trifecta."

Concrete controls that reduce the blast radius

Recommendations already solidifying as best practice: gate the list of available tools behind a human approval step before enabling them in a production agent, show the user the full tool call instead of a friendly summary that could hide what's actually happening, and keep sensitive MCP servers isolated from general-purpose servers — so a poisoned tool on an untrusted server can't reach critical systems without crossing an additional barrier.

What it means for whoever builds or adopts MCP servers

If you built your own MCP server (as we covered in our FastMCP guide), the responsibility for making sure your tools' descriptions can't be manipulated falls on you. If you consume third-party MCP servers — increasingly common via Claude's connectors directory, which already lists more than 950 — treat every new server as unaudited third-party code until you confirm otherwise, exactly as you'd treat an unfamiliar npm or pip dependency.

Carlos Montiel
Enterprise AI Solutions Architect
Specialist in LLMs, Agents, and Orchestration
guatemalia.com/en/#contact · info@guatemalia.com

Need to implement AI at your company?

Carlos Montiel is an enterprise AI solutions architect. He implements LLMs, Agents, RAG, and orchestrators for companies across Guatemala and Latin America. Reach out for a consultation.

Contact Carlos Montiel

info@guatemalia.com