Allows accessing the MCP GDB server repository for installation and setup.
MCP GDB Server
A Model Context Protocol (MCP) server that provides GDB debugging functionality for use with Claude or other AI assistants.
Features
- Start and manage GDB debugging sessions
- Load programs and core dumps for analysis
- Set breakpoints, step through code, and examine memory
- View call stacks, variables, and registers
- Execute arbitrary GDB commands
Installation
Usage
Using with Claude or other MCP-enabled assistants
- Configure the MCP settings in the Claude desktop app or browser extension to include this server:
- Restart Claude or refresh the page.
- Now you can use the GDB tools in your conversations with Claude.
Example Commands
Here are some examples of using the GDB MCP server through Claude:
Starting a GDB session
Loading a program
Setting a breakpoint
Running the program
Examining variables
Getting a backtrace
Terminating the session
Supported GDB Commands
gdb_start
: Start a new GDB sessiongdb_load
: Load a program into GDBgdb_command
: Execute an arbitrary GDB commandgdb_terminate
: Terminate a GDB sessiongdb_list_sessions
: List all active GDB sessionsgdb_attach
: Attach to a running processgdb_load_core
: Load a core dump filegdb_set_breakpoint
: Set a breakpointgdb_continue
: Continue program executiongdb_step
: Step program executiongdb_next
: Step over function callsgdb_finish
: Execute until the current function returnsgdb_backtrace
: Show call stackgdb_print
: Print value of expressiongdb_examine
: Examine memorygdb_info_registers
: Display registers
License
MIT
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Provides GDB debugging functionality for use with Claude or other AI assistants, allowing users to manage debugging sessions, set breakpoints, examine variables, and execute GDB commands through natural language.
Related MCP Servers
- AsecurityAlicenseAqualityEnables intelligent code analysis and debugging through the Perplexity AI's API, offering detailed error analysis, pattern detection, and comprehensive solutions, with integration support for the Claude desktop client.Last updated -144611JavaScriptMIT License
- AsecurityFlicenseAqualityEnables managing Google Cloud Platform resources through natural language commands in Claude Desktop, supporting comprehensive operations across compute, storage, databases, networking, monitoring, and IAM without manual credential setup.Last updated -5621Python
- AsecurityFlicenseAqualityAllows Claude to directly debug a NodeJS server by setting breakpoints, inspecting variables and stepping through code.Last updated -13738270JavaScript
- -securityFlicense-qualityTransforms Claude from a code generator into a programming partner capable of testing, debugging, and optimizing code automatically through a secure execution environment.Last updated -Python