GDB-MCP

smadi0x86/GDB-MCP

3.4

If you are the rightful owner of GDB-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that enables LLM clients to interact with GDB for debugging and binary analysis.

Tools

Functions exposed to the LLM to take actions

gdb_start

Start new GDB session

gdb_terminate

Terminate session

gdb_list_sessions

List active sessions

gdb_load

Load program

gdb_attach

Attach to process

gdb_load_core

Load core dump

gdb_continue

Continue execution

gdb_step

Step into functions

gdb_next

Step over functions

gdb_finish

Finish current function

gdb_set_breakpoint

Set breakpoint

gdb_backtrace

Show call stack

gdb_print

Print expression

gdb_examine

Examine memory

gdb_info_registers

Show registers

gdb_disassemble_function

Disassemble function

gdb_disassemble_around_pc

Disassemble around PC

gdb_get_local_variables

Get local variables

gdb_get_stack_frames

Get stack information

gdb_get_register_values

Get register values

gdb_read_memory_bytes

Read memory

gdb_get_thread_info

Get thread information

gdb_get_breakpoint_list

List breakpoints

gdb_set_watchpoint

Set watchpoint

gdb_get_symbol_info

Get symbol info

gdb_command

Execute any GDB command

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources