Clean your MCPs.

Audit, clean, and slim down the MCP setup your coding agent loads every day. Find forgotten servers, abandoned packages, duplicate tools, broad filesystem access, and context-heavy MCPs before they waste context or trigger unwanted tool calls.

One command local scan
npx @inferensys/dr-mcp
dr-mcp cleanup
MCP cleanup report

Context space
github        ████████████ 80 tools
browser       █████░░░░░░░ 25 tools
slack         ████░░░░░░░░ 20 tools
postgres      ██░░░░░░░░░░ 10 tools

Major upgrades
github-mcp    0.8.1 -> 1.4.0
browser-mcp   1.2.0 -> 2.0.3

Unmaintained
ditch  old-docs-mcp      archived repo
ditch  linear-helper     no push in 421 days

Unused / forgotten
review figma-mcp        seen 7 scans, 93 days
review browser          heavy for this repo

Patch plans:
  upgrade-stale-packages
  remove-abandoned-servers
  remove-long-lived-servers
  remove-heavy-context-servers

No config changes until you apply a plan.

Your agent loads the junk drawer too.

One project needs GitHub and Postgres. Another needs Playwright. A third needs a docs server. After a few weeks, your MCP configs look like an old startup disk: useful tools mixed with trial installs, duplicates, stale packages, and permissions you would not add today.

Scans the configs agentic coders actually collect.

dr-mcp puts your global Claude setup, Codex TOML, Cursor project config, VS Code settings, and random .mcp.json files into one cleanup report.

Claude Desktop json
Claude Code / cc json
OpenAI Codex toml
Cursor json
Windsurf json
GitHub Copilot json
VS Code json
VS Code Insiders json
Cline json
Roo Code json
Continue yaml
Zed json

What it finds before your agent trips over it.

Abandoned servers

Checks npm metadata and GitHub activity so archived or quiet MCP projects are easy to remove.

Context hogs

Ranks heavy servers like GitHub, browser automation, Slack, Jira, and filesystem tools by estimated tool load.

Upgrade debt

Shows MCP packages behind npm latest, including major upgrades that deserve a careful review before applying.

Start with one scan. Delete nothing until you approve it.

The first command gives you a redacted local cleanup report. cleanup adds package checks, abandoned repo signals, major upgrade checks, and local install-history tracking. If you want changes, dr-mcp creates named patch plans with backups.

# CLI
npx @inferensys/dr-mcp
npx @inferensys/dr-mcp cleanup
npx @inferensys/dr-mcp report --format html

# Codex / Claude Code MCP server
npx @inferensys/dr-mcp server

codex mcp add dr-mcp -- \
  npx -y @inferensys/dr-mcp server

claude mcp add dr-mcp -- \
  npx -y @inferensys/dr-mcp server

# In your agent session
dr_mcp_scan
dr_mcp_cleanup
/dr-mcp scan