mcp-gdb
23
The MCP GDB Server is designed to provide GDB debugging capabilities for AI assistants like Claude. It allows users to manage debugging sessions, execute commands, and examine code using various GDB functions integrated with MCP.
MCP GDB Server
A Model Context Protocol (MCP) server providing GDB debugging functionality for AI assistants like Claude.
Features
- Start and manage GDB debugging sessions
- Load programs and core dumps
- Set breakpoints and step through code
- Examine memory and view call stacks
- Execute GDB commands
Usage
Configure MCP settings in Claude to use the server for debugging sessions, loading programs, managing breakpoints, examining variables, and more. Supported commands include gdb_start
, gdb_load
, gdb_terminate
, and others.
Supported GDB Commands
gdb_start
: Start a GDB sessiongdb_load
: Load a programgdb_command
: Execute commandsgdb_terminate
: End a sessiongdb_list_sessions
: List sessionsgdb_attach
: Attach to a processgdb_load_core
: Load a core dumpgdb_set_breakpoint
: Set a breakpointgdb_continue
: Continue executiongdb_step
: Step executiongdb_next
: Step over callsgdb_finish
: Execute until function returnsgdb_backtrace
: Show call stackgdb_print
: Print expression valuegdb_examine
: Examine memorygdb_info_registers
: Display registers