gdb-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gdb_sessionC | Start, stop, restart, or inspect the current GDB session. |
| gdb_loadC | Load a binary, core file, symbol file, and optional program arguments. |
| gdb_execC | Execute an arbitrary GDB CLI command with warning-and-confirm risk handling. |
| gdb_miC | Execute a raw GDB/MI command with warning-and-confirm risk handling. |
| gdb_remoteC | Configure or connect Windows GDB to a VM-side gdbserver. |
| gdb_contextB | Return registers, current instruction, disassembly, stack, backtrace, breakpoints, and mappings. |
| gdb_memoryC | Read, write, search, or dump inferior memory. |
| gdb_registerC | Read all registers, read one register, or write one register. |
| gdb_breakpointC | Add, delete, enable, disable, list, condition, or clear breakpoints/watchpoints. |
| gdb_run_controlC | Run, continue, step, next, instruction-step, finish, until, interrupt, kill, or restart. |
| gdb_analyzeC | Analyze crash state, registers, stack, exploitability, calling convention, or memory faults. |
| gdb_elfB | Inspect ELF metadata using pyelftools when available and readelf/objdump as fallback. |
| gdb_pwndbgC | Execute pwndbg/gef/peda helper commands if they appear available. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/traver88/gdb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server