Releases: FlorentinoJink/mcp-gdb
Releases · FlorentinoJink/mcp-gdb
0.1.0
MCP GDB v0.1.0 🎉
First release of the high-performance Rust implementation of MCP GDB server for Linux debugging — core dump analysis, remote debugging, and direct program debugging.
🚀 Features
Core Functionality
- Core Dump Analysis: Open and analyze Linux core dump files with backtrace, threads, and shared library info
- Remote Debugging: Connect to gdbserver targets via
host:port - Direct Program Debugging: Launch executables under GDB, set breakpoints, step through code, inspect variables
- Custom Commands: Execute arbitrary GDB commands in active sessions
- Session Management: Automatic session pooling, reuse, and lifecycle management
- Core Dump Discovery: Search and list core dump files in directories (supports
core,core.*,*.corepatterns)
Available Tools
open_gdb_core— Analyze core dump files with optional backtrace, threads, and shared librariesopen_gdb_remote— Connect to gdbserver remote targetslaunch_debug— Launch programs under GDB for interactive debuggingrun_gdb_cmd— Execute custom GDB commands in any sessionclose_gdb_core— Close core dump sessionsclose_gdb_remote— Close remote debugging sessionsclose_debug— Close launch debug sessions and terminate target programlist_core_dumps— List available core dumps in directories
Technical Highlights
- ✅ High Performance: Native Rust implementation with Tokio async runtime
- ✅ Memory Safe: Compile-time memory safety guarantees
- ✅ Single Binary: Statically linked (musl), no runtime dependencies
- ✅ MCP Protocol: Full Model Context Protocol support via stdio transport
- ✅ Session Pooling: Automatic GDB session reuse and management
- ✅ Configurable Timeouts: Separate init timeout (symbol loading) and command timeout
- ✅ Debuginfod Control:
--disable-debuginfodto prevent network symbol downloads - ✅ Stripped Binary Support:
debug_info_directoryandsysrootfor separated debug info - ✅ ptrace Detection: Pre-launch checks with clear error messages for containers/VMs
📦 Installation
Download Binary
Download mcp-gdb from the release assets. Statically linked, works on any x86_64 Linux.
chmod +x mcp-gdb```
**Build from Source**
```bash
git clone https://github.com/FlorentinoJink/mcp-gdb.git
cd mcp-gdb
cargo build --release🔧 Configuration
{
"mcpServers": {
"mcp-gdb": {
"command": "/path/to/mcp-gdb",
"args": []
}
}
}📋 Requirements
- Linux x86_64
- GDB (
apt install gdb/dnf install gdb/pacman -S gdb)