Skip to main content
Glama

MCP Server GDB

MCP サーバー GDB

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

特徴

  • GDBデバッグセッションの作成と管理
  • ブレークポイントの設定と管理
  • スタック情報と変数を表示する
  • プログラム実行を制御する(実行、一時停止、ステップ実行など)
  • 同時マルチセッションデバッグをサポート
  • エージェントの行動を検査してプロンプトを改善するための組み込みTUI(WIP)

インストール

ビルド済みバイナリ

リリース ページでバイナリを見つけ、作業プラットフォームごとに 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 - メモリの内容を読み取る

ライセンス

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

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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

  1. 特徴
    1. インストール
      1. ビルド済みバイナリ
      2. ソースからビルド
    2. 使用法
      1. 構成
        1. サポートされているMCPツール
          1. セッション管理
          2. デバッグ制御
          3. ブレークポイント管理
          4. デバッグ情報
        2. ライセンス

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol (MCP) server that wraps the dbt CLI tool, enabling AI coding agents to interact with dbt projects through standardized MCP tools. Developed by Mammoth Growth.
            Last updated -
            15
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A MCP server for LLDB that allows automatic analyzing, debugging and disassembling of native apps.
            Last updated -
            51
            Python
            BSD 2-Clause "Simplified" License
          • -
            security
            A
            license
            -
            quality
            An MCP server that exposes GABI functionality, allowing users to run queries against a target endpoint with proper authentication.
            Last updated -
            Python
            GPL 3.0

          View all related MCP servers

          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