Durable, build-scoped reverse-engineering evidence memory and query tools for AI agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Give your reverse-engineering agent a memory, a map, and receipts.
HexWitness turns static analysis, runtime captures, and human conclusions into one durable evidence graph.
Quick start Β· Why it matters Β· Examples Β· Docs Β· How it compares
Yesterday, your agent found the parser, mapped its callers, and proved which runtime event reached it. Today, a new chat opens and asks the live disassembler to discover everything again.
HexWitness stops that loop.
The live viewer remains the agent's eyes. HexWitness becomes its case file: tied to an exact build, searchable across tools, honest about conflicts, and ready for the next agent.
Requirements: Git and Node.js 22.13 or newer.
The setup wizard connects HexWitness to Codex, Claude Code, Cursor, VS Code/Copilot, Claude Desktop, or generic MCP clients. It also installs guidance written for that agent. The MCP entry starts the local read-only daemon when needed, so there is no service choreography.
Now ask:
The demo uses synthetic, redistributable evidence. No third-party binary data ships with HexWitness.
Prefer a checkout?
Replace codex with claude-code, cursor, copilot, or generic as needed. The setup command resolves the checkout's absolute local runtime path, installs guidance tailored to the selected agent, and writes the MCP connection without requiring a global install. Restart the selected AI client after setup, then ask it to call hexwitness_health and hexwitness_contract. Both must succeed before using private evidence.
[!IMPORTANT] The checked-in
.mcp.json.exampleassumesnpm install --global hexwitness. From a source checkout, runnpm run setupinstead of copying that example; setup records the correct local Node.js and bundled-runtime paths.
HexWitness installs as one command. The service, MCP transport, installer, capture pipeline, and adapter catalog live behind that command:
Official MCP Registry identity: io.github.siaginw/hexwitness. Registry-aware clients discover the same local stdio server published through npm; its declared launch contract is hexwitness agent.
The npm package ships one bundled runtime instead of exposing its internal module tree. Python remains only in the thin Binary Ninja, IDA, and Ghidra exporters because those products expose their supported automation APIs through Python. Large JSONL exports and long captures are streamed through atomic ingest and disk-backed normalization instead of being loaded wholesale into memory.
Most RE integrations solve access: let an agent read a decompiler, debugger, or trace. HexWitness solves continuity: keep the useful result after that tool, build, or chat is gone.
| Approach | Excellent for | The gap HexWitness fills |
|---|---|---|
| Viewer MCP | Live decompilation, xrefs, renames, analysis control | Findings are session-scoped unless promoted |
| Notes and reports | Human narrative | Hard to query, compare, or trace back to exact evidence |
| General agent memory | Preferences and broad project context | No dedicated build, address, call-graph, capture, or provenance contract |
| HexWitness | Durable RE evidence and runtime reconstruction | Pairs with viewers instead of replacing them |
That makes HexWitness especially useful when:
Read the honest category comparison in Why HexWitness.
Users ask about the target. The agent chooses the tools.
HexWitness gives agents first-class queries for builds, functions, classes, UUIDs, types, fields, vtables, calls, xrefs, paths, dataflow, captures, contradictions, coverage, evidence gaps, durable investigations, failed attempts, challenges, and discovery-only retrieval. Four MCP prompts package investigation, runtime comparison, live-finding promotion, and adversarial evidence-review workflows.
For longer work, deterministic playbooks seed persistent checklists and operation budgets. Failed methods stay searchable. An evidence challenge surfaces opposition, unsupported claims, and open gaps without allowing agent consensus to inflate confidence.
Agents can also run allowlisted local RE utilities through one explicit MCP tool: argv-only, cwd-rooted, timed, output-capped, and receipt-producing. It is not an OS sandbox. Tool output remains an observation until promoted through the evidence model. No environment enable switch or separate model-provider key is required. See Investigation workbench.
The database remembers evidence. A separate privacy-safe activity store remembers operation hashes, timing, status, and countsβnever prompts, arguments, or returned evidence.
Collectors place conventional files and a small manifest in one private folder:
Then:
HexWitness checks the required roles and action markers, copies artifacts into an isolated private pack, normalizes a safe timeline by removing secret fields and replacing payloads with length plus SHA-256, seals checksums, verifies integrity, and imports the evidence. Missing or empty baseline artifacts fail closed. A failed normalization leaves the source pack recoverable.
See Capture packs for collector and scenario contracts.
| Tool | Durable bridge |
|---|---|
| Binary Ninja | Deep JSONL exporter plus optional official Binary Ninja MCP live viewer |
| IDA / IDAPython | Functions, strings, imports, references, blocks, and optional Hex-Rays pseudocode plus live MCP |
| Ghidra | Functions, strings, imports, references, blocks, types, fields, and enum exporter |
| Frida 17 | Narrow semantic-event observer and fail-closed JSONL normalizer |
| Other tools | Versioned adapter manifest and vendor-neutral JSONL schema |
HexWitness does not ship a weaker disassembler inside the project. Viewer MCPs provide live eyes. Exporters turn reviewed findings into portable memory. Read Viewer MCP bridges and the Adapter SDK.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/hexwitness)<a href="https://allmcps.com/mcp/hexwitness"><img src="https://allmcps.com/api/badge/hexwitness?style=directory" alt="HexWitness on AllMCPs" /></a>