Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

RE Hub 逆向统一网关 = 《逆向工程操作手册》的执行层。标准动作:rehub_detect 侦察 → rehub_route 定位场景(返回 chapter)→ rehub_book 只读那一章 → rehub_plan 出链路 → rehub_exec 执行 → rehub_evidence 记录/出报告。缺工具时用 rehub_install(默认 dry-run,dryRun:false 才下载,来源为官方 GitHub release)。原生命令用 rehub_exec backend=rea,也可直接用 mcp__rea__* 工具。

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
rehub_detectA

侦察本机逆向能力:REA/Ghidra/JADX/apktool/Chrome/adb/Frida/IDA/BinaryNinja/子 MCP 是否可用,vendor 仓库数量,缺失项附安装提示。任何逆向任务第一步都先跑它。

rehub_installA

按需下载逆向工具(官方 GitHub release,校验 sha256):jadx / apktool / jadx-headless-mcp / rea / ghidra / x64dbg / pe-sieve。默认 dry-run(只报告将下载什么);真正安装需 dryRun:false + authorize:true(安装会引入第三方代码,必须显式授权)。

rehub_scenariosA

列出 15 类逆向场景(原生/Android 静态/Android 动态/Web JS/Web 运行时/Electron/.NET/固件/抓包/归档/进程行为/漏洞研究/分诊/动态分析/UI 逆向)及各自链路。

rehub_classifyA

对象分类:判断要逆向的对象属于 网站 / App / 软件 / AI 自动化 哪一类(可细分 Android/iOS/小程序、原生/.NET/Electron/固件等),并为该类分配 静态(static) / 动态(dynamic) / UI(ui) 三条链路(含后端、步骤、章节、就绪状态)。不带 task 时返回分类目录。建议在任何逆向任务的第一步(detect 之后)调用。

rehub_routeA

意图识别与场景路由:输入用户原话 task(可带目标路径/URL),返回场景 id、置信度、理由、可用性、缺失依赖、澄清问题;同时返回对象分类(网站/App/软件/AI 自动化)与 static/dynamic/ui 三条模式链路。低置信度时必须先向用户澄清,不要硬选链路。

rehub_bookA

这本书的目录与正文:不带 chapter 返回目录(00 使用说明 + 15 个场景章 + 5 个附录);带 chapter 返回该章完整正文。chapter 可用 "04-web-js"/"04"/scenario id(如 "web-js"),附录 D 是对象分类 × 静态/动态/UI 链路矩阵,附录 E 是任务状态/能力/验证。rehub_route 返回的 chapter 直接传进来即可。

rehub_planA

生成可执行任务图(版本化):(a) 按场景 scenario;(b) 按对象+模式 objectType+mode;(c) 只传 taskId 查看已有任务。每步带 stepId / capability / 副作用标记 / 后端可用性 / 回退候选 / 期望证据;支持局部重规划(fromStep)与约束(maxSteps/maxRetries/budgetMs)。计划会落盘为任务,后续 rehub_exec 传 taskId+stepId 记录状态。

rehub_execA

执行一步逆向操作(原子步骤)。backend=rea|jadx|apktool|ghidra|adb|frida|uia|x64dbg|pe-sieve|craft-anything,op 见各后端(craft-anything 支持 version/doctor/capability/tools/commands/tool/raw;capability 是推荐入口,commands 只回紧凑索引、不打印全表)。传 taskId+stepId 时记录步骤状态(pending/running/succeeded/failed/blocked/skipped)、失败恢复类别与任务预算;有副作用的步骤(launch/attach/dump/install/extract)需要 confirm:true。返回结构化 data + 输出裁剪 + recovery。

rehub_mcpB

子 MCP 多路复用:列出/调用已配置的外部 MCP 逆向服务(js-reverse-mcp、ghidra-mcp、ida-mcp、binary-ninja-mcp 等)。action=list 看工具名,action=call 调工具。

rehub_evidenceA

证据账本 + 结论(Claim)分离:append 记录观察(带 taskId/stepId/artifactRef,自动算 sha256);claim 记录结论(observed/inferred/unknown + evidenceRefs);list 查看;report 生成统一 Markdown(含 observed/inferred/unknown、证据映射、验证覆盖)。

rehub_verifyA

三层验证:execution(步骤是否成功且输出可解析)/ fact(结论是否有 observation 证据支持;supported/contradicted/insufficient/inferred/unknown)/ delivery(交付物是否满足 desiredOutput)。传 taskId 使用任务状态与已记录 claims;也可传 inline claims + evidenceRefs 做无状态校验。执行成功 ≠ 事实成立。

Prompts

Interactive templates invoked by user choice

NameDescription
reverse-engineering-router官方 skill:逆向任务意图识别 + 场景分类 + 链路路由规则(与 rehub_* 工具配套)。
scenario-chain按场景 id 返回该链路的执行步骤与注意事项。
chapter按章 id 取《逆向工程操作手册》正文;不传 chapter 则返回目录。

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 11 tools

Disambiguation3/5

Most tools target distinct pipeline stages (detect, install, plan, exec, verify, evidence, mcp), but the orientation/discovery surface overlaps heavily. rehub_classify and rehub_route both return object classification plus static/dynamic/ui pipelines, and rehub_scenarios/rehub_book also serve as entry-point catalogs, so an agent could plausibly misselect among them for 'how do I start'.

Naming Consistency4/5

All tools share a clean `rehub_` snake_case prefix, which is highly predictable. Most use action verbs (detect, install, classify, route, verify, plan, exec), though a few are nouns (scenarios, book, evidence, mcp), a minor deviation.

Tool Count5/5

11 tools is well within the sweet spot for a meta-orchestration hub. Each tool maps to a clear role in the recon→plan→execute→verify→evidence lifecycle, and none appear redundant enough to cut.

Completeness4/5

The surface covers the full RE workflow: capability recon, tool install, scenario catalog, routing, planning, step execution, sub-MCP access, evidence ledger, and verification. Minor gaps exist (e.g. no explicit tool/environment teardown or artifact listing), but core workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues