Skip to main content

mcpwatch

mcpwatch on Glama

Know when the tools your AI agents trust change.

MCP servers can quietly rewrite a tool's description after you approved it (a "rug pull"), and that description is read by your agent as instructions. mcpwatch checks every server in the official MCP registry daily, fingerprints the tools of every publicly reachable remote server, grades each server, and fails your CI when something you pinned drifts.

  • Static and read-only. It never runs third-party server code and never calls a tool.
  • Private by default. Your config never leaves your machine; the CLI only downloads public index files.
  • Zero dependencies. Python 3.10+ standard library.

Live index and rug-pull radar: https://www.mcpwatch.io

Quickstart

pipx install mcpwatch-io      # or: pip install mcpwatch-io

# 1. Scan a config for risky setups (leaked secrets, unpinned packages, root filesystem access, plain HTTP, ...)
mcpwatch-scan ~/.cursor/mcp.json

# 2. In your project: pin the exact tools your servers expose today...
cd your-project
mcpwatch lock .mcp.json          # writes mcpwatch.lock: commit it

# 3. ...and fail when any of them changes
mcpwatch check .mcp.json         # exit 1 on drift, 2 if the index can't be reached

Or paste a config into the browser scanner at https://www.mcpwatch.io/scan (runs locally in your browser). Tool fingerprints exist for remote servers we can reach without credentials; package-based servers are matched by name and version, and their tools are not fingerprinted (we never run their code).

Works with Claude Desktop, Claude Code (.mcp.json), Cursor and VS Code configs.

Claude Code plugin

claude plugin marketplace add anardimontlv/mcpwatch
claude plugin install mcpwatch@mcpwatch

Before Claude runs claude mcp add ..., the plugin looks the server up in the index and asks you first if it's graded C or worse or isn't in the public registry. At session start it flags configured servers that look risky, and stays silent when nothing does. It also adds the mcpwatch MCP server so Claude can check any server on request. Needs uvx; details in plugins/mcpwatch.

GitHub Action

Scan on every pull request:

- uses: actions/checkout@v4
- uses: anardimontlv/mcpwatch-action@v1
  with: { config: .mcp.json, fail-on: high }

Check for drift every day (rug-pull radar for your repo):

on: { schedule: [{ cron: "0 6 * * *" }] }
jobs:
  mcp-drift:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: anardimontlv/mcpwatch-action@v1
        with: { mode: check, config: .mcp.json, lock: mcpwatch.lock }

See exactly what changed, and block it at runtime

The public index stores only fingerprints. For servers you run yourself (or private ones), pin the tool text too:

mcpwatch lock .mcp.json --live    # launches each stdio server / calls each remote one and keeps the approved tool text
mcpwatch check .mcp.json --live   # fails on drift and prints a diff of the changed description or schema

Hidden characters are shown as \u200b-style escapes, so invisible instructions become visible in the diff.

The lock also pins each server's instructions (sent to the client in initialize): check --live diffs them, and guard serves only the approved text.

mcpwatch guard sits in front of a stdio server and only lets your agent see the tools you approved. Changed or new tools are removed from tools/list, and calls to them are refused before they reach the server:

{ "mcpServers": { "github": {
    "command": "mcpwatch",
    "args": ["guard", "--name", "github", "--lock", "/path/to/mcpwatch.lock", "--", "npx", "-y", "@modelcontextprotocol/server-github"] } } }

Without an approved entry for --name the guard refuses to start. Re-run mcpwatch lock --live after you review a change.

See it work in 10 seconds: examples/rug-pull-demo runs a server that turns malicious mid-life, and shows check failing with the diff and guard blocking it.

Lookup API

Is an MCP server in the index, and how does it grade? For registries, agent platforms and IDEs:

curl 'https://www.mcpwatch.io/api/v1/lookup?url=https://mcp.example.com/mcp'
curl 'https://www.mcpwatch.io/api/v1/lookup?package=npm:@scope/server'   # also pypi:name, oci:image, or ?id=<server id>

