Back to Home
Ipiano icon

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

Run Command
gdb-mcp-server

Environment 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

Stats

Interest Score34
Security Score3
Cost ClassMedium
Avg Tokens750
Stars3
Forks0
Last Update2025-12-10

Tags

GDBDebuggerAI AgentModel Context ProtocolPython