bethington / ghidra-mcp
git clone https://github.com/bethington/ghidra-mcp.git
v6.0.0 Β· 2mo ago
π₯ on GitHub Trending today
Ghidra MCP Server β 200+ MCP tools for AI-powered reverse engineering. GUI plugin + headless server, lazy tool loading, convention enforcement, batch operations, Ghidra Server integration, and Docker deployment.
β
stars, 24h
β
stars, 7 days
+1.9k
stars, 30 days Β· #162
5.8k
β
total
349
forks Β· 33 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageJava
LicenseApache-2.0
Created2025-08-30 (1y ago)
Last push4d ago
Watchers23
OwnerUser
Seen on GitHub Trending
- 2026-10-20 β #11 monthly in java Β· +1,919 β
GitHub topics
aibinary-analysisghidraghidra-extensionjavamcpmcp-servermodel-context-protocolpythonreverse-engineeringstatic-analysis
Links
- GitHub: github.com/bethington/ghidra-mcp
- Releases Β· Issues Β· Hacker News mentions
README excerpt
# Ghidra MCP Server > If you find this useful, please β star the repo β it helps others discover it! > > If Ghidra MCP saves you time, consider sponsoring the project. One-time and recurring support both help fund compatibility updates, production hardening, docs, and new tooling. A production-ready Model Context Protocol (MCP) server that bridges Ghidra's powerful reverse engineering capabilities with modern AI tools and automation frameworks. **209 MCP tools**, battle-tested AI workflows, and the most comprehensive Ghidra-MCP integration available β now including P-code emulation, live debugger integration, and PCode-graph data flow analysis. ## Quickstart: install a release (no clone, no build) Every release ships the two pieces you need: the Ghidra extension (`GhidraMCP- .zip`) and the MCP bridge (`ghidra_mcp_bridge- -py3-none-any.whl`). 1. **Install the prerequisites:** Ghidra 12.1.4, Java 21 and uv. The extension only loads in the exact Ghidra version it was built for. 2. **Install the extension:** in Ghidra's project window, **File > Install Extensions**, click **+**, pick the `GhidraMCP- .zip` you downloaded, and restart Ghidra. 3. **Enable the plugin:** in the project window, **File > Configure > Utility > Configure**, tick **GhidraMCPPlugin**. Check it answers: [code] 4. **Install the bridge** (copy the wheel's link from the same release page): [code] 5. **Point your MCP client at it**, using the absolute path (`which bridge-mcp-ghidra`, or `where.exe bridge-mcp-ghidra` on Windows): [code] On Windows: `"command": "C:\\Users\\ \\.local\\bin\\bridge-mcp-ghidra.exe"`. A client launched from a GUI or a service does not see your shell's PATH, so a bare `bridge-mcp-ghidra` fails with `spawn ENOENT`. Open a program in Ghidra and ask your AI tool to list its functions. Screenshots of steps 2-3: docs/INSTALL_GUI.md. Building from source, Docker, the HTTP transports and every bridge flag are further down. **Which version should I run?** Tagged releases (7.0.0, 7.1.0, ...) are stable. Release candidates and `main` are beta: feature-complete and live-tested, but shapes can still change before final. `dev` is experimental: tools are merged, renamed and refactored there freely, so build nothing on its API. ## Why Ghidra MCP? Most Ghidra MCP implementations give you a handful of read-only tools and call it a day. This project is different β it was built by a reverse engineer who uses it daily on real binaries, not as a demo. - **209 MCP tools** β 3x more than any competing implementation. Not just read operations β full write access for renaming, typing, commenting, structure creation, script execution, P-code emulation, and live debugging. - **Battle-tested AI workflows** β Proven documentation workflows (V5) refined across hundreds of functions. Includes step-by-step prompts, Hungarian notation reference, batch processing guides, and orphaned code discovery. - **Production-grade reliability** β Atomic transactions, batch operations (9