Introduction¶
When doing reverse engineering or binary analysis in DeepSeek Harness (DSH), a common practice is to paste disassembly snippets into conversations or write temporary scripts to call tools like Ghidra or Hopper. REA (Reverse Engineer Anything) encapsulates various local analysis capabilities as an MCP service; to call these tools directly within DSH agents, you need to bridge the Harness’s built-in MCP client to REA’s stdio server. dsh-rea-mcp, published by maintainer sheilacraig and categorized as a workflow, is a config-only DSH plugin bundle: no Host plugin code is written, and the entire integration is essentially a ~20-line cordis.patch.yml that points DSH’s built-in @deepseek-ai/dsh-mcp-client to the upstream REA MCP process launched via npx -y rea-agents@6.4.0 mcp.
What This Is¶
dsh-rea-mcp is a configuration bridge between DeepSeek Harness and morluto/rea. The plugin is described as: Config-only DeepSeek Harness bundle that mounts the in-box MCP client bridge against morluto/rea — reverse engineer anything with agents; no plugin code.
The data flow can be summarized as:
DSH agent
└─ mcp__rea__analyze_binary / search / decompile / ...
└─ @deepseek-ai/dsh-mcp-client (ships with DSH)
└─ npx -y rea-agents@6.4.0 mcp (stdio child process)
└─ REA analysis engines
The repository does not contain index.js, so no author-written JavaScript executes within the Harness process; it also adds no HTTP routes, does not read or write ~/.dsh/...state.json, and dependencies is empty. The npm package version is 1.0.0, license MIT. Catalog page: https://www.skillhub.cn/plugins/sheilacraig/dsh-rea-mcp; source code and documentation: https://github.com/sheilacraig/dsh-rea-mcp.
What It Deliberately Excludes (Design Trade-offs)¶
The README explicitly lists design choices, not a feature gap list: no Host plugin, no Web routes, no state files, no installer that rewrites profiles; npm run prewarm only installs and verifies the upstream service in your own terminal. The bridge resolves npx via PATH and does not write machine-specific absolute paths. Before installing, it is recommended to read through cordis.patch.yml; this file is the plugin itself.
Prerequisites¶
- DSH version:
engines.dshdeclares>=0.2.0-rc.1 <0.3.0-0; the author has verified on 0.2.0-rc.2 (desktop). The declared range and the author’s tested version are not the same thing; you need to check against them yourself when deploying. - Node.js: Node and npm must be on the PATH of the process running DSH;
npxwill pull inrea-agents, requiring Node 22.x (>=22.19), 24.x (>=24.11), or 26+; the author has tested on Node 24. - Optional: Deep native binary analysis requires one of Hopper, Ghidra, or IDA installed locally; static JavaScript and .NET inspection do not require native engines.
Core Capabilities¶
Agent-side tool names are of the form mcp__rea__<Tool>; the exact set is released by upstream rea-agents@6.4.0, and the plugin does not pin the tool count. You can run npm run prewarm in the package directory to see the live list. Capabilities summarized in the README include:
| Domain | What REA Can Return (Summary) |
|---|---|
| Native binaries | Pseudocode, assembly, strings, symbols, calls and references |
| Go binaries | Compiler version, modules, replace, build settings, etc. |
| WASM / EVM / firmware | Segments, WAT, dispatch selectors, region extraction |
| JavaScript / Electron | Modules, imports, source maps, routes, IPC, native plugins |
| .NET assemblies | Metadata, CIL, native dependencies, build comparison |
| Android APK / devices | Manifests, decompiled methods, packages, processes, dumps |
| Websites | Page structure, scripts, network observations, screenshots |
| SQLite / crash / packet capture | Table structures, registers and signals, requests, exposed payloads, packets |
Static JS and .NET only read files you provide; runtime capture and device-related flows run the target under your user privileges, and you should read each REA guide before enabling them. Analysis happens locally, and conclusions include evidence and limitation notes.
Installation and Activation¶
In-App¶
Open Settings → Plugins → Add plugin and paste one of the following (from the README):
dsh-rea-mcp # the npm package name
github:sheilacraig/dsh-rea-mcp # the GitHub repository
The Electron desktop version uses the app’s built-in desktop profile and plugin panel; do not use the CLI to modify that profile.
CLI Profile¶
If using a CLI-held profile:
dsh plugin --profile <profile> add dsh-rea-mcp
After adding, restart DSH so the new patch layer is merged at startup.
Local Development Verification (non-git-clone installation)¶
The README requires that you do not install using a link pointing to an external checkout. To verify a local tree, package first, then install the tarball:
cd dsh-rea-mcp
npm pack # produces dsh-rea-mcp-<version>.tgz
# in the DSH plugin panel, Add plugin -> the local path of that tarball
First Launch Is Slow: Prewarm¶
The first-time pull of rea-agents@6.4.0 and its dependencies via npx may be slow, and the Harness’s first MCP connection timeout often occurs before the download completes. You should cache it outside the Harness, without timeout constraints:
npm run prewarm
This script launches npx -y rea-agents@6.4.0 mcp with the same argv as the bridge, completes initialize and tools/list, prints the service identity, latency, and the full tool list, then exits. Success here means the Harness side no longer needs to wait for downloads or discovery.
Typical Usage and Verification¶
- After installing the plugin and restarting DSH, ask the agent in a conversation to call read-only tools, for example calling
mcp__rea__inspect_go_binaryon a Go binary you own, or performing static.NETinspection (the README verification step). - If you cannot see
mcp__rea__*tools: runnpm run prewarmin the plugin directory; failure causes are usually the same as those within the Harness. A common case is that no usable Node/npm is on the PATH of the process running DSH (desktop shortcuts or editor environments differ from terminals). Harness logs will containmcp-client(rea)related lines. - Native analysis reporting “provider unavailable”: most likely none of Hopper/Ghidra/IDA was detected for that binary format.
Security and Permissions¶
The plugin hands the capability of reading and analyzing local binaries to the agent; native analysis may also drive installed Hopper/Ghidra/IDA.
- The bridge uses a stdio child process pipe and does not listen on ports.
- Default
failOnStartupError: false: if REA cannot start, the reason is logged, and the rest of the Harness functionality remains available. - The Harness file sandbox does not constrain MCP child processes; tool calls are still governed by the Harness approval policy, and the sandbox only applies to the Harness’s built-in file and shell tools.
- The upstream version is pinned at rea-agents@6.4.0; upgrading requires intentionally modifying the configuration and re-running
npm run prewarm. - Only analyze targets you own or are authorized to analyze; REA includes a responsible-use statement.
Before installing, read cordis.patch.yml and the MIT license; the plugin runs with the privileges of the current DSH process and its spawned child processes. Like the community catalog SkillHub, it is not an official DeepSeek or High-Flyer application store entry.
Conclusion¶
dsh-rea-mcp is suitable for developers who already use agents in DSH and want to integrate REA’s local reverse engineering and inspection capabilities as MCP tools into their workflows: minimal changes, auditable, no custom plugin code. For further details and a troubleshooting table, see the GitHub README (including README.zh.md).
- Catalog page: https://www.skillhub.cn/plugins/sheilacraig/dsh-rea-mcp
- Repository: https://github.com/sheilacraig/dsh-rea-mcp