Dr MCP Server

Clean your MCPs with config audits, context-weight analysis, abandoned-package checks, upgrade plans, usage history, and safe patch plans.

Local serverstdio

What is the Dr MCP MCP server?

If you already use Dr MCP, the dr mcp mcp server is the piece that lets your assistant work with it directly. Clean your MCPs with config audits, context-weight analysis, abandoned-package checks, upgrade plans, usage history, and safe patch plans.

What the server does

dr-mcp is a local-first MCP audit and cleanup tool for developers who use agentic coding every day. It scans the Model Context Protocol configs your tools load, finds stale servers, abandoned packages, duplicate entries, context-heavy tools, risky permissions, and major upgrades, then generates reversible patch plans.

  • MCP audit: — one report across global and project MCP configs
  • MCP cleanup: — review candidates for duplicates, dead entries, abandoned packages, long-lived installs, and heavy tool surfaces
  • MCP context hygiene: — estimated tool counts and context weight for servers that do not belong in every coding session
  • MCP security review: — broad filesystem access, inline secrets, secret-looking args, and broken environment references
  • MCP upgrade planning: — semver drift against npm latest, including major upgrades that deserve review
  • MCP repair plans: — explicit operations with backups and diffs before writing

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • dr_mcp_scan — dr_mcp_cleanup
  • scan_mcp_setup — explain_issue
  • generate_patch_plan — apply_patch_plan
  • Cursor — ~/.cursor/mcp.json, .cursor/mcp.json
  • Windsurf — ~/.codeium/windsurf/mcp_config.json, .windsurf/mcp.json
  • Cline — ~/.cline/data/settings/cline_mcp_settings.json, .cline/data/settings/cline_mcp_settings.json
  • Continue — ~/.continue/config.yaml, .continue/config.yaml
  • Zed — Zed user settings, .zed/settings.json
  • Codex — The Codex tool exposed by this server

Installation

Installation goes through your MCP client rather than a global install: point it at @inferensys/dr-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

Among the file and storage access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Dr MCP's toolset — dr_mcp_scan, scan_mcp_setup, generate_patch_plan and 6 more — is a fair guide to whether it matches your workflow. It is maintained by inferensys; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Dr MCP.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
dr_mcp_scandr_mcp_cleanup
scan_mcp_setupexplain_issue
generate_patch_planapply_patch_plan
Cursor~/.cursor/mcp.json, .cursor/mcp.json
Windsurf~/.codeium/windsurf/mcp_config.json, .windsurf/mcp.json
Cline~/.cline/data/settings/cline_mcp_settings.json, .cline/data/settings/cline_mcp_settings.json
Continue~/.continue/config.yaml, .continue/config.yaml
ZedZed user settings, .zed/settings.json
CodexThe Codex tool exposed by this server.

How to install the Dr MCP MCP server

{
  "mcpServers": {
    "dr-mcp": {
      "command": "npx",
      "args": ["-y", "@inferensys/dr-mcp", "server"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Dr MCP to dr mcp scan.
  • Use Dr MCP to scan mcp setup.
  • Use Dr MCP to generate patch plan.

Frequently asked questions

It connects Dr MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (dr_mcp_scan, scan_mcp_setup, generate_patch_plan, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Dr MCP directly.