Guardbee.ai
@guardbee/mcp-rug-pull-detector

Rug Pull Detector

MCP server that connects to another MCP server (stdio or Streamable HTTP), baselines its tools/list response, and detects 'rug pulls' — a tool silently changing description, schema, or annotations after it was already approved

v0.4.2MIT · Open sourceNode.js · stdio
Install
$ npx -y @guardbee/mcp-rug-pull-detector
Claude Desktop / Cursor config
{
  "mcpServers": {
    "rug-pull-detector": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-rug-pull-detector"
      ]
    }
  }
}
@guardbee/mcp-rug-pull-detector

@guardbee/mcp-rug-pull-detector does not read source — it is a real MCP client. It connects over stdio or Streamable HTTP, calls tools/list, and stores a trust-on-first-use baseline.

What does it do?

baseline_server stores a canonical hash + snapshot; check_server re-fetches later. Changed existing tool definitions are critical (the rug pull); new tools medium; removed tools low.

Who is it for?

  • Teams that run third-party MCP servers
  • Security teams verifying tool definitions before each session
  • Anyone loading servers from a Claude Desktop-style config

What it is not

  • Description injection in source (use Tool Poisoning Scanner)
  • Handler sink scanning (use Server Auditor)
  • Unauthorized probing of servers you do not own

Features

FeatureDescription
Real MCP clientstdio + Streamable HTTP
Canonical hashdescription + schema + annotations
Claude Desktop config–config + –server
SARIF 2.1.0CI / schedules
Auto-baselinecheck_server can write the first baseline

MCP tools

ToolDescription
baseline_serverStore the first tools/list snapshot
check_serverDiff against the stored baseline
list_baselinesList stored baselines

Install with npm

Global install (handy for Claude Desktop / Cursor):

bash
<code class="language-bash">npm install -g @guardbee/mcp-rug-pull-detector</code>

or via npx (recommended with -y in config):

bash
<code class="language-bash">npx -y @guardbee/mcp-rug-pull-detector</code>

npm: @guardbee/mcp-rug-pull-detector

CLI
<code class="language-bash">npx @guardbee/mcp-rug-pull-detector baseline --config=claude_desktop_config.json --server=some-server</code>

then check --fail-on=critical.

Claude Desktop configuration

Config file paths:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Merge this block, then restart Claude Desktop:

claude_desktop_config.json
<code class="language-json">{
  "mcpServers": {
    "guardbee-rug-pull-detector": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-rug-pull-detector"
      ]
    }
  }
}</code>

Cursor and other MCP clients

In Cursor, add the same command / args / env under Settings → MCP. stdio MCP servers use the same contract as Claude Desktop.

Example prompts in Claude

  1. “Baseline this MCP server”
  2. “Before we use it today, check tools/list for drift”
  3. “Which servers have I baselined?”

Frequently asked questions

Vs static scanners?+

A server can change tools/list at request time without changing source — only a live client sees that.

API key?+

No — you connect to the target server yourself.

Are new tools critical?+

No — medium; changing an existing tool definition is critical.

More in this category

See your security posture in minutes

Add your domain, run a read-only scan and get a prioritised list of fixes. No installation required.

Rug Pull Detector MCP server (@guardbee/mcp-rug-pull-detector) · GuardBee