GDB

by pansila

68 stars
382 downloads
Not rated
GitHub

About

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

Details

Author
pansila
GitHub stars
68
Downloads
382
Categories
Developer Tools, Community, Other, AI

- 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
- Built-in TUI to inspect agent behaviors

Install by downloading a pre-built binary from the release page, building from source with cargo build --release then cargo run, or using Nix (run locally with nix run ., remotely with nix run "git+https://github.com/pansila/mcp_server_gdb.git" -- --help). Run directly with ./mcp-server-gdb. Two transport modes are available: Stdio (default) and SSE at http://127.0.0.1:8080. Configuration can be adjusted by modifying src/config.rs or via environment variables for server IP address, port, and GDB command timeout.

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

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

Find the binaries in the release page, choose one per your working platform, then you can run it directly.

Clone the repository and build it by cargo

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

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

To enter a development shell with all dependencies:
- Just run it directly:./mcp-server-gdb
- The server supports two transport modes:

- Stdio (default): Standard input/output transport
- SSE: Server-Sent Events transport, default athttp://127.0.0.1:8080

You can adjust server configuration by modifying thesrc/config.rsfile or by environment variables:

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

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

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

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

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

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

A Model Context Protocol (MCP) server that enables AI assistants to integrate with Prometheus Alertmanager

A comprehensive MCP server for tooling interactions(40+) and resource accessibility(60+) plus many useful prompts to interact with Algorand Blockchain.

An MCP server that provides control over Android devices through ADB. Offers device screenshot capture, UI layout analysis, package management, and ADB command execution capabilities.

A Binary Ninja plugin, MCP server, and bridge that seamlessly integrates Binary Ninja with your favorite MCP client.

integration that connects BloodHound with AI through MCP, allowing security professionals to analyze Active Directory attack paths using natural language queries instead of Cypher.

A specialized MCP gateway for LLM enhancement prompts and jailbreaks with dynamic schema adaptation. Provides prompts for different LLMs using an enum-based approach.

Obtains latest dependency details for Clojure libraries.

A Model Context Protocol (MCP) server for CODESYS V3 programming environments.

Analyze large codebases and document collections using high-context models via OpenRouter, OpenAI, or Google AI -- very useful, e.g., with Claude Code

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.