gdb-mcp
by Ipiano
Overview
Provides an AI assistant with programmatic access to GDB debugging sessions, enabling debugging, analysis, and control of compiled programs and core dumps.
Installation
gdb-mcp-serverEnvironment Variables
- GDB_PATH
- GDB_MCP_LOG_LEVEL
Security Notes
This server is inherently high-risk because it exposes highly privileged GDB operations, including arbitrary command execution, function calls within the debugged process, and file system manipulation (via working directory, program/core loading, and GDB commands). The `gdb_execute_command` and `gdb_call_function` tools, while offering command sanitization, allow for direct execution of GDB commands, which can in turn execute shell commands, Python scripts, or access/modify memory and files on the host system. The security of this server relies entirely on the external MCP client implementing robust permissioning, user consent mechanisms, and the server being run in an isolated environment with minimal privileges.
Similar Servers
gdb-mcp-server
Provides an AI-assisted debugging server for GDB using the Model Context Protocol, enabling AI agents to interact with and control GDB sessions.
mcp
Enables AI assistants to interact with Dev Proxy capabilities, allowing natural language for configuring Dev Proxy, accessing contextual help, and discovering features.
devtool-mcp
Provides an AI coding agent with browser superpowers for real-time debugging, visual feedback, process management, and frontend diagnostics. It acts as a bridge between an AI assistant and a web browser.
jons-mcp-rust-debug
Provide Rust debugging capabilities through LLDB's Python API, enabling clients to control debugging sessions, breakpoints, watchpoints, and execution flow.