MCP Server GDB
by MCP-Mirror
A GDB/MI protocol server based on the MCP protocol, providing remote application debugging capabilities with AI assistants. It allows for debugging applications remotely.
Last updated: N/A
What is MCP Server GDB?
MCP Server GDB is a GDB/MI protocol server built on the MCP protocol. It enables remote application debugging, potentially integrating with AI assistants to enhance the debugging experience.
How to use MCP Server GDB?
The server can be run directly after either downloading pre-built binaries from the release page or building from source using cargo build --release
. It supports Stdio (default) and SSE transport modes. Configuration can be adjusted in src/config.rs
or via environment variables.
Key features of MCP Server GDB
Create and manage GDB debug sessions
Set and manage breakpoints
View stack information and variables
Control program execution (run, pause, step, etc.)
Support concurrent multi-session debugging
Use cases of MCP Server GDB
Remote debugging of applications
Debugging applications with AI assistance
Debugging multiple sessions concurrently
Analyzing stack information and variables during debugging
FAQ from MCP Server GDB
How do I create a new debugging session?
How do I create a new debugging session?
Use the create_session
MCP tool.
How can I set a breakpoint?
How can I set a breakpoint?
Use the set_breakpoint
MCP tool.
How do I view the current stack frames?
How do I view the current stack frames?
Use the get_stack_frames
MCP tool.
How do I continue program execution?
How do I continue program execution?
Use the continue_execution
MCP tool.
What transport modes are supported?
What transport modes are supported?
The server supports Stdio (default) and SSE transport modes.