13bm/GhidraMCP
Free集成 Ghidra 进行二进制分析,支持函数检查、反编译、内存探索、导入/导出分析等。
About 13bm/GhidraMCP
GhidraMCP is a Ghidra extension that integrates with AI assistants via the Model Context Protocol (MCP). It provides 70 reverse-engineering tools—such as function inspection, decompilation, memory exploration, import/export analysis, symbol renaming, and vulnerability searching—directly accessible through AI clients like Claude Desktop or Claude Code. The architecture consists of a Java plugin that runs a TCP server inside Ghidra, plus a Go bridge binary that translates MCP requests from the AI client into JSON-RPC calls over that socket. Key capabilities include multi-instance support (working with multiple Ghidra windows), async decompilation for large functions, automatic connection retry, paginated result retrieval, and optional API-key authentication. Setup is straightforward: install the extension, enable the plugin, and configure your MCP client using the provided config snippet. The project is cross-platform, with prebuilt bridges for Linux, Windows, and macOS (x86_64 and ARM64), and includes CI/CD pipelines for automated testing and releases.
Key Features
Pros & Cons
- Exposes over 70 reverse-engineering tools to AI assistants, dramatically expanding automation possibilities
- Seamless integration with popular MCP clients like Claude Desktop and Claude Code
- Multi-instance support allows working with multiple binaries simultaneously
- Async decompilation prevents blocking on large functions
- Cross-platform support for Linux, Windows, and macOS (x86_64 and ARM64)
- Easy installation and configuration with auto-start of the bridge
- Pagination for safe incremental retrieval of large datasets
- Requires Ghidra 12.0.3+ and Java 21+, limiting use on older systems
- Requires an MCP-compatible AI client (e.g., Claude Desktop) to function
- Setup may be complex for users unfamiliar with Ghidra extensions and MCP configuration
- Only works with binary formats supported by Ghidra