Skip to main content
Glama

ライセンス GitHub リリース(最新日付) GitHubスター GitHubフォーク GitHub貢献者 @lauriewiredをフォロー

ghidra_MCP_ロゴ

ギドラMCP

ghidraMCPは、LLMが自律的にアプリケーションをリバースエンジニアリングできるようにするモデルコンテキストプロトコルサーバーです。Ghidraのコア機能からMCPクライアントに多数のツールを公開します。

https://github.com/user-attachments/assets/36080514-f227-44bd-af84-78e29ee1d7f9

特徴

MCP サーバー + Ghidra プラグイン

  • Ghidraでバイナリを逆コンパイルして分析する

  • メソッドとデータの名前を自動的に変更する

  • メソッド、クラス、インポート、エクスポートを一覧表示する

インストール

前提条件

  • Ghidraをインストールする

  • Python3

  • MCP SDK

Related MCP server: GhidraMCP

ギドラ

まず、このリポジトリから最新リリースをダウンロードしてください。これにはGhidraプラグインとPython MCPクライアントが含まれています。その後、プラグインをGhidraに直接インポートできます。

  1. ギドラを走らせろ

  2. File -> Install Extensions選択

  3. +ボタンをクリック

  4. ダウンロードしたリリースからGhidraMCP-1-2.zip (または選択したバージョン)を選択します。

  5. ギドラを再起動

  6. File -> Configure -> Developerで GhidraMCPPlugin が有効になっていることを確認します。

  7. オプション: Ghidraのポートを、 Edit -> Tool Options -> GhidraMCP HTTP Serverで設定します。

ビデオインストールガイド:

https://github.com/user-attachments/assets/75f0c176-6da1-48dc-ad96-c182eb4648c3

MCPクライアント

理論上は、どのMCPクライアントでもghidraMCPで動作するはずです。以下に3つの例を示します。

例1: クロードデスクトップ

Claude Desktop を Ghidra MCP クライアントとして設定するには、 Claude -> Settings -> Developer -> Edit Config -> claude_desktop_config.jsonに移動し、以下を追加します。

{
  "mcpServers": {
    "ghidra": {
      "command": "python",
      "args": [
        "/ABSOLUTE_PATH_TO/bridge_mcp_ghidra.py",
        "--ghidra-server",
        "http://127.0.0.1:8080/"
      ]
    }
  }
}

あるいは、このファイルを直接編集します。

/Users/YOUR_USER/Library/Application Support/Claude/claude_desktop_config.json

サーバーのIPアドレスとポート番号は設定可能で、対象のGhidraインスタンスを指すように設定する必要があります。設定されていない場合は、どちらもデフォルトでlocalhost:8080になります。

例2: クライン

ClineでGhidraMCPを使用するには、MCPサーバーも手動で実行する必要があります。まず、以下のコマンドを実行してください。

python bridge_mcp_ghidra.py --transport sse --mcp-host 127.0.0.1 --mcp-port 8081 --ghidra-server http://127.0.0.1:8080/

必須の引数はトランスポートのみです。その他の引数が指定されていない場合は、上記のデフォルトが使用されます。MCPサーバーが起動したら、Clineを開き、上部のMCP Serversを選択してください。

クラインセレクト

次に、 Remote Serversを選択し、URL が MCP のホストとポートと一致していることを確認しながら以下を追加します。

  1. サーバー名: GhidraMCP

  2. サーバーURL: http://127.0.0.1:8081/sse

例3: 5ire

バックエンドで複数のモデルをサポートする別のMCPクライアントは5ireです。GhidraMCPを設定するには、5ireを開き、 Tools 」→ Newに移動して、以下の設定を行います。

  1. ツールキー: ghidra

  2. 名前: GhidraMCP

  3. コマンド: python /ABSOLUTE_PATH_TO/bridge_mcp_ghidra.py

ソースから構築

  1. Ghidra ディレクトリから次のファイルをこのプロジェクトのlib/ディレクトリにコピーします。

  • Ghidra/Features/Base/lib/Base.jar

  • Ghidra/Features/Decompiler/lib/Decompiler.jar

  • Ghidra/Framework/Docking/lib/Docking.jar

  • Ghidra/Framework/Generic/lib/Generic.jar

  • Ghidra/Framework/Project/lib/Project.jar

  • Ghidra/Framework/SoftwareModeling/lib/SoftwareModeling.jar

  • Ghidra/Framework/Utility/lib/Utility.jar

  • Ghidra/Framework/Gui/lib/Gui.jar

  1. 次のコマンドを実行して Maven でビルドします。

mvn clean package assembly:single

生成されたzipファイルには、ビルドされたGhidraプラグインとそのリソースが含まれています。これらのファイルは、Ghidraが新しい拡張機能を認識するために必要です。

  • lib/GhidraMCP.jar

  • 拡張機能プロパティ

  • モジュール.マニフェスト

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity
Issues opened vs closed

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
    Not graded
    quality
    D
    maintenance
    An MCP server that enables LLMs to autonomously reverse engineer applications through Cutter, allowing them to decompile binaries, analyze code, and rename methods programmatically.
    30
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that allows LLMs to autonomously reverse engineer applications by exposing Ghidra's functionality, including decompiling binaries, analyzing code, and renaming methods and data.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through MCP-compatible clients.
    Apache 2.0
  • A
    license
    Not graded
    quality
    F
    maintenance
    MCP server that allows LLMs to autonomously reverse engineer applications using Ghidra, exposing tools like decompilation, renaming, and listing methods.
    26
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

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/LaurieWired/GhidraMCP'

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