MCP server exposing debugger tools for AI clients (Node.js and Python)
Project description
debugger-mcp
MCP server that exposes debugger tools to AI clients (Cursor, Claude Code, etc.): launch, breakpoints, continue, step, evaluate, stack, variables, probe, stop. Supports Node.js (CDP) and Python (DAP). The debugger runtime (top-coder-ai-skills-debugger) is included as a dependency — no separate installation.
Install
One install is enough (the debugger library is pulled in automatically):
pip install debugger-mcp
# or
uv add debugger-mcp
# or
poetry add debugger-mcp
Requires: Python ≥3.11. Nothing else to install.
Global
Use without adding the package to a project:
-
pipx (install once, run from anywhere):
pipx install debugger-mcp debugger-mcp
Then in MCP config use
"command": "debugger-mcp"(pipx puts it on PATH). -
uvx (run on demand, no install — like
npx):uvx debugger-mcpIn MCP config:
"command": "uvx", "args": ["debugger-mcp"].
Run
Stdio transport (e.g. for Cursor MCP):
python -m debugger_mcp
Configure in your MCP client (e.g. Cursor) as:
{
"mcpServers": {
"debugger": {
"command": "python3",
"args": ["-m", "debugger_mcp"]
}
}
}
Ensure the python3 (or uv run) environment has debugger-mcp installed so that python -m debugger_mcp works.
Tools
| Tool | Description |
|---|---|
debug_launch |
Start debugging a program (program, language) |
debug_breakpoint |
Set breakpoint (file, line) |
debug_continue |
Resume until next breakpoint or exit |
debug_step |
Step over or step in |
debug_evaluate |
Evaluate expression in current frame |
debug_stack |
Get call stack |
debug_variables |
Get local variables |
debug_probe |
One-shot: run to line, dump state, stop |
debug_stop |
End the debug session |
See the repo and ARCHITECTURE.md for protocol and usage details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file debugger_mcp-0.1.0.tar.gz.
File metadata
- Download URL: debugger_mcp-0.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d5f981782cf290eda9fbb3d2bf2abd99917b369bee20c592c920ae79353b223
|
|
| MD5 |
39339815200abed61597b516124eb7ac
|
|
| BLAKE2b-256 |
5951f0d84bc2232cdb19a4b4e0e3295aeff947b0ac2d85c5e5d60a425aa3ad80
|
File details
Details for the file debugger_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: debugger_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7576d990ffc1821f1ffb80c260b7aac64dca50667aa17f143d872f54d51e661
|
|
| MD5 |
3b325e4c7fcbad41a966c516c7735331
|
|
| BLAKE2b-256 |
a31c46d9592ad3d05083e1ffbae1c2d7335ca48fe8b8fa71d45c400520e04310
|