mcp_server_gdb

mcp_server_gdb

23

MCP Server GDB is a GDB/MI protocol server that facilitates remote debugging with AI assistants. It provides features like session management, breakpoint management, and debug information viewing. Ideal for multi-session debugging with a built-in TUI for inspecting agent behaviors.

MCP Server GDB

A GDB/MI protocol server based on the MCP protocol, providing remote application debugging capabilities with AI assistants.

Features

  • Create and manage GDB debug sessions
  • Set and manage breakpoints
  • View stack information and variables
  • Control program execution (run, pause, step, etc.)
  • Support concurrent multi-session debugging
  • A built-in TUI to inspect agent behaviors so that you can improve your prompt (WIP)

Installation

  • Pre-built Binaries: Find the binaries in the release page for your platform.
  • Build From Source: Clone the repository and build it with Cargo.

Usage

  • Run directly.
  • Supports Stdio and SSE transport modes.

Configuration

  • Adjust configuration via src/config.rs or environment variables.