MCP Servers / development / GDB MCP Server

GDB MCP Server

JSON →
stdionone61development

An MCP server that enables LLM clients to interact with GDB for debugging and binary analysis.

Install
How to run this server
[ { "cmd": "pip3 install mcp", "imports": [] } ]
server path: gdb-mcp-server
Tools
What this server exposes
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
Configuration
Environment & auth
authnone
Resources
GDB MCP Server — MCP Server · libregistry