gdb_mcp

airfloats/gdb_mcp
★ 0 stars Python 💻 Code/Dev Tools Updated today
MCP server for GDB debugging sessions
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "gdb_mcp": {
      "command": "uvx",
      "args": [
        "gdb-mcp"
      ]
    }
  }
}

Or install with pip: pip install gdb-mcp

README Excerpt

An MCP (Model Context Protocol) server that provides AI assistants with programmatic access to GDB debugging sessions. This allows AI models to interact with debuggers in the same way IDEs like VS Code and CLion do, using the GDB/MI (Machine Interface) protocol. - **Full GDB Control**: Start sessions, execute commands, control program execution

Tools (20)

gdb_call_functiongdb_continuegdb_delete_breakpointgdb_disable_breakpointgdb_enable_breakpointgdb_evaluate_expressiongdb_execute_commandgdb_get_backtracegdb_get_frame_infogdb_get_registersgdb_get_statusgdb_get_threadsgdb_get_variablesgdb_interruptgdb_list_breakpointsgdb_nextgdb_select_framegdb_select_threadgdb_set_breakpointgdb_start_session