# Repository Briefing: cyberkaida/reverse-engineering-assistant
> Source: https://repoforai.com/repo/cyberkaida/reverse-engineering-assistant (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/cyberkaida/reverse-engineering-assistant
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Java
- **License**: Apache-2.0
- **Engineering Health**: A+ (91/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v7.3.2 (2026-11-13) — https://github.com/cyberkaida/reverse-engineering-assistant/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP, Self-Hosted, CLI
- **Momentum**: 996 ★ total (+5 24h / +17 7d) · 102 forks
- **Topics**: `assistant`, `binaryninja`, `ghidra`, `llm`, `mcp`, `mcp-server`, `reverse-engineering`
- **When to Use**: Best for: 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. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Interactive transport: Streamable HTTP defaults to localhost:8080 at /mcp/message.
- Tool output: Decompilation excerpts carry namespace and cross-reference context for follow-up queries.
- Project editing: The assistant can rename variables and adjust data types in the active Ghidra project.
- Binary comparison: v7.3.0 added long-running diff sessions and Version Tracker support.
- Headless integration: `mcp-reva` runs without a GUI; `RevaHeadlessLauncher` integrates with PyGhidra.
- Runtime compatibility: Ghidra 12.0+ is supported with version-specific extension builds; Ghidra 12.2+ requires Java 25.
```

## Quick Start / Clone
```bash
# 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"
```
