MCP.so
登录

GDB MCP Server

@smadi0x86

基本信息

分类

其他

许可证

GPL-3.0

传输方式

stdio

作者

smadi0x86

关于 GDB MCP Server

Multi Debugger MCP server that enables LLMs to interact with GDB and LLDB for binary debugging and analysis.

GDB MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "GDB-MCP": {
      "command": "python3",
      "args": [
        "gdb-mcp.py"
      ]
    }
  }
}

GDB MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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.

常见问题

1

What debuggers does GDB MCP Server support?

The server supports both GDB and LLDB debuggers, with automatic debugger selection.

2

How do I install GDB MCP Server?

Run `uv sync`, `uv venv`, then `uv run server.py` in the project directory.

3

How do I integrate GDB MCP Server with Claude Desktop?

Add the following to your `claude_desktop_config.json`: ```json { "mcpServers": { "gdb": { "command": "uv", "args": ["run", "/path/to/server.py"], "disabled": false } } } ```

4

Is LLDB support stable?

LLDB support is experimental and currently only available on macOS.

5

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 服务器