Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By BeaCoxv0.6.1MITIn 1 marketplace
Lets your agent debug Linux programs through GDB, with several isolated debugging sessions at once. Needs Linux and gdb on PATH; raw execution and memory writes stay off until you pass --unsafe.
Trending plugins
7-day copy clicks
Connected while the plugin is enabled; Claude calls their tools.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
gdb, debugger, gdbserver, core-dump, time-travel-debugging, native-debugging, rr, mcp
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
npx claudepluginhub beacox/gdb-mcp --plugin gdb-mcp
Multi-session GDB control for Antigravity, Claude Code, Codex, and any MCP client.
gdb-mcp (PyPI package beacox-gdb-mcp) is a
Model Context Protocol server that drives
GDB over GDB/MI. It provides isolated multi-session debugging for local Linux
executables, core dumps, gdbserver targets, and rr time-travel traces.
gdb-mcpgdb-mcp answers initialize, tools/list, resources/*,
and prompts/* immediately; GDB starts only on the first tool call.session_id; raw
execution, inferior calls, and memory writes require --unsafe.--tool-profile core (29 tools) or
--tools / --exclude-tools on schema-constrained clients:| Profile | Tools | tools/list Size | 3-Scenario Total (Schema + Calls) |
|---|---|---|---|
full (default) | 98 | 51,909 B (~17,303 tok) | 61,286 B (~20,436 tok) |
core | 29 | 13,648 B (~4,550 tok) | 23,025 B (~7,683 tok) |
Measured with scripts/measure_tools.py and scripts/run_eval_harness.py --compare-profiles
(core cuts upfront schema tokens by 73.7% and total session tokens by 62.4%).
gdbserver require Linux)uv (recommended for uv tool install)gdb on PATH; optional gdbserver and rrsudo apt-get install -y gcc gdb
sudo apt-get install -y gdbserver rr # optional
Linux kernel / container permissions (checked automatically by gdb-mcp doctor):
# Allow gdb_attach on non-child processes:
sudo sysctl kernel.yama.ptrace_scope=0
# Allow rr hardware performance counters:
sudo sysctl kernel.perf_event_paranoid=1
# Inside Docker / OCI containers:
docker run -i --rm --cap-add=SYS_PTRACE --security-opt seccomp=unconfined ...
# Add --pid=host when attaching to host processes.
uv tool install beacox-gdb-mcp
[!NOTE] The PyPI distribution is
beacox-gdb-mcp(the oldergdb-mcpname on PyPI belongs to an unrelated package). The installed command isgdb-mcp. Foruvx,pipx, tagged Git, marketplace plugins, Docker, or Nix flake, see docs/INSTALL.md.
gdb-mcp --version
gdb-mcp doctor
claude mcp add --scope user gdb -- gdb-mcp
codex mcp add gdb -- gdb-mcp
Generate JSON snippets for Antigravity (agy), Cursor, VS Code, Windsurf,
Claude, or Codex:
gdb-mcp config agy --installed
gdb-mcp config cursor --installed
gdb-mcp config vscode --installed
For schema-constrained clients or smaller context windows, pass
--tool-profile core in the server command arguments (or set
GDB_MCP_TOOL_PROFILE=core):
{
"mcpServers": {
"gdb": {
"command": "gdb-mcp",
"args": ["--tool-profile", "core"]
}
}
}
uv tool upgrade beacox-gdb-mcp
Then restart your MCP client.
Ask your coding agent:
Use GDB MCP to debug /tmp/gdb-mcp-hello. Set a breakpoint at add, run, show the
current location, backtrace, locals, then continue once.
Typical tool flow: gdb_create_session -> gdb_set_breakpoint ->
gdb_run_and_context -> gdb_context / gdb_eval_expression /
gdb_read_memory -> gdb_close_session. For stripped binaries, switch to
gdb_pwn_context, gdb_vmmap_structured, gdb_telescope, and gdb_symbols.
Raw gdb_execute, inferior calls, variable/memory writes, and init_file are
disabled by default. Enable them explicitly with gdb-mcp --unsafe or
GDB_MCP_ALLOW_UNSAFE=1.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground