Ghidra · MCP server
ReVa, the Ghidra MCP server for large binaries
ReVa is a Ghidra MCP server whose tools return short fragments, so an agent can work through large binaries and firmware. Connect Claude Code on port 8080.
What it does
The README says ReVa "uses state of the art techniques to limit context rot and enable long form reverse engineering tasks," and that it can "handle large binaries and even entire firmware images."
Install
- Use Ghidra 12.0 or later. Ghidra 12.2 and later need Java 25; earlier versions need Java 21.
- Download the ReVa release built for your exact Ghidra version from the releases page and install it with Ghidra's extension manager.
- In the Project window, open
FileConfigure, click the plug icon (Configure all plugins) and check ReVa Application Plugin. - In the Code Browser, do the same for ReVa Plugin, then
FileSave Toolso it loads by default.
Connect
- Point your agent at an abliterated model. For Claude Code, put this in
~/.claude/settings.jsonand exportSILK_API_KEY. Codex and OpenCode configs are on the MCP setup page.~/.claude/settings.json: Kimi K3.1 Pro as the default, every model in /modelshow
{ "apiKeyHelper": "echo $SILK_API_KEY", "env": { "ANTHROPIC_BASE_URL": "https://api.silkcompute.com", "ANTHROPIC_DEFAULT_MODEL": "kimi-k3.1-pro-uncensored", "ANTHROPIC_DEFAULT_FABLE_MODEL": "kimi-k3.1-pro-uncensored", "ANTHROPIC_DEFAULT_OPUS_MODEL": "kimi-k3.1-pro-uncensored", "ANTHROPIC_DEFAULT_SONNET_MODEL": "kimi-k3.1-pro-uncensored", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-v4.1-flash-1017-uncensored", "CLAUDE_CODE_MAX_CONTEXT_TOKENS": "1048576" }, "modelPicker": { "replaceBuiltInOptions": true, "options": [ { "model": "kimi-k3.1-pro-uncensored", "label": "Kimi K3.1 Pro" }, { "model": "deepseek-v4.1-flash-1017-uncensored", "label": "DeepSeek V4.1 Flash 1017" }, { "model": "deepseek-v4.1-flash-1017-fast-uncensored", "label": "DeepSeek V4.1 Flash 1017 Fast" }, { "model": "glm-5.3-uncensored", "label": "GLM-5.3" }, { "model": "glm-5.3-flash-uncensored", "label": "GLM-5.3 Flash" }, { "model": "hy4-uncensored", "label": "Hy4" } ] } } - Add the MCP server.terminalshell
claude mcp add --scope user --transport http ReVa -- \ http://localhost:8080/mcp/messageReVa listens on port 8080 by default; change it in Ghidra's settings from the Project view. Many clients can connect to the same Ghidra at once.
- Open a project in Ghidra, then run
claude./mcpshould show ReVa. To skip approving each read, add a rule formcp__ReVain/permissions.
Add the Claude Code skills with claude plugin marketplace add cyberkaida/reverse-engineering-assistant.
cyberkaida/reverse-engineering-assistant README, read November 18, 2026.
Headless
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"Run from the same folder so later imports stay in one project.
Scripting
Warning
ReVa gives the agent PyGhidra scripting and listens on localhost. On a network interface, the README says to turn on API key authentication or disable the scripting tools.
Prompts
Examine the programs in this project and explain the relationship between the main binary and the shared libraries.
Does this program use encryption? Write a markdown report on the encryption and where it is used.
Import these two binaries and diff them, explain the changes.
On firmware, use Kimi K3.1 Pro. The firmware guide covers the load.