Gdbserver MCP server
MCP server for remote debugging with gdbserver
0 stars18 downloads/wk
Reviews
Write oneNobody has reviewed Gdbserver yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Gdbserver tools (19, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
gdbserver_attachAttach gdbserver to a running process.
gdbserver_continueContinue execution of the debugged program.
gdbserver_delete_breakpointwrite actionDelete a breakpoint by ID.
gdbserver_evaluateEvaluate an expression in the current context.
gdbserver_interruptInterrupt executing program.
gdbserver_list_sessionsList all active debugging sessions.
gdbserver_list_threadsList all threads in the debugged program.
gdbserver_load_symbolsLoad a symbol file for debugging.
gdbserver_local_variablesGet local variables in current frame.
gdbserver_nextwrite actionExecute one instruction (skipping function calls).
gdbserver_read_memoryRead memory from the debugged program.
gdbserver_read_registerRead register values.
gdbserver_select_threadSelect a thread to debug.
gdbserver_set_breakpointSet a breakpoint at the specified location.
gdbserver_stack_framesGet stack frames from the debugged program.
gdbserver_startStart gdbserver to debug a program remotely on TCP port.
gdbserver_start_multiStart gdbserver in multi-process mode.
gdbserver_stepStep one instruction (stepping into function calls).
gdbserver_stopStop a debugging session and terminate gdbserver.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 159 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Gdbserver compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,273 servers
- Tools
- 19
- the typical server has 7
- Tools that change things
- 11%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 18
- more than 5% of 11,915 servers with a package
What its tools let an agent do: 17 read · 2 change
Install Gdbserver in Claude Code, Cursor or VS Code
claude mcp add mcp-gdbserver -- uvx mcp-gdbserver
What the publisher says
From the Gdbserver repository's README, as published. We do not edit it. Read it on GitHub
mcp-gdbserver
MCP server for remote debugging with gdbserver - provides full debugging capabilities including process management, breakpoint control, stepping, memory inspection, and more.
Install
pip install mcp-gdbserverUsage
from mcp_gdbserver import GdbDebugger
# Create debugger instance
debugger = GdbDebugger()
# Start gdbserver to debug a program
session = debugger.start_gdbserver(port=2345, program="/bin/myapp", args=["--debug"])
# Get session info
sessions = debugger.list_sessions()
# Stop session
debugger.stop_session("session_1")CLI
mcp-gdbserver --helpTools
The MCP server provides 19 debugging tools organized into 4 categories:
Process Management
- gdbserver_start - Start gdbserver to debug a program remotely
- gdbserverstartmulti - Start gdbserver in multi-process mode
- gdbserver_attach - Attach to a running process
- gdbserverlistsessions - List all active sessions
- gdbserver_stop - Stop a debugging session
Breakpoint Control
- gdbserversetbreakpoint - Set a breakpoint at a location
- gdbserverdeletebreakpoint - Delete a breakpoint
Execution Control
- gdbserver_continue - Continue execution
- gdbserver_step - Step one instruction (into functions)
- gdbserver_next - Execute one instruction (over functions)
- gdbserver_interrupt - Interrupt execution
Inspection
- gdbserverstackframes - Get call stack frames
- gdbserverlocalvariables - Get local variables
- gdbserverlistthreads - List all threads
- gdbserverselectthread - Switch to a thread
- gdbserverreadregister - Read CPU registers
- gdbserverreadmemory - Read memory contents
- gdbserver_evaluate - Evaluate an expression
- gdbserverloadsymbols - Load symbol file
MCP Configuration
Add to your MCP config:
{
"mcpServers": {
"mcp-gdbserver": {
"command": "mcp-gdbserver",
"env": {}
}
}
}Development
git clone https://github.com/daedalus/mcp-gdbserver.git
cd mcp-gdbserver
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/mcp-name: io.github.daedalus/mcp-gdbserver
Nothing above is checked by us. What we check is on the safety report.
Gdbserver: common questions
- Is Gdbserver MCP server safe?
- Mostly: it is graded B (82/100). Read the Gdbserver safety report
- How do I install Gdbserver?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Gdbserver need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Gdbserver maintained?
- The last commit was 194 days ago (2026-04-22). The latest release is v0.1.1.
- How does Gdbserver compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,273 servers); tools 19 (the typical server has 7); tools that change things 11% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.