GDB MCP Server
JSON →An MCP server that enables LLM clients to interact with GDB for debugging and binary analysis.
Install
pip3 install mcp Tools · 16
- gdb_execute Execute a GDB command and return the output
- gdb_set_breakpoint Set a breakpoint at a specified location
- gdb_delete_breakpoint Delete a breakpoint by number
- gdb_list_breakpoints List all breakpoints
- gdb_continue Continue program execution
- gdb_next Step to next line (step over)
- gdb_step Step into function
- gdb_finish Step out of current function
- gdb_backtrace Print backtrace of all stack frames
- gdb_print Print value of expression
- gdb_info_locals Show local variables
- gdb_info_args Show function arguments
- gdb_info_registers Show register values
- gdb_disassemble Disassemble current function or address range
- gdb_list_source List source code around current line
- gdb_quit Quit GDB and stop debugging
Links
★ 61 GitHub stars