Back to Home
yywz1999 icon

gdb-mcp-server

by yywz1999

Overview

Provides an AI-assisted debugging server for GDB using the Model Context Protocol, enabling AI agents to interact with and control GDB sessions.

Installation

Run Command
python3 mcp_server.py

Security Notes

The server directly injects user-provided commands into underlying system utilities (AppleScript, tmux, pexpect, xdotool, pyautogui) without strong sanitization. This creates significant command injection vulnerabilities. A malicious AI agent or user controlling the `command` parameter could execute arbitrary shell commands or send arbitrary keystrokes to the host system, potentially impacting any active window. The server's reliance on 'send-keys' or 'write text' via terminal automation tools is inherently risky as it can simulate user input to any active application.

Similar Servers

Stats

Interest Score48
Security Score2
Cost ClassMedium
Avg Tokens750
Stars62
Forks2
Last Update2025-11-27

Tags

GDBDebuggingAI-AssistedMCPPythonTerminal Automation