Gdb Mcp Server
Description
# GDB MCP 服务器 一个支持人工智能辅助调试的 GDB MCP (Model Context Protocol) 服务器。该服务器允许 AI 代理和其他工具通过 MCP 协议与 GDB 进行交互。 > **注意**:本项目目前处于开发阶段。我们欢迎社区成员提出建议和反馈,帮助我们改进这个工具。 项目地址:https://github.com/yywz1999/gdb-mcp-server ## 特性 - 发现并附加到现有的 GDB 进程 - 通过终端窗口与 GDB 通信(macOS 上优化支持 iTerm2,Linux 使用 tmux) -…
About
# GDB MCP 服务器 一个支持人工智能辅助调试的 GDB MCP (Model Context Protocol) 服务器。该服务器允许 AI 代理和其他工具通过 MCP 协议与 GDB 进行交互。 > **注意**:本项目目前处于开发阶段。我们欢迎社区成员提出建议和反馈,帮助我们改进这个工具。 项目地址:https://github.com/yywz1999/gdb-mcp-server ## 特性 - 发现并附加到现有的 GDB 进程 - 通过终端窗口与 GDB 通信(macOS 上优化支持 iTerm2,Linux 使用 tmux) - 支持 MCP 协议,便于与 AI 助手集成 - 智能处理 GDB…
Details
- Author
- yywz1999
- GitHub stars
- 84
- Downloads
- 412
- Categories
- Other, Developer Tools
Jump to
- Discovers and attaches to existing GDB processes automatically
- Communicates with GDB via iTerm2 (macOS) or tmux (Linux)
- Provides a full set of debugging tools: breakpoints, stepping, memory inspection, registers, stack trace, disassembly, local variables
- Supports multi‑architecture, multi‑host, and remote debugging
- Intelligent blocking command detection with auto‑send of interrupt signal
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Gdb Mcp ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, install dependencies with python3 -m pip install -r requirements.txt, then start the server with python3 mcp_server.py. Configure an MCP client (e.g., Cursor) to connect to the server and use the provided tool functions to interact with GDB.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"gdb mcp server": {
"gdb-mcp-server": {
"command": "python3",
"args": [
"-m",
"pip",
"install",
"-r",
"requirements.txt"
]
}
}
}
}
McpServers
{
"gdb-mcp-server": {
"command": "python3",
"args": [
"-m",
"pip",
"install",
"-r",
"requirements.txt"
]
}
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





