If you have ever set up a local MCP server on Windows, you already know the annoying part:

Every client puts its config file in a slightly different place and expects slightly different JSON:

  • Claude Desktop -> %APPDATA%\Claude\claude_desktop_config.json ("mcpServers")
  • Claude Code -> .mcp.json ("mcpServers")
  • Cursor -> ~/.cursor/mcp.json ("mcpServers")
  • VS Code -> .vscode/mcp.json ("servers", and it wants "type": "stdio")

Add one unescaped Windows backslash or overwrite an existing JSON file by mistake, and half your tools disappear.

While building win-dev-doctor (wdd) — a fast Python CLI and zero-SDK stdio MCP server for Windows dev diagnostics — I wanted setup to take one command instead of a 10-step README tutorial.

1. One-Command MCP Registration (wdd setup)

In v0.3.2, wdd setup detects which AI clients you actually have on your machine and registers win-dev-doctor (uvx --from win-dev-doctor wdd mcp) cleanly:

# Preview which client configs were detected without touching anything uvx --from win-dev-doctor wdd setup --dry-run # Apply changes (creates a .bak backup before editing existing files) uvx --from win-dev-doctor wdd setup 

A few safety details we built into mcp_setup.py:

  • Preserves existing servers: only adds or updates the "win-dev-doctor" key inside "mcpServers" (or "servers" for VS Code).
  • Automatic .bak backups: copies any existing config file to *.bak before writing.
  • Refuses corrupt JSON: if an existing config file has syntax errors, it prints an error and skips it instead of overwriting your file.
  • Easy targeting & removal:
 wdd setup --client claude-desktop,cursor wdd setup --client vscode --runner wdd wdd setup --remove 

2. Standalone Dark HTML Health Reports (wdd report)

When someone on your team hits "works on my machine, broken on yours", pasting raw terminal output into Slack or a GitHub issue gets messy fast — and usually leaks your local Windows username (C:\Users\yourname\...).

wdd report generates a shareable report with local usernames automatically masked as <USER>:

# Markdown (stdout or file) wdd report -o doctor-report.md # Standalone dark-theme HTML dashboard (auto-detected from .html extension) wdd report -o doctor-report.html 

The HTML report is a single self-contained file (no external CSS/JS dependencies) showing OK / WARN / FAIL / INFO summary cards, details per check, and exact fix_hint commands.

3. Safe Auto-Fixes with Rollback (wdd fix)

Alongside diagnostics, v0.3.0 added wdd fix to clean up missing or duplicate entries in User PATH (HKCU\Environment\Path) and apply recommended Windows Git settings (core.longpaths, core.autocrlf):

wdd fix --dry-run # Preview changes wdd fix # Save timestamped JSON backup, then apply wdd fix --rollback # Restore the previous PATH & Git state 

Try It in 3 Seconds

uvx --from win-dev-doctor wdd check 

Or grab the standalone wdd-windows-amd64.exe from GitHub Releases — no Python required.

Thanks to the external contributors who already shipped checks and flags (defender, node-managers, git-cred, --strict, wdd clean --older-than) over the last two days — if you want to add a Windows/cross-platform check (1 file = 1 check), there are plenty of open good first issue tickets waiting!