About Gdbmcp
Gdbmcp is an MCP server published by suoyuan666 in the Data category: gDB MCP Server for debugging.
The repository has 3 stars and 0 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/suoyuan666/gdbmcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Gdbmcp
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
gdbmcp
GDB MCP server.
Overview
gdbmcp exposes GDB operations over the MCP (Model Context Protocol) using FastMCP. It manages GDB sessions over a socket connection (via gdbrpc) and provides MCP tools to connect, list, terminate sessions, and run GDB commands.
Features
- Start and manage multiple GDB sessions
- Execute arbitrary GDB commands through MCP
- Run as MCP stdio server or HTTP server
Requirements
- Python >= 3.10
gdbrpcmcp- HTTP mode only:
uvicorn(required to run the HTTP server)
Installation
From PyPI:
pip install gdbmcp-server
From repo root:
pip install .
For development:
pip install -e .
Usage
Run MCP server (stdio)
python -m gdbmcp-server gdbmcp --stdio
Run MCP server (HTTP)
python -m gdbmcp-server
MCP Tools
gdb_connect(host: Optional[str] = None, port: Optional[int] = None) -> str
Establish a GDB session and returns a session ID.
gdb_terminate(session_id: str) -> str
Terminate an existing session and clean up resources.
gdb_list_sessions() -> str
List all active sessions and their host/port.
gdb_command(session_id: str, command: str) -> str
Execute a GDB command in the session and return output.
Configuration
CLI flags:
--stdio: Run in stdio transport mode--port: HTTP server port (default:20819)
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.