1. Conduid
  2. Developer Tools
  3. GDB
MCP server · Developer Tools

GDB

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

Unclaimed MIT last commit a year ago devtools
39Low

Scored 17 days ago · breakdown

About GDB

GDB is an MCP server published by pansila in the Developer Tools category: a GDB/MI protocol server based on the MCP protocol, providing remote application debugging capabilities with AI assistants.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/pansila/mcp_server_gdb

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about GDB

Powered by Claude · Grounded in docs

I know everything about GDB. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

Releases

v0.2.3v0.2.3 · 2 Apr 2025more tools and bug fixes
v0.2.2v0.2.2 · 30 Mar 2025support to inspect registers and fix close session failure
v0.2.1Release v0.2.1 · 30 Mar 2025
v0.2.0v0.2.0 · 29 Mar 2025Have a fun, more is coming.

README

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, choose one per your working platform, then you can run it directly.

Build From Source

Clone the repository and build it by cargo

cargo build --release
cargo run

Using Nix

If you have Nix installed, you can run the project without cloning:

Run locally (after cloning)

nix run .

Run remotely from GitHub

nix run "git+https://github.com/pansila/mcp_server_gdb.git" -- --help

Development environment

To enter a development shell with all dependencies:

nix develop

Usage

  1. Just run it directly: ./mcp-server-gdb
  2. The server supports two transport modes:
    • Stdio (default): Standard input/output transport
    • SSE: Server-Sent Events transport, default at http://127.0.0.1:8080

Configuration

You can adjust server configuration by modifying the src/config.rs file or by environment variables:

  • Server IP Address
  • Server port
  • GDB command timeout time (in seconds)

Supported MCP Tools

Session Management

  • create_session - Create a new GDB debugging session
  • get_session - Get specific session information
  • get_all_sessions - Get all sessions
  • close_session - Close session

Debug Control

  • start_debugging - Start debugging
  • stop_debugging - Stop debugging
  • continue_execution - Continue execution
  • step_execution - Step into next line
  • next_execution - Step over next line

Breakpoint Management

  • get_breakpoints - Get breakpoint list
  • set_breakpoint - Set breakpoint
  • delete_breakpoint - Delete breakpoint

Debug Information

  • get_stack_frames - Get stack frame information
  • get_local_variables - Get local variables
  • get_registers - Get registers
  • read_memory - Read memory contents

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About GDB

How do I install GDB?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is GDB safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is GDB still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.