gdbMCP

jovanwongzixi/gdbMCP

3.1

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

A Model Context Protocol (MCP) server that provides debugging capabilities through GDB (GNU Debugger) using the pygdbmi library.

Tools

Functions exposed to the LLM to take actions

initialize_gdb

Initialize the GDB connection

load_executable

Load an executable file into GDB

set_breakpoint

Set a breakpoint at a location

remove_breakpoint

Remove a breakpoint by ID

run_program

Run the program

continue_execution

Continue program execution

step_into

Step into the next line

step_over

Step over the next line

get_stack_frames

Get current stack frames

select_stack_frame

Select a specific stack frame

disassemble_function

Disassemble a function

disassemble_address_range

Disassemble a range of addresses

print_variable

Print a variable or expression

examine_memory

Examine memory at an address

get_memory_map

Get memory mappings for the process

get_registers

Get register values

get_register_names

Get register names

create_variable

Create a variable object for tracking

update_variable

Update a variable's value

evaluate_variable

Evaluate a variable's current value

list_variables

List all created variables

get_threads

Get information about threads

switch_thread

Switch to a specific thread

send_custom_command

Send a custom GDB command

shutdown_gdb

Shutdown the GDB connection

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources