Skip to main content
Glama

MCP サーバー GDB

MCP プロトコルに基づく GDB/MI プロトコル サーバー。AI アシスタントによるリモート アプリケーション デバッグ機能を提供します。

特徴

  • GDBデバッグセッションの作成と管理

  • ブレークポイントの設定と管理

  • スタック情報と変数を表示する

  • プログラム実行を制御する(実行、一時停止、ステップ実行など)

  • 同時マルチセッションデバッグをサポート

  • エージェントの行動を検査してプロンプトを改善するための組み込みTUI(WIP)

Related MCP server: gdb-multiarch-mcp

インストール

ビルド済みバイナリ

リリース ページでバイナリを見つけ、作業プラットフォームごとに 1 つ選択すると、直接実行できます。

ソースからビルド

リポジトリをクローンしてcargoでビルドする

cargo build --release
cargo run

使用法

  1. 直接実行してください: ./mcp-server-gdb

  2. サーバーは 2 つのトランスポート モードをサポートしています。

    • Stdio (デフォルト): 標準入出力トランスポート

    • SSE: Server-Sent Events トランスポート、デフォルトはhttp://127.0.0.1:8080

構成

src/config.rsファイルを変更するか、環境変数を使用してサーバーの構成を調整できます。

  • サーバーIPアドレス

  • サーバーポート

  • GDBコマンドのタイムアウト時間(秒)

サポートされているMCPツール

セッション管理

  • create_session - 新しいGDBデバッグセッションを作成する

  • get_session - 特定のセッション情報を取得する

  • get_all_sessions - すべてのセッションを取得する

  • close_session - セッションを閉じる

デバッグ制御

  • start_debugging - デバッグを開始する

  • stop_debugging - デバッグを停止する

  • continue_execution - 実行を継続する

  • step_execution - 次の行にステップインする

  • next_execution - 次の行をステップオーバーする

ブレークポイント管理

  • get_breakpoints - ブレークポイントリストを取得する

  • set_breakpoint - ブレークポイントを設定する

  • delete_breakpoint - ブレークポイントを削除する

デバッグ情報

  • get_stack_frames - スタックフレーム情報を取得する

  • get_local_variables - ローカル変数を取得する

  • get_registers - レジスタを取得する

  • read_memory - メモリの内容を読み取る

ライセンス

マサチューセッツ工科大学

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    An MCP server that provides programmatic access to the GNU Debugger (GDB), enabling AI models to interact with GDB through natural language for debugging tasks.
    9
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    An MCP server providing direct access to gdb-multiarch for debugging Nintendo Switch executables on Yuzu or hardware via a GDB stub. It features specialized tools for offset-based breakpoints, instruction patching, and frame-pointer backtraces relative to the game's base address.
    33
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables AI assistants to control GDB debugging sessions, including breakpoint management, thread analysis, and variable inspection, using the GDB/MI protocol.
    22
    1
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    MCP server for remote debugging with gdbserver, offering full debugging capabilities including breakpoint control, stepping, memory inspection, and process management.
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Klever blockchain smart contract development.

  • A MCP server built for developers enabling Git based project management with project and personal…

  • MCP server for understanding Javascript internals from ECMAScript specification.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pansila/mcp_server_gdb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server