GDB MCP Server
@smadi0x86
关于 GDB MCP Server
Multi Debugger MCP server that enables LLMs to interact with GDB and LLDB for binary debugging and analysis.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"GDB-MCP": {
"command": "python3",
"args": [
"gdb-mcp.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is GDB MCP Server?
A Model Context Protocol server that provides debugging functionality for both GDB and LLDB debuggers, for use with Claude Desktop, VSCode Copilot, or other AI assistants.
How to use GDB MCP Server?
Clone the repository, then run uv sync, uv venv, and uv run server.py to start the server. Configure your MCP client (e.g., Claude Desktop, VSCode, Windsurf) by adding the appropriate JSON configuration pointing to the server script.
Key features of GDB MCP Server
- Unified tools for both GDB and LLDB.
- Auto-detection of available debuggers.
- Execute arbitrary debugger commands.
- Experimental LLDB support on macOS.
- Session management (start, terminate, list).
- Integrates with Claude Desktop, VSCode, Windsurf.
Use cases of GDB MCP Server
- Debugging executables using an AI assistant.
- Controlling GDB or LLDB sessions via natural language.
- Cross-platform debugging (GDB on Linux, LLDB on macOS).
- Running debugger commands without manual terminal input.
FAQ from GDB MCP Server
What debuggers does GDB MCP Server support?
The server supports both GDB and LLDB debuggers, with automatic debugger selection.
How do I install GDB MCP Server?
Run uv sync, uv venv, then uv run server.py in the project directory.
How do I integrate GDB MCP Server with Claude Desktop?
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"gdb": {
"command": "uv",
"args": ["run", "/path/to/server.py"],
"disabled": false
}
}
}
Is LLDB support stable?
LLDB support is experimental and currently only available on macOS.
What tools are available?
Unified tools: debugger_status, debugger_start, debugger_terminate, debugger_list_sessions, debugger_command. Also separate LLDB and GDB tool sets.
其他 分类下的更多 MCP 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
评论