Beacox Gdb
БесплатноНе проверенMulti-session Model Context Protocol server for GDB and gdbserver.
Описание
Multi-session Model Context Protocol server for GDB and gdbserver.
README
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.
Why gdb-mcp
- Lazy startup:
gdb-mcpanswersinitialize,tools/list,resources/*, andprompts/*immediately; GDB starts only on the first tool call. - Explicit multi-session safety: every session requires a
session_id; raw execution, inferior calls, and memory writes require--unsafe. - Bounded, selectable tool surface: use
--tool-profile core(29 tools) or--tools/--exclude-toolson 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%).
Requirements & Platform Setup
- Linux (local attach, core files, and
gdbserverrequire Linux) - Python 3.10+ and
uv(recommended foruv tool install) gdbonPATH; optionalgdbserverandrr
sudo 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.
Install
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.
Verify
gdb-mcp --version
gdb-mcp doctor
Configure Your Agent
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"]
}
}
}
Update
uv tool upgrade beacox-gdb-mcp
Then restart your MCP client.
Quick Start
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.
Unsafe Mode & Shutdown
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.
On stdin EOF, SIGTERM, or SIGKILL of the proxy, PR_SET_PDEATHSIG and
session process groups (start_new_session=True + os.killpg) terminate all
spawned backend, GDB, and gdbserver processes without orphans. See
docs/TRANSPORTS.md for HTTP mode, environment variables,
and shutdown details.
Documentation
Установить Beacox Gdb в Claude Desktop, Claude Code, Cursor
unyly install beacox-gdbСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add beacox-gdb -- uvx beacox-gdb-mcpПошаговые гайды: как установить Beacox Gdb
FAQ
Beacox Gdb MCP бесплатный?
Да, Beacox Gdb MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Beacox Gdb?
Нет, Beacox Gdb работает без API-ключей и переменных окружения.
Beacox Gdb — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Beacox Gdb в Claude Desktop, Claude Code или Cursor?
Открой Beacox Gdb на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
автор: S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
Mcp
ModelContextProtocol server for enhancing JSON Resumes
автор: mcpflow.ioVault
Bitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
автор: agbergsmannAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiCompare Beacox Gdb with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
