6.4K ·GitHub
What is this?
This is an MCP (Model Context Protocol) server that bridges Ghidra's reverse engineering engine with AI tools like Claude and Cursor, giving AI agents 245 tools to analyze, rename, document, and even emulate functions in binaries.
Is this a Ghidra plugin, a standalone server, or both?
Both: a Java extension (GUI plugin) installs into Ghidra, paired with a Python bridge that exposes Ghidra's analysis engine over MCP, so it can also run headless without the Ghidra GUI.
How do I get it running?
Clone the repo, run `python -m tools.setup ensure-prereqs` to install dependencies, then `python -m tools.setup deploy` to build the extension, install it into Ghidra, and start the MCP server; point your MCP client at the bridge using the absolute path to uv.
What do I need installed before this works?
Java 21 LTS, Apache Maven 3.9+, Ghidra 12.1.3 (or a compatible version), and Python 3.10+ with uv (or pip + venv).
Any install pitfalls I should watch for?
Yes — MCP clients launched from Finder, Dock, or other GUI launchers don't inherit your shell's PATH, so uv must be referenced by its absolute path or the connection fails silently at process-spawn time with no log output at all.
Does it work on Linux and Windows, or just macOS?
It supports Windows, macOS (with a Homebrew install path), and Linux (Ubuntu/Debian plus Arch AUR packages); the live debugger backend uses dbgeng on Windows and gdb/lldb elsewhere.
What is convention enforcement and why does it matter?
It's a tiered system (auto-fix, warn, reject) that enforces naming and type conventions in the tool layer itself, so AI agents and engineers produce consistently named functions and types instead of drifting into different naming styles across sessions.
What can the dynamic analysis features do?
P-code emulation runs any function in isolation via Ghidra's EmulatorHelper to brute-force things like API hash resolution in milliseconds, and the live debugger integration lets the AI attach, step, set breakpoints, and read memory/registers during actual execution.
How is this different from other Ghidra MCP servers?
The author built it from daily use on real binaries rather than as a demo: it exposes 245 tools (roughly 3x more than competing implementations), supports full write access including renaming, typing, and script execution, and propagates documentation across binary versions via SHA-256 function hash matching.
Does it support team or shared Ghidra setups?
Yes, it integrates with Ghidra Server for shared repositories, version control, and checkout/checkin workflows for multi-user collaboration, though client-side Ghidra 12.1.3 requires a Server at 12.1, 12.0.5, or newer.
What are similar projects?
rea, Seep-Reverse-Lab, awesome-reverse-engineering, bla, rea, GhidraMCP, ida-pro-mcp, ghidra
Which topics is it in?
ghidra, binary-analysis, debugging, static-analysis, cybersecurity, model-context-protocol, reverse-engineering, security-tools, java, plugin, agents, mcp-server