# REA [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/morluto/rea  
**GitHub Stars:** 476684  
**npm Downloads (last month):** 1767115  
**Views:** 62  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/rea

## Description
Reverse engineer anything from your terminal or agent with one CLI and MCP server.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "rea": {
    "command": "npx",
    "args": ["-y","rea-agents"]
  }
}
```

## Documentation

## What REA does

REA provides an MCP interface and command-line workflows for investigating how software behaves. It can inspect native binaries, JavaScript and Electron applications, .NET assemblies, and websites. The analysis is intended for cases where the implementation is available only as a compiled application, packaged app, assembly, or deployed site rather than as project source.

Results include findings alongside the evidence used to support them and the limitations that apply to each conclusion. This makes the output useful for follow-up questions, technical explanations, and implementation work based on observed behavior.

## How it works

An agent calls REA through MCP with a target and an investigation request. REA runs analysis locally, traces relevant code or application structures, and returns results that the agent can use to explain behavior, ask follow-up questions, or write and test an implementation. CLI commands use the same workflows outside an agent session.

Native investigations can be connected to an existing Hopper, Ghidra, IDA, or Kuna installation. Setup can also install Hopper when approved. Static JavaScript and Electron analysis does not require a native analysis engine. For Electron work, the CLI accepts an extracted application directory or an ASAR archive and reports modules, imports, Electron boundaries, and related evidence.

## Setup and configuration

Run the setup flow with Node.js and npm:

```bash
npx rea-agents setup
```

The setup process lets you select agents, review proposed configuration changes, and approve them. It registers the MCP server, adds matching workflow instructions, backs up existing configuration, and records the selected runtime and REA entry script. Restart the agent after setup. Manual MCP registration and provider-specific installation instructions are available through the project’s installation guidance.

For terminal use, install the package globally and inspect the available commands:

```bash
npm install --global rea-agents
rea --help
```

A one-off JavaScript analysis can be run with `npx rea-agents@latest analyze-javascript-application /absolute/path/to/app --json`. Native commands require a configured analysis provider.

## Tools and capabilities

- Inspect native binaries through supported analysis providers.
- Analyze JavaScript and Electron directories or ASAR packages.
- Inspect .NET assemblies and websites.
- Return evidence and limitations with analysis findings.
- Register MCP tools and workflow instructions for supported agents.
- Use compact or full MCP input schemas and configure advertised output schemas through `REA_MCP_INPUT_SCHEMA_PROFILE` and `REA_MCP_OUTPUT_SCHEMA_PROFILE`.

## Limitations and notes

Analysis runs on the local machine, so targets and selected analysis applications must be accessible there. Native analysis depends on a configured provider such as Hopper, Ghidra, IDA, or Kuna. On Linux, Ghidra, JADX, firmware tool launches, and static JavaScript/Electron analysis require a procps-compatible `ps` on REA’s `PATH` for process ownership checks. The setup flow should be run from a trusted directory outside the target project when using a package runner, and its cache entry should remain available.

The compact input schema profile reduces context overhead but retains the full tool set and server validation. If a client cannot accept complete output schemas in its `tools/list` response, output schemas can be set to `compact` or `off`; server-side validation and structured results remain in place.

_Full upstream README: https://allmcps.com/mcp/rea/readme_

