cyberkaida/reverse-engineering-assistant
A Ghidra MCP extension for interactive and headless binary analysis
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
ReVa is a Java Ghidra extension that exposes Ghidra analysis through MCP rather than implementing a separate disassembler or decompiler. In assistant mode, the application plugin and Code Browser plugin connect the server to a running Ghidra project. An MCP client such as Claude Code or VS Code connects over streamable HTTP, with localhost:8080 and /mcp/message as the default address and endpoint. Clients connected to the same UI work against the same project state.
The tool interface favors targeted calls over a single large export. Tool schemas describe expected inputs, and recoverable input mistakes can be returned to the client so it can retry. Responses can include namespace and cross-reference context alongside decompilation, giving the model concrete leads for its next query. The Gradle-built extension is paired with a Python distribution (reverse-engineering-assistant, Python 3.10+) that provides the headless CLI and a PyGhidra integration path.
Key Capabilities & Differentiators
ReVa supports following cross-references, inspecting decompiled code, and making edits such as variable renames and data-type corrections in a Ghidra project. Focused tool responses let the client gather evidence function by function instead of loading an entire analysis into the conversation. That is useful for large binaries or firmware images, but it is not a guarantee of complete coverage or accurate model conclusions.
Version 7.3.0 added binary diffing, Version Tracker support, and long-running comparison sessions. These give an analyst a way to examine changes in code, structure, and constants across builds. Claude Code is the recommended client and has a companion marketplace plugin with analysis and verification skills; VS Code is another documented client. These are client integrations, not bundled inference backends or a model compatibility guarantee.
Trade-offs & Limitations
Compared with working directly in Ghidra and Version Tracker, ReVa makes it easier to delegate repeated lookups and synthesize findings across a project. In exchange, the analyst must verify model interpretations against the decompilation and review any edits before relying on them. Headless mode removes the GUI dependency for batch analysis, but it does not remove the cost of importing, analyzing, and comparing binaries in Ghidra.
Treat the MCP endpoint as a privileged interface: PyGhidra scripting is enabled by default on localhost, and clients may be able to change project state as well as read it. Keep the endpoint on loopback when practical, retain approval prompts for sensitive tools, and use API-key authentication and disable unneeded scripting if remote access is required. Apache-2.0 permits self-hosting, but a local MCP server does not by itself keep decompilation and tool results off a hosted model service.
Hardware & Deployment Guide
For interactive use, install the extension built for your exact Ghidra version, enable ReVa Application Plugin in the Project view and ReVa Plugin in Code Browser, then save the tool configuration. Ghidra 12.0 and later are supported: use Java 21 before Ghidra 12.2 and Java 25 from 12.2 onward. For a source install, set GHIDRA_INSTALL_DIR and run gradle install.
For headless use, set the same environment variable, install the Python package with uv tool install reverse-engineering-assistant, and configure the client to launch mcp-reva. PyGhidra callers can use RevaHeadlessLauncher directly. Plan capacity around Ghidra analysis and diff jobs, and verify project retention before relying on it: headless sessions are described as ephemeral, while same-directory CLI runs can reuse a project under .reva/projects/. Release v7.3.1 added explicit support for Ghidra 12.1.3 and MCP 2.0; v7.3.2 lists a port to MCP 2.0+ and compatibility fixes for newer Ghidra and MCP versions.
mcp-reva runs without a GUI; RevaHeadlessLauncher integrates with PyGhidra.Teams already using Ghidra that want a model to trace function relationships, summarize changes between authorized builds, or support repeatable headless analysis with human review.
You need a standalone decompiler, a GUI-only workflow with no model involvement, or strict data isolation and cannot approve or control the client's inference path.
Quick Start & Installation
# Set Ghidra installation directory, this must always be in your environment export GHIDRA_INSTALL_DIR=/path/to/ghidra uv tool install reverse-engineering-assistant claude mcp add --scope user ReVa -- mcp-reva claude -p "Import /bin/ls with ReVa and tell me how it works"
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| reverse-engineering-assistant ★ | 996 | +17 | Java | Apache-2.0 | A Ghidra MCP extension for interactive and headless binary analysis |
| chrome-devtools-mcp | 60.4k | +760 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| context7 | 65.8k | +333 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
| rea | 488.8k | +7.6k | TypeScript | MIT | A local CLI and MCP server for evidence-backed app and binary analysis |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/cyberkaida/reverse-engineering-assistant.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about reverse-engineering-assistant
How does an MCP client connect to ReVa?
mcp-reva, which manages Ghidra and its analysis project without a GUI. Existing Python workflows can instead start the service through PyGhidra with RevaHeadlessLauncher.Does ReVa require a GPU, and how should I size a host?
Can we self-host ReVa commercially and keep binary data on premises?
When is ReVa preferable to native Ghidra and Version Tracker?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy