Revelix MCP Server
by isneoz1
README.md
<p align="center">
<img src="docs/media/banner.svg" alt="Revelix — reverse engineer anything, natively, with AI" width="100%">
</p>
<p align="center">
<b>The open reverse-engineering platform built for humans <i>and</i> AI agents.</b><br>
Decompile, explore and explain any binary — native code, Rust, .NET, Java/Android, iOS, Python, WebAssembly, Go, firmware and 300+ file formats — from one engine, served as an <b>MCP server</b>, a <b>command line</b> and a <b>web interface</b>.
</p>
<p align="center">
<a href="https://github.com/isneoz1/revelix/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/isneoz1/revelix/actions/workflows/ci.yml/badge.svg"></a>
<a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-e0703a"></a>
<img alt="Node.js ≥ 22.18" src="https://img.shields.io/badge/node-%E2%89%A5%2022.18-3c873a">
<img alt="120 tools" src="https://img.shields.io/badge/tools-120-7b61ff">
<img alt="MCP ready" src="https://img.shields.io/badge/MCP-ready-0a84ff">
<img alt="No Java, no Python" src="https://img.shields.io/badge/no%20Java%20%C2%B7%20no%20Python-%E2%9C%93-2ea043">
</p>
<p align="center">
<a href="https://isneoz1.github.io/revelix/#video"><b>▶ Watch the 60-second video</b></a> ·
<a href="https://isneoz1.github.io/revelix/">Website</a> ·
<a href="#quick-start">Quick start</a> ·
<a href="docs/MCP.md">Use with AI</a> ·
<a href="docs/REFERENCE.md">All 120 tools</a> ·
<a href="README.fr.md">🇫🇷 Version française</a>
</p>
<p align="center">
<img src="docs/media/demo.png" alt="Revelix in action: decompiled C with exact JNI types, Android manifest, Rust decompilation, control-flow graph, call arguments, tool catalogue" width="92%">
</p>
> **Real software, real output.** Every image on this page was produced by Revelix itself on open-source programs — the Termux Android app (GPL-3.0), Rollup's Rust native module (MIT) and esbuild (MIT) — by [`scripts/media.ts`](scripts/media.ts). Nothing is mocked.
---
## Why Revelix?
- **One engine, three faces.** Every capability is a single tool definition served identically to an AI (MCP), to your terminal (`revelix …`) and to a local web UI. 120 tools, one behaviour.
- **Real decompilers, zero heavy dependencies.** The Ghidra decompiler runs compiled to WebAssembly with 180 SLEIGH processor variants; a C#, Java, Python, Hermes, BEAM, WebAssembly, ActionScript and **Rust** decompiler sit beside it. No Java, no Python, no IDA licence: `npm install` and go.
- **Made for AI agents.** A compact default profile (45 tools + `find_tools` / `call_tool` to reach the rest), every result stamped with an evidence id (`ev_…`) the model can re-read, content from targets flagged as untrusted, progress and cancellation over MCP.
- **Rust decompilation that checks itself.** Panics rebuilt with `file:line`, `&str` literals, `match`, labelled loops, inferred structs — and each function is verified against the binary (calls, literals, positions, flow) and labelled *complete*, *partial* or *fallback*.
- **Safe by default.** Samples are parsed, never executed. Network, execution, device access and writes are off until you allow them (`revelix policy`). Everything stays on your machine.
- **Fluid.** Starts in about 0.1 s, analyses a 6 MB library in about 2 s, decompiles in parallel workers, and opens nested files straight from archives, APKs and firmware.
## Quick start
Requires **Node.js 22.18 or newer** (Windows, Linux, macOS).
```sh
git clone https://github.com/isneoz1/revelix && cd revelix
npm install
node bin/revelix.mjs doctor # checks every engine (≈ 2 s)
node bin/revelix.mjs app.exe # open any file: identity, protections, next steps
node bin/revelix.mjs ui # local web interface
```
Prefer a global command? `npm install -g github:isneoz1/revelix` (or the package attached to the [latest release](https://github.com/isneoz1/revelix/releases/latest)), then simply `revelix app.exe`.
**Three commands to remember:** `revelix <file>` (summary + suggested next steps), `revelix help <tool>`, `revelix tools`.
## Use it with your AI (MCP)
```sh
revelix setup # shows the configuration for each detected client
revelix setup claude --write # writes it (a backup of the previous file is kept)
```
Supported out of the box: **Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI, Codex CLI, OpenCode, Zed, Cline, LM Studio**, and any project via `.mcp.json` (already present in this repository). Then just ask:
> *“Open termux.apk, list the native methods and explain what `createSubprocess` does.”*
> *“Which API names does this DLL resolve with GetProcAddress?”*
> *“Decompile this Rust binary's project code and tell me where it panics.”*
Details, profiles, the HTTP transport and the security model: **[docs/MCP.md](docs/MCP.md)**.
## See it
<table>
<tr>
<td width="50%"><img src="docs/media/02-pseudo-c.png" alt="Decompiled C"><br><b>Readable C.</b> Exact JNI signature recovered from the APK's DEX, real strings, named imports.</td>
<td width="50%"><img src="docs/media/05-rust.png" alt="Rust decompilation"><br><b>Rust, verified.</b> Source file and line, inferred structs, checks passed.</td>
</tr>
<tr>
<td><img src="docs/media/01-android.png" alt="Android"><br><b>Android & iOS.</b> Manifest, permissions, components, signatures, JNI map.</td>
<td><img src="docs/media/03-graph.png" alt="Graph"><br><b>Graphs.</b> Control flow and call graphs for every function.</td>
</tr>
<tr>
<td><img src="docs/media/06-go.png" alt="Go"><br><b>Go.</b> Version, modules, functions by package.</td>
<td><img src="docs/media/07-tools.png" alt="Tools"><br><b>120 tools</b> in the UI, the CLI and over MCP.</td>
</tr>
<tr>
<td><img src="docs/media/09-cli-call-args.png" alt="call_args"><br><b>What does each call receive?</b> <code>call_args</code></td>
<td><img src="docs/media/10-cli-cpu-guess.png" alt="cpu_guess"><br><b>Raw firmware?</b> <code>cpu_guess</code> finds the processor.</td>
</tr>
</table>
## What it does
| Area | Highlights |
|---|---|
| **Native code** | PE, ELF, Mach-O, COFF, raw images, 180 processor variants (x86/x64, ARM/Thumb, AArch64, MIPS, PowerPC, RISC-V, SPARC, 68k, AVR, MSP430, LoongArch, Xtensa, 6502, Z80…). Function discovery, jump tables, cross-references, position-independent i386 code, pseudo-C, assembly, p-code, CFG/call graphs, C++ RTTI classes, emulation of any function, Z3 solver, assembler and patching. |
| **Rust** | `rust_info` (rustc version, crates, source files), `rust_decompile` with verification levels, `rust_project` rebuilds a whole source tree with `Cargo.toml`. |
| **.NET** | C# decompiler (no-loss checked on 41,653 methods), IL, resources, P/Invoke, portable PDB. |
| **Java & Android** | Vineflower embedded + fallback decompiler, DEX/APK/AAB, manifest, permissions, v1–v3 signatures, JNI map with exact C prototypes applied to the native libraries. |
| **iOS & macOS** | IPA/app bundles, entitlements, provisioning, Objective-C classes, compiled NIBs, Assets.car. |
| **Bytecode** | Python 2.7–3.14 (source rebuilt), WebAssembly (MVP→GC/exceptions), Hermes, BEAM/Erlang, Lua 5.1–5.4 & LuaJIT, LLVM bitcode, Flash/ActionScript 3, EVM, IL2CPP metadata, Dart and V8 snapshots, OCaml bytecode (disassembly). |
| **Go** | Version, build settings, modules, functions by package, types. |
| **Firmware & file systems** | Recursive extraction: UEFI, vendor headers, squashfs, ext2/3/4, XFS, F2FS, exFAT, APFS, HFS+, UBI/UBIFS, JFFS2, YAFFS, CPIO, Android sparse/super/boot images, UPX unpacking… |
| **Archives & documents** | ZIP, 7z, RAR, TAR, CAB, ISO, WIM, DMG, VHD(X)/VMDK/QCOW2, PDF objects and scripts, Office/OLE macros, MSI. |
| **Data & forensics** | Parquet, Avro, ORC, Arrow, HDF5, SQLite, LevelDB, ESE; EVTX, registry hives, Prefetch, LNK, USN, minidumps, browser and macOS artefacts, plists, protobuf without schema… |
| **Network & web** | pcap/pcapng (flows, DNS, TLS SNI, HTTP), HAR, mitmproxy, Fiddler, QUIC qlog, OpenAPI; JavaScript beautify/deobfuscate/debundle (webpack, Metro, Browserify). |
| **Hunting & triage** | YARA-X, crypto constants, secrets, stack strings, XOR/ADD-hidden text, CPU guessing for raw code, protections (ASLR, NX, RELRO, CFG, CET…), capabilities. |
| **Interop** | Import PDB, DWARF, dSYM and linker `.map` files (MSVC, IDA, GNU ld, lld, ld64); export names and comments to **IDA, Ghidra, Binary Ninja, rizin/radare2, x64dbg** or CSV. Federate other MCP servers. |
The complete list, with every parameter: **[docs/REFERENCE.md](docs/REFERENCE.md)** · one line per tool: **[docs/OUTILS.md](docs/OUTILS.md)**.
## Command line
```sh
revelix app.exe # open & summarise (any format)
revelix decompile app.exe main # pseudo-C
revelix call_args app.exe GetProcAddress # arguments at every call site
revelix read app.exe 0x140000000 --type IMAGE_DOS_HEADER
revelix rust_decompile app my_crate::run # Rust
revelix android app.apk --view jni # native methods + exact C prototypes
revelix unpack firmware.bin # what is inside
revelix extract_firmware firmware.bin --out out # everything, recursively
revelix cpu_guess dump.bin # which CPU is this raw code for?
revelix stack_strings malware.exe # strings built on the stack
revelix export_names app.exe --format idapython # names & comments for IDA
revelix help <tool> # help for any tool
```
Add `--json` for machine-readable output. The interface and tool output are in French; an English localisation is welcome (see [CONTRIBUTING.md](CONTRIBUTING.md)).
## Security and privacy
- **Untrusted input by design.** Files are parsed by memory-safe readers with bounds checks; fuzzed with more than 150,000 hostile inputs without an internal error or hang.
- **Nothing runs, nothing leaves.** Execution, network, device access and file writes are separate permissions, off by default (`revelix policy allow exec|network|device|write`).
- **AI-safe output.** Content extracted from targets is marked as untrusted data in MCP results, so agents do not follow instructions hidden in binaries.
- Report a vulnerability: **[SECURITY.md](SECURITY.md)**.
## Quality
| Check | Result |
|---|---|
| Automated tests | 78 tests (`npm test`) on Linux, macOS and Windows in CI |
| End-to-end scenario | 226 tool calls on real files |
| C# decompiler | 0 lost calls/fields/strings on 41,653 methods |
| Hermes / BEAM / WebAssembly | 0 losses on 72,116 / 13,983 / 2,432 functions |
| Python | 4 imperfect functions out of 51,147 |
| Rust decompiler | verification levels reported per function (calls, literals, positions, flow) |
| CPU guessing | 49 / 49 real binaries, 0 false positive on random data |
| Robustness | ≈ 150,000 fuzzed inputs, 0 internal error |
How each number is measured: [CONTRIBUTING.md](CONTRIBUTING.md#quality-checks).
## Honest limits
A decompiler cannot give back the original source: names, comments and types erased by the compiler stay lost unless debug information exists. Revelix does not open StuffIt 5, ACE, cromfs, Pack200, mruby, YARV, GDScript or the PHP opcache yet; s390x code is identified but not disassembled; GUI observation is Windows-only. Binaries protected by commercial virtualisation stay hard to read.
## Documentation
| Document | Content |
|---|---|
| [docs/REFERENCE.md](docs/REFERENCE.md) | every tool and parameter |
| [docs/MCP.md](docs/MCP.md) | AI clients, profiles, HTTP transport, evidence |
| [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) | how it works inside |
| [docs/PARITE.md](docs/PARITE.md) | mapping with the 263 tools of the original REA |
| [CONTRIBUTING.md](CONTRIBUTING.md) | development, tests, adding a tool |
| [CHANGELOG.md](CHANGELOG.md) | versions |
| [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) | embedded engines and licences |
## Credits
Revelix is an independent MIT-licensed rewrite inspired by [REA — Reverse Engineer Anything](https://github.com/morluto/rea). It embeds the [Ghidra](https://github.com/NationalSecurityAgency/ghidra) decompiler and SLEIGH specifications (Apache-2.0), [Vineflower](https://github.com/Vineflower/vineflower), [YARA-X](https://github.com/VirusTotal/yara-x), [Z3](https://github.com/Z3Prover/z3) and [iced](https://github.com/icedland/iced). Full list: [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
**License:** [MIT](LICENSE). Use it only on software you are allowed to analyse.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues