---
title: What is an MCP rug pull?
type: glossary
url: https://agentsfordevs.com/glossary/mcp-rug-pull
markdown: https://agentsfordevs.com/glossary/mcp-rug-pull.md
publisher: Agents for Devs
author: Agents for Devs desk
reviewed_by: Agents for Devs desk
published: 2026-12-06
updated: 2026-12-06
license: https://agentsfordevs.com/reuse
citation: Agents for Devs. "What is an MCP rug pull?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/mcp-rug-pull
attribution: Credit Agents for Devs and link to https://agentsfordevs.com/glossary/mcp-rug-pull
term: MCP rug pull
aliases:
  - rug pull
  - rug-pull attack
---

# 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.

**Definition:** 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.

```json
{
  "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](/glossary/tool-poisoning) · [MCP registry](/glossary/mcp-registry) · [Tool poisoning: how a tool description can hijack an agent](/guides/tool-poisoning) · [Security checklist for shipping an MCP server](/guides/mcp-server-security-checklist)

## Sources

1. [Tools (MCP specification version 2026-07-28), Model Context Protocol](https://modelcontextprotocol.io/specification/2026-07-28/server/tools)
2. [Architecture overview, Model Context Protocol](https://modelcontextprotocol.io/docs/learn/architecture)
3. [MCP03:2025 Tool Poisoning (OWASP MCP Top 10), OWASP](https://github.com/OWASP/www-project-mcp-top-10/blob/165fe0f78ef104459237b4a8e0f6e78db9b02391/2025/MCP03-2025%E2%80%93Tool-Poisoning.md)

## Changelog

- 2026-12-06: 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: https://agentsfordevs.com/glossary/mcp-rug-pull.md
- Reuse: quote or summarize with a link to the page. Terms: https://agentsfordevs.com/reuse
