Ghidra extension that runs an MCP server inside Ghidra, giving AI assistants 103 reverse-engineering tools, resources and prompts over Streamable HTTP or SSE, in the GUI or headless.
ReVa (Ghidra MCP)
Summary
ReVa, the Reverse Engineering Assistant: a Ghidra extension that serves an MCP server with small, LLM-friendly tools for decompilation, cross-references and renaming, in the Ghidra UI or headless.
Features
- Many small LLM-oriented tools that tolerate loose input
- Decompilation with namespaces and cross-references
- Rename variables and fix data types during analysis
- Assistant mode inside the Ghidra UI over streamable HTTP
- Headless mode with ephemeral projects for CI and Docker
- PyGhidra integration
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
ReVa (Reverse Engineering Assistant) is a Ghidra extension that runs an MCP server, letting Claude Code, VS Code or another MCP client analyse binaries through Ghidra.
Its approach
Rather than a few broad tools, ReVa gives the model many small ones designed for LLM use: they accept loose input, explain correctable mistakes back to the model, and return focused fragments, such as decompilation together with namespaces and cross-references, plus pointers to related information. The aim is to limit context rot and hallucination so the model can keep working through large binaries or whole firmware images, exploring the way a human analyst would.
Typical requests: explain how a main binary relates to its shared libraries, find interesting strings, report where encryption is used, rename variables while summarising a program, diff two binaries, or write a pwntools script for a CTF challenge.
Two modes
- Assistant mode — ReVa runs inside the Ghidra UI and listens on
http://localhost:8080/mcp/message(streamable HTTP; port configurable), so several clients can work on the open project with you in real time. - Headless mode — install the Python launcher (
uv tool install reverse-engineering-assistant) and registermcp-reva; ReVa starts Ghidra itself with ephemeral, session-scoped projects, which suits automation, CI pipelines and Docker. It can also be driven from PyGhidra scripts.
Requirements and safety
ReVa supports Ghidra 12.0 and later (Java 21, or Java 25 for Ghidra 12.2+); download the release built for your exact Ghidra version. It exposes Ghidra's PyGhidra scripting, so it listens on localhost by default; enable API-key authentication or disable scripting before exposing it on a network. Apache-2.0 licensed.
Related MCP Servers
See all ReVa (Ghidra MCP) alternativesLaurieWired's MCP server and Ghidra plugin that let an AI agent decompile binaries, list functions, classes, imports and exports, and rename methods and data inside a running Ghidra project, or headlessly via PyGhidra.
MCP: Ghidra MCP
by bethington
MCP server and Ghidra extension with 219 tools for AI-assisted reverse engineering: decompile, rename, retype and comment, plus P-code emulation, live debugging and Ghidra Server workflows.
Headless IDA Pro MCP server written in Rust on idalib: decompile, disassemble, follow xrefs and script IDAPython from an AI agent, with first-class Mach-O, dSYM and dyld_shared_cache support for Apple targets.