Reverse Engineering Assistant

Security

MCP server for reverse engineering tasks in Ghidra.

Your AI app calls the Reverse Engineering Assistant MCP server, which does the security work and sends the result back to the chat.

About Reverse Engineering Assistant

Reverse Engineering Assistant is a community MCP server from cyberkaida, filed in our directory under security. MCP server for reverse engineering tasks in Ghidra.

At a glance

Publisher
cyberkaida (community)
Runs
See the README for setup
Written in
Java
License
Apache-2.0
GitHub stars
991

How to set up Reverse Engineering Assistant

  1. Follow the install steps in the Reverse Engineering Assistant README; it is written in Java, so have that toolchain ready.
  2. Check the Reverse Engineering Assistant README for keys or settings; the registry lists none that Reverse Engineering Assistant requires.
  3. Add Reverse Engineering Assistant to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Reverse Engineering Assistant tools to confirm the connection.
  5. Run one read-only task with Reverse Engineering Assistant first, and keep your app asking before each tool call until the results look right.

Reverse Engineering Assistant compared with similar servers

  • Wassette by microsoft has fewer GitHub stars than Reverse Engineering Assistant (982 against 991); Wassette is official while Reverse Engineering Assistant is a community server, and both run locally.
  • Tracekit MCP gateway by Cygnux-Labs has more GitHub stars than Reverse Engineering Assistant (1k against 991); both are community servers, and both run locally.
  • Rowel by fwdai has fewer GitHub stars than Reverse Engineering Assistant (980 against 991); both are community servers, and both run locally.

Before you connect Reverse Engineering Assistant

  • Give Reverse Engineering Assistant its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Reverse Engineering Assistant tool call until you trust what it does with them.
  • Treat text that Reverse Engineering Assistant fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Reverse Engineering Assistant on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Reverse Engineering Assistant

How marketing and sales teams put Reverse Engineering Assistant to work, by company size. Pick the size closest to yours and start Reverse Engineering Assistant on one use case.

Small business

  • A small business can use Reverse Engineering Assistant to check its domains, logins and site for common gaps before they cost a customer's trust.
  • Owners can ask Reverse Engineering Assistant whether a tool or vendor has known issues before connecting it to customer data.
  • Reverse Engineering Assistant runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can use Reverse Engineering Assistant to review what each connected app can access and remove keys nobody uses.
  • Security and web teams can connect Reverse Engineering Assistant to scan campaign sites and forms before launch, not after an incident.
  • Start Reverse Engineering Assistant on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Reverse Engineering Assistant in the security team's tooling, so marketing's agents and apps are reviewed like any other system.
  • Large orgs can use Reverse Engineering Assistant to keep evidence for audits, showing which agents reached which data and when.
  • Reverse Engineering Assistant is a community server, so have security review the code and pin a version before Reverse Engineering Assistant touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Reverse Engineering Assistant README

From cyberkaida/reverse-engineering-assistant on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

ReVa - Ghidra MCP Server for AI-Powered Reverse Engineering

A Ghidra extension that provides a Model Context Protocol (MCP) server for AI-assisted reverse engineering

ReVa (Reverse Engineering Assistant) is a Ghidra MCP server that enables AI language models to interact with Ghidra's powerful reverse engineering capabilities. ReVa uses state of the art techniques to limit context rot and enable long form reverse engineering tasks.

ReVa is different from other efforts at building AI assistants for RE tasks because it uses a tool driven approach with a focus on designing tools for effective LLM use. ReVa aims to provide a variety of small tools to the LLM, just as your RE environment provides a set of small tools to you.

Each of the tools given to the LLM are constructed to be easy for the LLM to use and to tolerate a variety of inputs and to reduce hallucination by the LLM. We do this by providing the LLM with a schema but tolerating other input, including descriptions that guide the LLM,and redirecting correctable mistakes back to the LLM, and including extra output to guide the next decision by the LLM.

ReVa's tools differ to other solutions, they provide smaller, critical fragments with reinforcement and links to other relevant information to reduce context usage and hallucination. This greatly improves performance, especially on long form reverse engineering tasks. This allows ReVa to handle large binaries and even entire firmware images.

To encourage exploration as a human would, we report additional context like the namespace and cross references along with the decompilation, this is a small nudge to make the LLM explore the binary in the same way a human would.

Using this technique you can ask general questions and get relevant answers. The model prioritises information from the tools, but when there is no information it can still respond to generic questions from its training.

As an MCP server, ReVa can be used alongside other MCP servers to enrich its analysis. For example you can use the GitHub MCP Server to allow ReVa access to source code on GitHub, or the Kagi MCP Server to allow ReVa to search the web.

You can ask questions like:

  • Examine the programs in this project and explain the relationship between the main binary and the shared libraries.
  • What are the interesting strings in this program?
  • Does this program use encryption? Write a markdown report on the encryption and where it is used.
  • Draw a class diagram using plantuml syntax.
  • Start from main, examine the program in detail. Rename variables as you go and provide a summary of the program.
  • Explain the purpose of the __mod_init segment.
  • What does mmap return?
  • What does the function at address 0x80000 do?
  • This is a CTF problem. Write a pwntools script to get the flag.
  • Import these two binaries and diff them, explain the changes.

Installation

NOTE: ReVa supports Ghidra 12.0 and above. Ghidra 12.2+ requires Java 25; earlier versions require Java 21. Download the release built for your exact Ghidra version.

ReVa is a Ghidra extension. To install it, you can download the release for your version of Ghidra from the releases page and install it using the Ghidra extension manager.

Alternatively, you can build it from source. To do this, clone the repository and run the following command:

export GHIDRA_INSTALL_DIR=/path/to/ghidra
gradle install

