Are you the author? Sign in to claim
GDB MCP Server for debugging
GDB MCP server.
gdbmcp exposes GDB operations over the MCP (Model Context Protocol) using FastMCP. It manages GDB sessions over a socket connection (via gdbrpc) and provides MCP tools to connect, list, terminate sessions, and run GDB commands.
gdbrpcmcpuvicorn (required to run the HTTP server)From PyPI:
pip install gdbmcp-server
From repo root:
pip install .
For development:
pip install -e .
python -m gdbmcp-server gdbmcp --stdio
python -m gdbmcp-server
gdb_connect(host: Optional[str] = None, port: Optional[int] = None) -> strEstablish a GDB session and returns a session ID.
gdb_terminate(session_id: str) -> strTerminate an existing session and clean up resources.
gdb_list_sessions() -> strList all active sessions and their host/port.
gdb_command(session_id: str, command: str) -> strExecute a GDB command in the session and return output.
CLI flags:
--stdio : Run in stdio transport mode--port : HTTP server port (default: 20819)Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows