Developing on Windows comes with predictable, annoying friction:
-
"Port 3000 is already in use" -> hunting PIDs with
netstat -ano | findstr - Broken, duplicated, or shadowed
python.exe/node.exeentries inPATH -
MAX_PATH(260-char) crashes becauseLongPathsEnabledis0 - Symlink errors because Developer Mode is off
- Windows Defender slowing down builds in
repos/and.cargo/ - Gigabytes buried in
pip,uv,npm,pnpm,cargo, andgradlecaches
So I built win-dev-doctor (wdd) — a lightweight Python CLI + zero-dependency stdio MCP server for Windows developers.
Install in one line
uv tool install win-dev-doctor
# or run without installing:
uvx --from win-dev-doctor wdd check
# or via pip:
pip install win-dev-doctor
What it does
wdd check # Run all 10 modular checks (PATH, env, LongPaths, symlinks, git, WSL, ports, caches, Defender)
wdd kill 3000 # Free a stuck port cleanly without Task Manager
wdd path # Find missing dirs, duplicates, and shadowed binaries
wdd clean --dry-run # See how many GBs are stuck in package caches
wdd report -o report.md # Export a username-redacted Markdown report
wdd mcp # Start stdio MCP server for Claude Code / Cursor
Use with Claude Code / Cursor (MCP)
Add this to .mcp.json or claude_desktop_config.json:
{
"mcpServers": {
"win-dev-doctor": {
"command": "wdd",
"args": ["mcp"]
}
}
}
Your AI agent can then call run_health_check, inspect_path, list_ports, kill_port, scan_caches, and clean_caches directly.
Contribute (1 file = 1 check)
Each check lives in a single self-contained file under src/win_dev_doctor/checks/ and is auto-discovered at startup.
If you want to contribute a check (MSVC Build Tools, Docker .wslconfig, Scoop, VS Code, etc.), check out the open good first issue list!
Top comments (0)