MCP.so
ログイン

MCP Server GDB

@pansila

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

pansila

MCP Server GDB について

MCP Server to expose the GDB debugging capabilities

MCP Server GDB の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MCP Server GDB のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Server GDB?

MCP Server GDB is a server that implements the Model Context Protocol to expose GDB/MI debugging capabilities to AI assistants. It allows remote debugging of applications by creating and managing GDB debug sessions, setting breakpoints, inspecting stack frames and variables, and controlling program execution, with support for concurrent multi-session debugging and a built-in TUI for inspecting agent behaviors.

How to use MCP Server GDB?

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.

Key features of MCP Server GDB

  • 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

Use cases of MCP Server GDB

  • AI‑assisted remote debugging of applications
  • Debugging multiple programs simultaneously with concurrent sessions
  • Inspecting debugger state via MCP tools from an AI assistant
  • Integrating GDB debugging capabilities into MCP‑aware environments

よくある質問

1

What transport modes are supported?

Stdio (default) and SSE (Server‑Sent Events) at `http://127.0.0.1:8080`.

2

How do I configure the server?

Modify `src/config.rs` or set environment variables for server IP address, server port, and GDB command timeout (in seconds).

3

What are the system dependencies?

The server communicates using the GDB/MI protocol, so GDB must be installed on the system.

4

How do I install from source?

Clone the repository and run `cargo build --release`, then `cargo run`. Alternatively, use `nix run .` after cloning or `nix run "git+https://github.com/pansila/mcp_server_gdb.git" -- --help` remotely.

5

Is multi-session debugging supported?

Yes, concurrent multi-session debugging is supported, allowing multiple independent debug sessions to run simultaneously.

コメント

「その他」の他のコンテンツ