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

          • A
            security
            A
            license
            A
            quality
            An MCP server that provides a comprehensive interface to Semgrep, enabling users to scan code for security vulnerabilities, create custom rules, and analyze scan results through the Model Context Protocol.
            Last updated -
            6
            192
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol (MCP) server for Cursor IDE that simplifies the installation and configuration of other MCP servers.
            Last updated -
            882
            23
            JavaScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            An implementation of the Model Context Protocol (MCP) that enables interaction with debug adapters, allowing language models to control debuggers, set breakpoints, evaluate expressions, and navigate source code during debugging sessions.
            Last updated -
            2
            Python
            AGPL 3.0
          • -
            security
            A
            license
            -
            quality
            A MCP server for LLDB that allows automatic analyzing, debugging and disassembling of native apps.
            Last updated -
            1
            Python
            BSD 2-Clause "Simplified" License

          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