
johnzfitch/pyghidra-lite
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
IOS、Linux、ゲームファイルサポートによるGhidraベースのリバースエンジニアリング用の軽量MCPサーバー
概要
Ghidra ベースのリバースエンジニアリング用のトークン効率の高い MCP サーバー。 ELF、Mach-O、PEバイナリをSwift、Objective-C、Hermesのサポートで分析します。 リーン、セキュリティファーストGhidra MCP。 つまり、分析ツールはバイナリやサーバーの構成をミュートしません(プロセスの寿命のために凍結されます)。 書き込み、アノテート(名前/コメント/プロトタイプ)、つまり(---allow-write)、: コミットする前に MCP の elicitation プロンプトを介して、すべての変更が承認され、クライアントが尋ねられない場合は、閉鎖が失敗します。 あなたは、読み取り専用の安全物語を放棄することなく、監督の下で、その発見を主張することができますアナリストエージェントを取得します。 Homebrew (brew install ghidra) または /opt/ghidra または ~/ghidra にインストールされている Ghidra は自動的に検出されます。 GHIDRA INSTALL DIR は標準でないパスだけに設定します。 .mcp.json をプロジェクト(または ~/.claude.json をグローバルに作成): ~/Library/Application Support/Claude/claude desktop config に追加します.
概要(AI 翻訳)
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
pyghidra-lite
Token-efficient MCP server for Ghidra-based reverse engineering. Analyze ELF, Mach-O, and PE binaries with Swift, Objective-C, and Hermes support — decompile, disassemble, trace calls and value flow, recover data types, and map addresses back to file offsets. Runs on Linux, macOS, and Windows; ships as a Claude Code plugin with a bundled reverse-engineering skill.
Bottom line: a lean, security-first Ghidra MCP. It is read-only by default — analysis tools never mutate your binaries or the server’s configuration (which is frozen for the life of the process). The one tool that writes, annotate (rename / comment / prototype), is opt-in (--allow-write) and human-confirmed: every change is approved by you through an MCP elicitation prompt before it’s committed, and it fails closed if your client can’t ask. You get an analyst-agent that can persist its findings — under supervision — without giving up the read-only safety story.
Quick Start
1. Prerequisites
A 64-bit JDK 21+ and Ghidra 11.x or 12.x are required (tested with Ghidra 12.1.2 and JDK 21).
# macOS
brew install openjdk@21
インストール
uvx pyghidra-lite設定
{
"mcpServers": {
"pyghidra-lite": {
"command": "pyghidra-lite"
}
}
}