Glossary security/
What is an MCP rug pull?
An MCP rug pull is an attack in which an MCP server changes a tool's description or behavior after a user or administrator has approved it, turning a reviewed tool malicious.
Also called: rug pull, rug-pull attack
{
"jsonrpc": "2.0",
"method": "notifications/tools/list_changed",
"params": { "_meta": { "io.modelcontextprotocol/subscriptionId": "listen-1" } }
}
That notification is the legitimate version of the same move. Spec version 2026-07-28 says the list of tools a server offers “MAY change over time,” and a server that declares listChanged tells subscribed clients so they can fetch tools/list again. A rug pull uses that freedom, or simply a new release of a local server package, to replace a clean description or implementation with a malicious one after review.
The MCP docs say change notifications are best effort, so a client can’t rely on being told; it has to compare what it sees now with what was approved. OWASP’s MCP03:2025 Tool Poisoning entry covers the defenses: sign schemas and tool manifests, don’t let agents act on a changed schema without revalidating it, bind the schema hash to the agent’s session, and log the schema hash used for every invocation.
In practice: pin local server packages to exact versions, record the approved tool definitions or their hashes, and require re-approval when one changes.
See also: Tool poisoning · MCP registry · Tool poisoning: how a tool description can hijack an agent · Security checklist for shipping an MCP server
Related terms
Human-in-the-loop (HITL), MCP registry, Tool allow-list, Tool poisoning
Sources
Changelog
- First published.
Cite this page
Agents for Devs. "What is an MCP rug pull?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/mcp-rug-pull - Page: https://agentsfordevs.com/glossary/mcp-rug-pull
- Markdown version: https://agentsfordevs.com/glossary/mcp-rug-pull.md
- Reuse: quote or summarize with a link to this page. Reuse terms