MCP Server GDB
MCP サーバー GDB
MCP プロトコルに基づく GDB/MI プロトコル サーバー。AI アシスタントによるリモート アプリケーション デバッグ機能を提供します。
特徴
GDBデバッグセッションの作成と管理
ブレークポイントの設定と管理
スタック情報と変数を表示する
プログラム実行を制御する(実行、一時停止、ステップ実行など)
同時マルチセッションデバッグをサポート
エージェントの行動を検査してプロンプトを改善するための組み込みTUI(WIP)
Related MCP server: gdb_mcp
インストール
ビルド済みバイナリ
リリース ページでバイナリを見つけ、作業プラットフォームごとに 1 つ選択すると、直接実行できます。
ソースからビルド
リポジトリをクローンしてcargoでビルドする
cargo build --release
cargo run使用法
直接実行してください:
./mcp-server-gdbサーバーは 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- メモリの内容を読み取る
ライセンス
マサチューセッツ工科大学
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server to assist with JxBrowser development.
MCP server for Klever blockchain smart contract development.
Repository knowledge graph MCP server for codebase understanding and debugging.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn 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.333MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to control GDB debugging sessions, including breakpoint management, thread analysis, and variable inspection, using the GDB/MI protocol.221MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for remote debugging with gdbserver, offering full debugging capabilities including breakpoint control, stepping, memory inspection, and process management.MIT
- AlicenseBqualityCmaintenanceMCP server that wraps gdb to enable LLMs to drive live debugging sessions, including starting sessions on binaries, attaching to processes, and running commands.71,214 PyPI3MIT