REA MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
dsh-rea
技能来自 morluto/rea(MIT)。本仓库只是把它包装成 DSH 插件。
DeepSeek Harness 插件:一个开关,同时开/关
REA MCP 服务 —— 207 个逆向分析工具(Ghidra / IDA / jadx / apktool / frida / adb / pcap / 固件 / 浏览器 / Electron / 托管代码 …)
REA 的三个工作流技能 ——
reverse-engineer-anything(含 6 篇 references)、rea-tool-design、rea-changelog-update
关掉插件 → 工具和技能一起消失;打开 → 一起回来。改开关无需重启。
安装
# 方式一:直接从 GitHub 装(本仓库未发布到 npm)
dsh plugin --profile desktop add github:BJ1919810/dsh-rea
# 方式二:clone 后按本地路径装(最稳,不依赖 GitHub 安装链)
git clone https://github.com/BJ1919810/dsh-rea
dsh plugin --profile desktop add file:D:/path/to/dsh-rea锁定版本(本仓库已打 tag):
dsh plugin --profile desktop add github:BJ1919810/dsh-rea#v1.0.0--profile desktop 是 GUI 用的 profile;TUI 用户改成 --profile tui。
装完在插件页会出现 dsh-rea 这一项,那个开关就是总开关。
方式一用的是 pnpm 的
github:spec,作者未实测 DSH 的供应链策略是否放行; 装不上就用方式二。已实测的只有:Windows x64 + DSH Desktop + REA 6.5.0 + 方式二。
Related MCP server: REA
前置:分析引擎要自备
本插件不安装任何引擎(和 REA 本身一样)。REA 只是适配层,引擎缺了对应工具就会报
provider_unavailable。常用组合:
用途 | 需要自备 |
原生 PE/ELF 静态分析 | Ghidra 12.1.x + JDK 21+(或自备 IDA,见 REA 文档) |
APK 资源 / DEX | apktool、jadx-headless-mcp 0.7.1 的 |
真机 / 模拟器 | Android platform-tools(adb) |
环境变量
本插件不写死任何路径。REA 的 MCP 服务继承 DSH 进程的环境,所以先把变量设成用户/系统环境变量,再启动 DSH:
GHIDRA_INSTALL_DIR = D:\tools\ghidra_12.1.4_PUBLIC
JAVA_HOME = D:\tools\jdk-21
REA_JADX_MCP_JAR = D:\tools\jadx-headless-mcp-0.7.1-all.jar
REA_APKTOOL_COMMAND = D:\tools\apktool\apktool.cmd
REA_ADB_PATH = D:\Android\Sdk\platform-tools\adb.exe只需要设你实际要用的那几个。查是否就绪:
npx -y rea-agents@latest doctor --json不设也能装上:插件会正常安装、MCP 服务也能启动,只是对应工具会以 capability_unavailable
失败,并在提示里点名该设哪个变量(实测:未设 REA_APKTOOL_COMMAND 时,inspect_apktool_client
直接返回「apktool launcher was not found … Set REA_APKTOOL_COMMAND to an absolute apktool launcher」)。
设完变量需要重启 DSH(它只在启动时读环境)。
macOS / Linux
启动器用一条表达式按平台自动选形态(Windows 上 npx 是 npx.cmd,必须经 cmd.exe):
command: !!js "process.platform === 'win32' ? 'cmd.exe' : 'npx'"
args: !!js "process.platform === 'win32' ? ['/d','/c','npx','-y','rea-agents@latest','mcp'] : ['-y','rea-agents@latest','mcp']"表达式在 bundle patch 里被求值已实测(Windows x64 → 正确取 cmd.exe 分支,207 工具全部可用);
非 Windows 那条 npx 分支没有在 macOS/Linux 上跑过。不想用表达式就把这两行换成字面量(见 cordis.patch.yml 注释)。
与 REA 官方注册的关系(重要)
如果你以前跑过 rea setup --client dsh,REA 已经往 home patch ~/.dsh/cordis.patch.yml
写过一份它自己的 rea-mcp。那会和本插件的条目撞 id,而且它不受本插件开关控制。
用本插件前请删掉 home patch 里那份,并把该文件恢复成 []:
[]⚠️ home patch 不能留空文件或纯注释(DSH 启动会失败),停用该层必须写 []。
卸载
dsh plugin --profile desktop remove dsh-rea引擎目录与本仓库无关,不会被删除。
更新技能内容
技能文件的权威来源是 morluto/rea 的 .agents/skills:
node sync-skills.mjs D:\path\to\rea-checkout
node test/smoke.mjs验证状态(作者实测)
项 | 状态 |
Windows x64 + DSH Desktop + 本地路径安装 | ✅ 实测:开关 ON → |
| ✅ 实测(2026-10-16):pnpm 6.4s 装好,DSH 供应链策略放行( |
| ✅ 实测(Windows x64:正确取 |
未设环境变量时的行为 | ✅ 实测:装得上、服务起得来,工具报 |
macOS / Linux 实际运行 | ⚠️ 未实测(只验了表达式求值,没验 |
致谢与许可
REA(
rea-agents)作者 morluto,MIT License。 本仓库skills/下的三个技能(含reverse-engineer-anything/references/6 篇)是该项目.agents/skills/的原样副本,未修改内容;运行时由lib/index.js解析 frontmatter 供正文。 原始许可证见LICENSE-REA,出处与改动说明见NOTICE。本插件自身代码(
lib/、cordis.patch.yml、脚本)MIT License,见LICENSE。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Evidence-oriented REA + Ghidra static-analysis workflows, read-only PE32 and Delphi VMT tools.
Offline methodology engine for authorized penetration testing, CTF, and security research.
454 OSINT recon tools + server-side entity correlation & person sweeps. Keyless.
55 tools, 7 Resources, Sigma rules, email SPF/DMARC, MITRE, CVE/KEV, risk_score. No key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides 7 reverse-engineering tools (hexdump, disasm, strings, xref, Ghidra decompilation, angr symbolic execution, OLLVM deobfuscation) for LLM agents like hermes-agent and Claude Desktop.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to inspect and reverse engineer native binaries, JavaScript/Electron applications, .NET assemblies, websites, and runtime behavior, returning evidence-backed findings that can be explained, implemented, or tested.351,335 npm4MIT
- FlicenseNot gradedqualityAmaintenanceEnables using Kali Linux tools such as Nmap, nm, objdump, strings, and tshark for network scanning, binary and symbol analysis, string extraction, and network traffic analysis, plus sandboxed Docker command execution.-
- AlicenseNot gradedqualityBmaintenanceConnects AI agents to reverse-engineering tools that inspect native binaries, JavaScript/Electron apps, .NET assemblies, websites, and runtime behavior without source code. Returns pseudocode, references, and evidence so agents can explain how a feature works or reimplement it.351,335 npm7MIT