GDB MCP Server

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

Local serverstdio

What is the GDB MCP Server?

GDB becomes available to MCP clients through the gdb mcp server. A GDB/MI protocol server based on the MCP protocol, providing remote application debugging capabilities with AI assistants.

What GDB does

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

Key capabilities

  • 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)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Example prompts to try

  • “Use GDB to SSE.”

Frequently asked questions

A GDB/MI protocol server based on the MCP protocol, providing remote application debugging capabilities with AI assistants. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.