MCP Server GDB
MCP 服务器 GDB
基于MCP协议的GDB/MI协议服务器,提供带有AI助手的远程应用程序调试功能。
特征
创建和管理 GDB 调试会话
设置和管理断点
查看堆栈信息和变量
控制程序执行(运行、暂停、单步执行等)
支持并发多会话调试
内置 TUI 用于检查代理行为,以便您可以改进提示(WIP)
Related MCP server: gdb-multiarch-mcp
安装
预构建的二进制文件
在发布页面中找到二进制文件,根据您的工作平台选择一个,然后您就可以直接运行它。
从源代码构建
克隆存储库并通过 cargo 构建它
cargo build --release
cargo run用法
直接运行:
./mcp-server-gdbserver-gdb服务器支持两种传输模式:
Stdio(默认):标准输入/输出传输
SSE:服务器发送事件传输,默认为
http://127.0.0.1:8080
配置
您可以通过修改src/config.rs文件或环境变量来调整服务器配置:
服务器 IP 地址
服务器端口
GDB命令超时时间(秒)
支持的 MCP 工具
会话管理
create_session创建一个新的 GDB 调试会话get_session获取特定会话信息get_all_sessions- 获取所有会话close_session- 关闭会话
调试控制
start_debugging开始调试stop_debugging停止调试continue_execution- 继续执行step_execution- 进入下一行next_execution- 跨过下一行
断点管理
get_breakpoints- 获取断点列表set_breakpoint- 设置断点delete_breakpoint- 删除断点
调试信息
get_stack_frames- 获取堆栈框架信息get_local_variables- 获取局部变量get_registers- 获取寄存器read_memory- 读取内存内容
执照
麻省理工学院
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that provides programmatic access to the GNU Debugger (GDB), enabling AI models to interact with GDB through natural language for debugging tasks.9Apache 2.0
- AlicenseBqualityDmaintenanceAn MCP server providing direct access to gdb-multiarch for debugging Nintendo Switch executables on Yuzu or hardware via a GDB stub. It features specialized tools for offset-based breakpoints, instruction patching, and frame-pointer backtraces relative to the game's base address.333MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to control GDB debugging sessions, including breakpoint management, thread analysis, and variable inspection, using the GDB/MI protocol.221MIT
- Alicense-qualityCmaintenanceMCP server for remote debugging with gdbserver, offering full debugging capabilities including breakpoint control, stepping, memory inspection, and process management.MIT
Related MCP Connectors
MCP server for Klever blockchain smart contract development.
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for understanding Javascript internals from ECMAScript specification.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pansila/mcp_server_gdb'
If you have feedback or need assistance with the MCP directory API, please join our Discord server