After installing the extension you need to activate it in two places:

  1. In the Project view, open the File menu and select "Configure". Click the "Configure all plugins" button on the top right of the menu (it looks like a plug). Check the "ReVa Application Plugin"
  2. In the Code Browser tool (Click the Dragon icon or open a File), open the File menu and select "Configure". Click the "Configure all plugins" button on the top right of the menu (it looks like a plug). Check the "ReVa Plugin". Then Press File and select "Save Tool". This will enable ReVa by default.

NOTE: ReVa provides access to the PyGhidra scripting environment. If you allow ReVa to listen on a public interface, either enable the API key authentication or disable the scripting tools in the settings. The default configuration is to listen on localhost and allow the scripting tools.

Usage

There are two ways to use ReVa, with the Ghidra UI in assistant mode or in headless mode. Headless mode is ideal for automation and CI/CD pipelines, while the assistant mode is great for interactive analysis.

In assistant mode, ReVa connects to your running Ghidra and can work with you on your project. It can work in real time on the same file or on other files in your project. This is useful for deep analysis, ReVa can help identify algorithms, rename variables, fix datatypes, and many other parts of analysis.

In headless mode, ReVa runs without the Ghidra UI. This is useful for automation, CI/CD pipelines, or when you want to run ReVa in a pipeline. ReVa manages starting Ghidra and projects for you. Projects in headless mode are ephemeral (session-scoped) and automatically cleaned up. This is useful when you do not need the Ghidra UI and want ReVa to work on its own.

You select which mode with the MCP configuration in your MCP client.

Assistant Mode

In assistant mode, you run Ghidra with ReVa installed and connect your MCP client to the ReVa MCP server running in Ghidra. You must first start Ghidra and open a project.

ReVa uses the streamable MCP transport and will listen on port 8080 by default, you can change this in the Ghidra settings from the project view. This allows many clients to connect to the same UI for interactive use.

Claude Code

Claude Code is the recommended client for ReVa, performance is excellent and Claude Code handles large binaries and projects well.

claude mcp add --scope user --transport http ReVa -- http://localhost:8080/mcp/message

When you use the claude command with Ghidra open it will connect to the ReVa MCP server. You can check with /mcp in the Claude Code chat to see if it is connected.

To enable all ReVa commands by default, and avoid prompts for tool use, you can use the /permissions command in Claude Code and add a rule for mcp__ReVa. This will allow ReVa to use all of its tools without prompting you for permission.

VSCode

VSCode has a built in MCP client, instructions to configure it can be found in the GitHub Copilot documentation.

{
  "mcp": {
    "servers": {
      "ReVa Assistant": {
        "type": "http",
        "url": "http://localhost:8080/mcp/message"
      }
    }
  }
}
Headless Mode

ReVa can run in headless Ghidra mode without the GUI, making it ideal for:

  • Automation - CI/CD pipelines and automated analysis
  • Docker - Containerized reverse engineering workflows
  • PyGhidra - Python-based automation
Claude Code
# 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"

A project will be created in the current working directory in .reva/projects/. If you run claude from the same directory, you can import many files into the same project. Just ask ReVa to work on the new file.

PyGhidra Integration

You can also use ReVa directly from PyGhidra scripts:

import pyghidra
pyghidra.start()

from reva.headless import RevaHeadlessLauncher

# Start server
launcher = RevaHeadlessLauncher()
launcher.start()

if launcher.waitForServer(30000):
    print(f"Server ready on port {launcher.getPort()}")
    # ... your analysis code with your agent ...

launcher.stop()

Claude Code Marketplace

The ReVa repo includes a Claude Code marketplace and plugins to make using ReVa easier. These include skills and scripts to help ReVa work better with Claude Code.

You can install with:

claude plugin marketplace add cyberkaida/reverse-engineering-assistant

This will add the ReVa skills to your Claude Code installation.

  • reverse-engineering, read first, on any request about a program in Ghidra
  • binary-triage, when a program needs its survey, before the request is scoped
  • scoping-analysis, when the request needs more than one question answered
  • planning-analysis, when the brief is written and the work needs an ordered list of threads
  • working-threads, when the plan is written and its threads need working, or to resume a ledger
  • verifying-findings, when the threads are closed and not yet checked against the database
  • finishing-analysis, when the findings are verified and the answer is not yet sent
  • deep-analysis, when one question needs answering, alone or once per thread
  • pyghidra-scripting, when Python needs to run inside the Ghidra session
  • CTF guides

I will be adding more skills over time to help with reverse engineering tasks.

Support

Do you like my work? Want to support this project and others? Interested in how this project was designed and built? This project and many others are built live on my stream at https://twitch.tv/cyberkaida !

Questions about Reverse Engineering Assistant

What is the Reverse Engineering Assistant MCP server?

MCP server for reverse engineering tasks in Ghidra. Reverse Engineering Assistant is maintained by cyberkaida on GitHub at cyberkaida/reverse-engineering-assistant, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Reverse Engineering Assistant MCP server?

Reverse Engineering Assistant doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (cyberkaida/reverse-engineering-assistant). Like most servers, Reverse Engineering Assistant ends with a command or URL you paste into your AI app's MCP config.

Does Reverse Engineering Assistant need an API key?

The registry lists no required keys for Reverse Engineering Assistant. Check the Reverse Engineering Assistant README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Reverse Engineering Assistant an official MCP server?

No. Reverse Engineering Assistant is a community server maintained by cyberkaida. Community servers can be excellent; read the code and the open issues before you give Reverse Engineering Assistant access to company data.

What license is Reverse Engineering Assistant under?

Reverse Engineering Assistant is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Reverse Engineering Assistant; the service it connects to has its own terms.