Skip to main content
Glama

MCP GDB Server

by signal-slot

MCP GDB サーバー

Claude やその他の AI アシスタントで使用するための GDB デバッグ機能を提供するモデル コンテキスト プロトコル (MCP) サーバー。

特徴

  • GDBデバッグセッションを開始および管理する
  • 分析のためにプログラムとコアダンプをロードする
  • ブレークポイントを設定し、コードをステップ実行し、メモリを調べる
  • コールスタック、変数、レジスタを表示する
  • 任意のGDBコマンドを実行する

インストール

# Clone the repository git clone https://github.com/signal-slot/mcp-gdb.git cd mcp-gdb # Install dependencies npm install # Build the project npm run build

使用法

Claude や他の MCP 対応アシスタントと併用する

  1. このサーバーを含めるように、Claude デスクトップ アプリまたはブラウザ拡張機能で MCP 設定を構成します。
{ "mcpServers": { "gdb": { "command": "node", "args": ["/path/to/mcp-gdb/build/index.js"], "disabled": false } } }
  1. Claude を再起動するか、ページを更新してください。
  2. これで、Claude との会話で GDB ツールを使用できるようになります。

コマンド例

Claude を介して GDB MCP サーバーを使用する例をいくつか示します。

GDBセッションの開始
Use gdb_start to start a new debugging session
プログラムの読み込み
Use gdb_load to load /path/to/my/program with the sessionId that was returned from gdb_start
ブレークポイントの設定
Use gdb_set_breakpoint to set a breakpoint at main in the active GDB session
プログラムの実行
Use gdb_continue to start execution
変数の検討
Use gdb_print to evaluate the expression "my_variable" in the current context
バックトレースを取得する
Use gdb_backtrace to see the current call stack
セッションを終了する
Use gdb_terminate to end the debugging session

サポートされているGDBコマンド

  • gdb_start : 新しいGDBセッションを開始する
  • gdb_load : プログラムをGDBにロードする
  • gdb_command : 任意のGDBコマンドを実行する
  • gdb_terminate : GDBセッションを終了する
  • gdb_list_sessions : アクティブなGDBセッションをすべて一覧表示する
  • gdb_attach : 実行中のプロセスにアタッチする
  • gdb_load_core : コアダンプファイルをロードする
  • gdb_set_breakpoint : ブレークポイントを設定する
  • gdb_continue : プログラムの実行を継続する
  • gdb_step : ステッププログラム実行
  • gdb_next : 関数呼び出しをステップオーバーする
  • gdb_finish : 現在の関数が戻るまで実行する
  • gdb_backtrace : コールスタックを表示する
  • gdb_print : 式の値を印刷する
  • gdb_examine : メモリを調べる
  • gdb_info_registers : レジスタを表示する

ライセンス

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

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude やその他の AI アシスタントで使用するための GDB デバッグ機能を提供します。これにより、ユーザーはデバッグ セッションを管理し、ブレークポイントを設定し、変数を調べ、自然言語で GDB コマンドを実行できます。

  1. 特徴
    1. インストール
      1. 使用法
        1. Claude や他の MCP 対応アシスタントと併用する
        2. コマンド例
      2. サポートされているGDBコマンド
        1. ライセンス

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            Provides AI-powered assistance for coding problems using Google's Gemini AI, combined with Perplexity insights and Stack Overflow references, facilitating contextual analysis and automatic response archiving for improved troubleshooting.
            Last updated -
            10
            TypeScript
          • -
            security
            F
            license
            -
            quality
            Enables AI assistants to interact with Metabase databases and dashboards, allowing users to list and execute queries, access data visualizations, and interact with database resources through natural language.
            Last updated -
            25
            JavaScript
            • Apple
          • -
            security
            F
            license
            -
            quality
            Enables AI assistants to interact with Metabase, providing access to dashboards, questions, databases, and tools for executing queries and viewing data through natural language.
            Last updated -
            JavaScript
            • Apple
          • -
            security
            F
            license
            -
            quality
            Allows developers to query security findings (SAST issues, secrets, patches) using natural language within AI-assisted tools like Claude Desktop, Cursor, and other MCP-compatible environments.
            Last updated -
            1
            Python
            • Linux
            • Apple

          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/signal-slot/mcp-gdb'

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