pygdbmi-mcp-server
by cnitlrt
Overview
Provides an MCP server to enable AI agents or other clients to perform dynamic debugging using GDB/pwndbg.
Installation
uv run pygdbmi-mcp-serverEnvironment Variables
- PORT
- HOST
- TRANSPORT
Security Notes
The `execute` tool allows arbitrary GDB/pwndbg commands to be executed. GDB includes a `shell` command that can execute arbitrary system commands on the host machine. This poses a critical security risk, as a malicious client or compromised LLM could leverage this to gain remote code execution with the privileges of the server process. If the server is exposed to untrusted networks or users, or runs with elevated privileges, this vulnerability is severe. There are no obvious hardcoded secrets or obfuscation, and environment variables are used for network configuration.
Similar Servers
ida-pro-mcp
This project provides an MCP (Model Context Protocol) server that integrates with IDA Pro, enabling AI assistants to perform reverse engineering tasks like binary analysis, decompilation, memory manipulation, and debugging within the IDA Pro environment.
mcp-windbg
This server integrates AI models with WinDbg/CDB to analyze Windows crash dumps, connect to remote debugging sessions, and process multiple dumps through natural language queries.
mcp-shark
Aggregate multiple Model Context Protocol (MCP) servers into a single unified interface with a powerful monitoring UI.
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.