Returns the id, grade, score, auth status, last verified date and findings as rule codes, never third-party text, so it is safe to hand to a model. 60 lookups/hour per IP; a Team report key (Authorization: Bearer ...) allows 5,000/hour.

For maintainers: claim your page

Commit a file named .mcpwatch to the default branch of the GitHub repository your MCP registry entry lists:

claim: <your server id from www.mcpwatch.io/s/...>
MW005: intended          # optional, per current finding: intended | fixing | false-positive

Then press "Verify my claim" on your server page. The page shows "Claimed" and your responses as fixed labels; grades don't change. Remove the line to withdraw the claim. Free text isn't shown, by design.

What check treats as drift

Change Severity
A pinned tool's description or input schema changed high
Endpoint stopped requiring credentials high
Server disappeared from the index, or its lookup now points elsewhere high
Tool added or removed; grade changed medium
Endpoint now requires credentials, or tools can no longer be verified medium
Fingerprints older than --max-stale days (default 3): a server can't hide by blocking the indexer medium
Server in the config but not in the lock file (not_locked) medium
Package version changed; server newly indexed; server removed from config low (reported, does not fail)

Scanner rules

Rule Finds
MW001 Secrets in config: env, headers, args, URLs, connection strings
MW002 Unpinned packages (npx pkg, uvx pkg@latest)
MW004 Remote server over plain HTTP
MW005 Remote server without auth
MW006 Filesystem root or whole home directory granted
MW007 Privileged containers, host mounts, Docker socket
MW008 Inline shell launch, curl | sh
MW009 Flags that disable safety controls
MW101 Tool poisoning: instructions aimed at the model in a tool description
MW102 Tools that execute commands or delete data
MW103 Invisible Unicode in tool text

Full rule reference: docs/rules.md. Methodology: docs/how-it-works.md. MCP server for agents: docs/mcp-server.md.

Grades are automated signals, not audits. Maintainers can dispute a finding from the server's page.

Plans

The scanner, the Action and the public index are free. Paid plans add email and Slack watchlist alerts (Pro) and, for Team, shared seats, an org view of every repo with policy rules that fail CI (mcpwatch report), and audit export. See https://www.mcpwatch.io/pricing.

Changelog

See CHANGELOG.md. Each release is also announced on Bluesky and Mastodon.

License

Apache-2.0. See LICENSE and NOTICE. The hosted index, radar and paid plans are a commercial service.

Metadata

Release files for mcpwatch-io 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcpwatch-io 0.3.3
File Size Uploaded Provenance Actions
mcpwatch_io-0.3.3.tar.gz 99.1 kB With provenance Details for mcpwatch_io-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcpwatch-io 0.3.3
File Interpreter ABI Platform Actions
mcpwatch_io-0.3.3-py3-none-any.whl Python 3 none any Details for mcpwatch_io-0.3.3-py3-none-any.whl

Total release size: 175.2 kB

Release files / mcpwatch_io-0.3.3.tar.gz

Download URL mcpwatch_io-0.3.3.tar.gz
Size 99.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c7f51637695e917f2d42b6a2e4188622c387cde2916cc418111291f90e1b6c6e
BLAKE2b-256 checksum
How to use checksums
16c90eabe727ee24f9844c0cf722db258188008a0a0a2ed9a16122440d416389
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / mcpwatch_io-0.3.3-py3-none-any.whl

Download URL mcpwatch_io-0.3.3-py3-none-any.whl
Size 76.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
698e16554bd62c5b564434b76aed65ddf375435984cfd83e8007d6590dde14e2
BLAKE2b-256 checksum
How to use checksums
ec5a4ce473d7353605dbf7630bc8cfaa157e246e97bc0a52ef72159fced42844
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for mcpwatch-io 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcpwatch_io-0.3.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page