CP

clearbluejar/pyghidra-mcp

Developer tools

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

456 stars 70 forks 品質 86 トレンド 34Apache-2.0

clearbluejar/pyghidra-mcpは、https://github.com/clearbluejar/pyghidra-mcp.からインポートされたMCPサーバー候補です。

概要

clearbluejar/pyghidra-mcpは、https://github.com/clearbluejar/pyghidra-mcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

概要

**pyghidra-mcp**は、堅牢なソフトウェアリバースエンジニアリング(SRE)スイートであるGhidraの分析力を最大限に活かし、インテリジェントエージェントやLLMベースのツールの世界に導入したコマンドラインモデルコンテキストプロトコル(MCP)サーバーです。 GhidraのProgramAPIとFlatProgramAPIをpyghidraとjpypeを使ってPythonにブリッジし、その機能をModel Context Protocolを通じて公開します。

MCPは、言語モデル、開発ツール(VS Codeのような)、自律的なエージェントが構造化されたコンテキストにアクセスし、ツールを呼び出し、賢く協力できる統一インターフェースです。MCPは強力な分析ツールとLLMエコシステムの架け橋と考えてください。

pyghidra-mcpにより、Ghidraはインテリジェントなバックエンドとなり、コンテキスト豊富なクエリに応答し、深いリバースエンジニアリングの自動化を行い、AI支援のワークフローに統合できます。

[pyghidra-mcpは現在、2つの動作モードをサポートしています:

  • CLI駆動の分析および自動化のためのheadlessモード
  • --guiモード:Ghhidraをpyghidra-mcp経由で起動し、実行中のGUIとライブプログラム状態を共有するモード

[!注] このベータプロジェクトは現在活発に開発中です。

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

README

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

PyGhidra-MCP - Ghidra Model Context Protocol Server

Overview

pyghidra-mcp is a command-line Model Context Protocol (MCP) server that brings the full analytical power of Ghidra, a robust software reverse engineering (SRE) suite, into the world of intelligent agents and LLM-based tooling. It bridges Ghidra’s ProgramAPI and FlatProgramAPI to Python using pyghidra and jpype, then exposes that functionality via the Model Context Protocol.

MCP is a unified interface that allows language models, development tools (like VS Code), and autonomous agents to access structured context, invoke tooling, and collaborate intelligently. Think of MCP as the bridge between powerful analysis tools and the LLM ecosystem.

With pyghidra-mcp, Ghidra becomes an intelligent backend—ready to respond to context-rich queries, automate deep reverse engineering tasks, and integrate into AI-assisted workflows.

pyghidra-mcp now supports two operating modes:

  • headless mode for CLI-driven analysis and automation
  • --gui mode, which launches Ghidra through pyghidra-mcp and shares live program state with the running GUI

[!NOTE] This beta project is under active development. We would love your feedback, bug reports, feature requests, and code.

Yet another Ghidra MCP?

Yes, the original ghidra-mcp is fantastic. But pyghidra-mcp takes a different approach:

  • 🐍 Headless-first, GUI-capable – Run entirely via CLI for streamlined automation, or launch Ghidra with --gui when you want live GUI navigation and edits.
  • 🔁 Designed for automation – Ideal for integrating with LLMs, CI pipelines, and tooling that needs repeatable behavior.
  • ✅ CI/CD friendly – Built with robust unit and integration tests for both client and server sessions.
  • 🚀 Quick startup – Asynchronous startup allows the server to start handling requests while binaries are still being analyzed in the background. Supports fast command-line launching with minimal setup.
  • 📦 Project-wide analysis – Enables concurrent reverse engineering of all binaries in a Ghidra project
GitHub で README 全文を見る

インストール

uvx pyghidra-mcp \
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "pyghidra-mcp": { "type": "http", "url": "http://127.0.0.1:8000/mcp" } } }