1G

13bm/ghidramcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

151 stars 22 forks 品質 74 トレンド 8Apache-2.0

13bm/ghidramcpは、https://github.com/13bm/ghidramcp.からインポートされたMCPサーバー候補です。

概要

13bm/ghidramcpは、https://github.com/13bm/ghidramcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

モデルコンテキストプロトコル(MCP)を通じてAIアシスタントに70のリバースエンジニアリングツールを公開するGhhidra拡張機能です。Ghidraでバイナリを開き、プラグインを有効にし、Claude(または他のMCPクライアント)に関数のデコンパイル、シンボルのリネーム、コードの注釈付け、脆弱性の検索などを行わせます。

建築

Ghhidra プラグイン(Java)はGhidra内部でTCPサーバーを起動し、Go bridgeバイナリを自動起動します。ブリッジはstdio経由でAIクライアントにMCPを通信し、4バイト長の接頭辞付きJSON-RPCフレーミングを持つローカルTCPソケット経由でJavaプラグインへの呼び出しを転送します。オプションのAPIキー認証によりTCPチャネルは保護されます。

特徴

  • クエリ、ミューテーション、解析、マルウェアトリアージ、IoT/組み込みセキュリティ、構造管理、非同期逆コンパイル、マルチインスタンスサポートを含む70のMCPツール**
  • 簡単なセットアップ – プラグインがブリッジを自動起動します;MCPクライアントの設定>> Claude Configに書き込み**を使います。
  • クロスプラットフォーム – Linux x86_64、Windows x86_64、macOS x86_64、macOS ARM64向けのあらかじめ構築されたブリッジバイナリ
  • Configurable – ポート、localhost専用バインディング、APIキー認証、自動起動、[[T0]によるブリッジの有効化/無効化]

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

GhidraMCP

A Ghidra extension that exposes 70 reverse-engineering tools to AI assistants through the Model Context Protocol (MCP). Open a binary in Ghidra, enable the plugin, and let Claude (or any MCP client) decompile functions, rename symbols, annotate code, search for vulnerabilities, and more.

Architecture

 AI Client (Claude Desktop / CLI)
        |  stdio + MCP JSON-RPC
        v
   Go MCP Bridge  (mcp_bridge)
        |  TCP, length-prefixed JSON-RPC
        v
   Ghidra Plugin  (MCPServerPlugin)
        |
        v
   Ghidra Program API

The Ghidra plugin (Java) starts a TCP server inside Ghidra and auto-launches the Go bridge binary. The bridge speaks MCP over stdio to the AI client and forwards calls to the Java plugin over a local TCP socket with 4-byte length-prefixed JSON-RPC framing. Optional API-key authentication protects the TCP channel.

Features

  • 70 MCP tools spanning query, mutation, analysis, malware triage, IoT/embedded security, structure management, async decompilation, and multi-instance support
  • Easy setup – plugin auto-starts the bridge; use MCP > Settings > Write to Claude Config to configure your MCP client
  • Cross-platform – prebuilt bridge binaries for Linux x86_64, Windows x86_64, macOS x86_64 and macOS ARM64
  • Configurable – port, localhost-only binding, API-key auth, auto-start, bridge enable/disable via GhidraMCP.properties
  • Multi-instance – work with multiple Ghidra windows simultaneously using target_port to route tool calls
  • Async decompilation – decompile large functions without blocking; poll for results later
  • Connection retry – the bridge reconnects automatically if Ghidra restarts or the connection drops
  • Pagination – large result sets (functions, strings, imports, …) support offset/limit for safe incremental retrieval
  • CI/CD – automated builds, Go + Java tests, Ghidra integration tests, and auto-release when a new Ghidra version drops

Quick Start

Prerequisites

Install

  1. Download the latest release ZIP from Releases
  2. In Ghidra: File > Install Extensions > “+” > select the ZIP
  3. Restart Ghidra

Enable

  1. Open a project and a program (binary)
  2. File > Configure > GhidraMCP – check MCPServerPlugin
  3. The plugin auto-starts the TCP server (default localhost:8765) and launches the bridge
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "ghidra": { "command": "/path/to/mcp_bridge", "args": ["--host", "localhost", "--port", "8765"] } } }