GNU Debugger (GDB)

Integrates with GNU Debugger to enable execution of arbitrary GDB commands within debugging sessions for automated debugging workf

jtang613 15
Claude CodeClaude DesktopGeneric
View source ↗

GDB MCP server by Jason Tang that enables AI assistants to interact with the GNU Debugger through a standardized interface. Built with Python using FastMCP and GDB's Python API, it provides a single tool for executing arbitrary GDB commands within debugging sessions. The implementation runs as a background SSE server thread within GDB itself, using thread-safe command execution to bridge between the MCP protocol and GDB's command interface. Designed for developers who want to incorporate debugging workflows into AI-assisted development, enabling use cases like automated debugging sessions, intelligent breakpoint management, and conversational access to program state inspection without manually typing GDB commands.

Source

Repository: https://github.com/jtang613/gdb-mcp

Maintain GNU Debugger (GDB)?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[GNU Debugger (GDB) on getagentictools](https://getagentictools.com/mcp/jtang613-gdb-mcp?ref=badge)