0.1.3npm · mcp-gdb · current release
Observed 2026-08-15T20:56:24.477Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"tools": {}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
gdb_attachAttach to a running processInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"pid": {
"type": "number",
"description": "Process ID to attach to"
}
},
"required": [
"sessionId",
"pid"
]
} | — | — · — | — |
gdb_backtraceShow call stackInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"full": {
"type": "boolean",
"description": "Show variables in each frame (optional)"
},
"limit": {
"type": "number",
"description": "Maximum number of frames to show (optional)"
}
},
"required": [
"sessionId"
]
} | — | — · — | — |
gdb_commandExecute a GDB commandInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"command": {
"type": "string",
"description": "GDB command to execute"
}
},
"required": [
"sessionId",
"command"
]
} | — | — · — | — |
gdb_continueContinue program executionInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
}
},
"required": [
"sessionId"
]
} | — | — · — | — |
gdb_examineExamine memoryInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"expression": {
"type": "string",
"description": "Memory address or expression"
},
"format": {
"type": "string",
"description": "Display format (e.g., \"x\" for hex, \"i\" for instruction)"
},
"count": {
"type": "number",
"description": "Number of units to display"
}
},
"required": [
"sessionId",
"expression"
]
} | — | — · — | — |
gdb_finishExecute until the current function returnsInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
}
},
"required": [
"sessionId"
]
} | — | — · — | — |
gdb_info_registersDisplay registersInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"register": {
"type": "string",
"description": "Specific register to display (optional)"
}
},
"required": [
"sessionId"
]
} | — | — · — | — |
gdb_list_sessionsList all active GDB sessionsInput schema{
"type": "object",
"properties": {}
} | — | — · — | — |
gdb_list_sourceList source code at current location or specified location, with VS Code integrationInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"location": {
"type": "string",
"description": "Source location (e.g., function name, file:line, optional)"
},
"lineCount": {
"type": "number",
"description": "Number of lines to show (optional, default is 10)"
}
},
"required": [
"sessionId"
]
} | — | — · — | — |
gdb_loadLoad a program into GDBInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"program": {
"type": "string",
"description": "Path to the program to debug"
},
"arguments": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command-line arguments for the program (optional)"
}
},
"required": [
"sessionId",
"program"
]
} | — | — · — | — |
gdb_load_coreLoad a core dump fileInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"program": {
"type": "string",
"description": "Path to the program executable"
},
"corePath": {
"type": "string",
"description": "Path to the core dump file"
}
},
"required": [
"sessionId",
"program",
"corePath"
]
} | — | — · — | — |
gdb_nextStep over function callsInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"instructions": {
"type": "boolean",
"description": "Step by instructions instead of source lines (optional)"
}
},
"required": [
"sessionId"
]
} | — | — · — | — |
gdb_printPrint value of expressionInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"expression": {
"type": "string",
"description": "Expression to evaluate"
}
},
"required": [
"sessionId",
"expression"
]
} | — | — · — | — |
gdb_set_breakpointSet a breakpointInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"location": {
"type": "string",
"description": "Breakpoint location (e.g., function name, file:line)"
},
"condition": {
"type": "string",
"description": "Breakpoint condition (optional)"
}
},
"required": [
"sessionId",
"location"
]
} | — | — · — | — |
gdb_startStart a new GDB sessionInput schema{
"type": "object",
"properties": {
"gdbPath": {
"type": "string",
"description": "Path to the GDB executable (optional, defaults to \"gdb\")"
},
"workingDir": {
"type": "string",
"description": "Working directory for GDB (optional)"
}
}
} | — | — · — | — |
gdb_stepStep program executionInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
},
"instructions": {
"type": "boolean",
"description": "Step by instructions instead of source lines (optional)"
}
},
"required": [
"sessionId"
]
} | — | — · — | — |
gdb_terminateTerminate a GDB sessionInput schema{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "GDB session ID"
}
},
"required": [
"sessionId"
]
} | — | — · — | — |