Skip to content
ReVa (Ghidra MCP)

ReVa (Ghidra MCP)

Released
v7.3.2
Apache-2.0

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.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "ReVa (Ghidra MCP)" tools will be available.
{
  "mcpServers": {
    "reva-ghidra-mcp": {
      "command": "mcp-reva",
      "env": {
        "GHIDRA_INSTALL_DIR": "/path/to/ghidra"
      }
    }
  }
}

Hosted endpoint

This server is also hosted. A client that supports remote MCP servers can connect to it directly.

{
  "mcpServers": {
    "reva-ghidra-mcp": {
      "type": "http",
      "url": "http://localhost:8080/mcp/message"
    }
  }
}

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 register mcp-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.

New

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.

MCP: GhidraMCP

by LaurieWired

New

LaurieWired'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.

MCP: ida-mcp-rs

by blacktop

New

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.

Browse all MCP servers →