Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@reglow/reui-mcp

Latest version: v0.3.16

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: xiangcaozhu
18 Versions
1.6K Downloads

Scan summary

@reglow/reui-mcp was last scanned on 28 Nov 2026 at version 0.3.16. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 18 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.3.16.
  • Downloads: 1,586 downloads.

Versions

18 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.16 LATEST 28 Nov 2026 No rules fired
0.3.15 20 Nov 2026 No rules fired
0.3.14 10 Nov 2026 No rules fired
0.3.13 7 Nov 2026 Not shown
0.3.12 3 Nov 2026 Not shown

No rules fired in 0.3.16

Findings

Findings for v0.3.16. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.16; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@reglow/reui-mcp

ReUI 组件库的 MCP 服务器 与 Skills 知识包,形态对标 Semi Design MCP/Skills: MCP 负责「查得到」(组件文档 / 示例 / 源码 / 函数实现 / 检索 / 指南), Skills 负责「怎么用」(引入方式、主题、国际化、Nuxt、扩展规范与常见陷阱)。

什么是 MCP?

Model Context Protocol(MCP)是一种标准化协议,用于连接 AI 助手与外部数据源和工具。通过 MCP,AI 助手可以动态发现和调用各种能力,而无需为每个工具单独集成。 MCP 的核心价值:

  • 统一接口:提供标准化的方式让 AI 与外部系统交互
  • 动态发现:AI 可以自动发现可用的工具和资源
  • 易于扩展:新增工具只需实现 MCP 协议即可被 AI 使用

什么是 Skills?

Skills(技能)是一种模块化的能力扩展方式,允许 AI 助手通过添加预定义的指令和工具来增强其功能。每个 Skill 包含详细的说明文档和相关的代码资源,使 AI 能够在特定任务中表现得更加专业和高效。 Skills 的核心价值:

  • 领域专长:为 AI 添加特定领域的专业知识和最佳实践
  • 标准化:统一团队的开发流程和规范
  • 可复用:快速复用成功经验和解决方案

快速开始

0. 一键配置(推荐,Trae / CodeBuddy / Qoder / Cursor / Claude)

一条命令同时写好 MCP 配置并安装 Skills:

npx -y -p @reglow/reui-mcp reui-setup                              # 默认 trae,codebuddy,qoder
npx -y -p @reglow/reui-mcp reui-setup --tools trae,qoder           # 指定工具
npx -y -p @reglow/reui-mcp reui-setup --tools all --scope user     # 全部工具 / 用户级
npx -y -p @reglow/reui-mcp reui-setup --dry-run                    # 先预览再执行

等价写法:npx -y @reglow/reui-mcp --setup trae,codebuddy,qoder。

各工具的项目级落地位置与仍需手动完成的步骤:

工具 Skills 目录 MCP 配置文件 仍需手动完成
Trae .trae/skills/<skill>/ .trae/mcp.json 设置 → MCP 打开「启用项目级 MCP」;用户级为 %APPDATA%/Trae/User/mcp.json(macOS/Linux 见 --list-tools)
CodeBuddy .codebuddy/skills/<skill>/ .mcp.json(JSONC) IDE 需在对话面板 CodeBuddy Settings → MCP → Add MCP 粘贴同一条目;CLI 直接生效;用户级 ~/.codebuddy/.mcp.json
Qoder .qoder/skills/<skill>/ .mcp.json(或 .qoder/settings.json) 项目级 MCP 默认需批准(或 mcp.enableAllProjectMcpServers: true);CLI 可 qoder mcp add reui-mcp -s project -- npx -y @reglow/reui-mcp;/mcp reload
Cursor / Claude / 通用 .cursor/skills/、.claude/skills/、.skills/ .cursor/mcp.json、.mcp.json 见 reui-setup --list-tools 输出
  • 写入是幂等合并:只增改 mcpServers["reui-mcp"],其它服务器与顶层字段保持不变; 配置文件为非法 JSON 时默认报错不改动,--force 会先备份为 *.bak 再重写。
  • 查看支持的工具与路径:npx -y @reglow/reui-mcp --list-tools。
1. 手动配置 MCP(任意客户端)

在 Trae / CodeBuddy / Qoder / Cursor / Claude Desktop 等客户端的 mcpServers 中加入:

{
  "mcpServers": {
    "reui-mcp": {
      "command": "npx",
      "args": ["-y", "@reglow/reui-mcp"]
    }
  }
}

命令行方式(Trae / CodeBuddy / Qoder /Claude Code / Qoder CLI 等):

claude mcp add reui-mcp -- npx -y @reglow/reui-mcp
qoder mcp add reui-mcp -s project -- npx -y @reglow/reui-mcp
2. 仅安装 Skills 知识包
npx -y -p @reglow/reui-mcp reui-skills                          # 默认写入 .trae/skills
npx -y -p @reglow/reui-mcp reui-skills --target qoder           # .qoder/skills
npx -y -p @reglow/reui-mcp reui-skills --target codebuddy       # .codebuddy/skills
npx -y -p @reglow/reui-mcp reui-skills --all                    # 全部已知工具目录
npx -y -p @reglow/reui-mcp reui-skills --list                   # 查看可用目标

也可通过主命令安装:npx -y @reglow/reui-mcp --install-skills --target trae。

安装后在项目中的位置:

<project>/.trae/skills/reui-components/
├── SKILL.md            技能入口(何时使用 + 工具速查 + 硬性规则)
├── WORKFLOWS.md        MCP 工具工作流与完整任务示例
├── BEST_PRACTICES.md   引入方式、主题、i18n、Nuxt、扩展与常见陷阱
└── COMPONENTS.md       按分类的组件选型清单(含官网文档链接)

工具(Tools)

工具 参数 用途
get_reui_document component? category? version? source? 不传 component 返回按分类的组件总览;传则返回完整文档(README:用法、示例、Props/Events/Slots 表格、Semantic DOM)
get_reui_code_examples component index? lang? version? 提取文档中可复制的 Vue / TS 示例,保留小节标题
list_component_files component version? 组件源码文件清单(路径 / 行数 / 字节)
get_file_code component file startLine? endLine? version? 读取组件目录内文件内容(带路径穿越防护)
get_function_code component name file? version? 提取函数 / 常量 / 类 / 接口的完整实现;未命中时返回相近与可用符号
search_reui_docs query component? category? limit? version? 跨组件文档与源码检索(多关键词「全部命中」),返回 文件:行号 + 上下文 + 文档链接
get_reui_guide topic? version? 库级指南章节:overview / install / theme / i18n / nuxt / build / conventions

所有返回都以「知识源 + 组件库版本」开头(如 知识源:项目本地已安装包|组件库版本:0.2.0), 当内容来自官方文档站点兜底时会额外标注 ⚠️,避免 AI 误判文档版本。

知识来源

按优先级自动选择,均可用 version 参数切换:

来源 触发条件 内容
仓库工作区 --root <reui 仓库路径> 或在本仓库内运行 组件 README + 全部源码 + 库级 guide.md
项目本地安装 项目已安装 @reglow/reui(默认) 与项目版本完全一致的文档与源码
指定 npm 版本 工具的 version 参数 / 启动参数 --default-version 下载该版本 tarball 到缓存后离线读取:含 components/** 时为完整文档与源码;仅有 dist/** 时提供 .d.ts 类型 API 与编译产物
官方文档站点 包内缺少 README 时自动兜底(source: "site" 可强制) 抓取 https://reglow.huoli.tech/components-library/reui 组件页并转 Markdown

缓存目录:os.tmpdir()/reui-mcp-cache/<version>(可用环境变量 REUI_MCP_CACHE 覆盖)。

CLI 选项

选项 说明
--root <dir> 指定 ReUI 仓库工作区(开发组件库时使用)
--default-version <ver> 工具未传 version 时默认使用的版本(如 0.2.0、latest、^0.2.0)
--no-site 禁用官方文档站点兜底(完全离线)
--check 自检:打印知识源、版本、组件数量后退出
--setup [tools] 一键配置 AI 工具(MCP 配置 + Skills),默认 trae,codebuddy,qoder;支持 --scope user、--dry-run、--force、--skills-only、--mcp-only
--list-tools 列出支持的工具、MCP 配置路径(项目级 / 用户级)与 Skills 目录
--install-skills 安装 Skills 知识包(可配合 --target / --all / --force)
--print-config 打印 MCP 客户端配置片段
-v, --version / -h, --help 版本 / 帮助

三个可执行入口(bin):

命令 作用
reui-mcp MCP stdio 服务器(默认行为);另提供 --check / --setup / --install-skills / --list-tools
reui-setup 为 Trae / CodeBuddy / Qoder 等一键写 MCP 配置 + 安装 Skills
reui-skills 仅把 Skills 知识包装到指定工具目录
# 自检示例
npx -y @reglow/reui-mcp --check
# 查看各工具路径
npx -y @reglow/reui-mcp --list-tools

开发与测试

# 安装依赖(SDK 只在本子包内,@reglow/reui 消费方不受影响)
cd mcp && npm install

# 单测(包含直接用 SDK Client 连接真实 stdio 服务器的端到端用例)
npx vitest run                                   # 在 mcp/ 目录
npx vitest run --config mcp/vitest.config.mjs    # 或在仓库根目录

# 需要联网验证「指定版本」链路时
$env:REUI_MCP_NETWORK_TEST="1"; npx vitest run   # PowerShell

目录结构:

mcp/
├── index.mjs        bin:reui-mcp(stdio 服务器入口 / --check / --setup / --install-skills)
├── server.mjs       MCP 服务器与 7 个工具的实现
├── knowledge.mjs    知识源:本地 / 指定版本 / 官网兜底 + 符号提取与检索
├── catalog.mjs      内置组件目录(按官网分类,含中文说明与文档链接)
├── tar.mjs          零依赖 tgz 解包(PAX / GNU 长文件名)
├── site.mjs         官网 HTML → Markdown 兜底抓取
├── integrations.mjs AI 工具集成规格(Trae / CodeBuddy / Qoder / Cursor / Claude 的 MCP 配置与 Skills 目录)
├── setup.mjs        bin:reui-setup(一键写 MCP 配置 + 装 Skills,含 JSONC 解析与幂等合并)
├── skills.mjs       bin:reui-skills(仅安装 Skills 知识包)
├── skills/          内置 Skills 知识包(随包发布)
└── __tests__/       单测(knowledge / tar / site / skills / setup / server 端到端)

⚠️ stdio 模式下 stdout 仅供协议通信,日志一律走 stderr。

发布

@reglow/reui-mcp 与 @reglow/reui 是两个独立包(同仓库、可分别发布,互不拖累依赖):

cd mcp
npm version patch        # 按需
npm publish              # 需要 npm 登录且有 @reglow 权限

files 已包含 skills/,因此 Skills 知识包随 MCP 包一起发布,版本一致。

相关资源

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @reglow/reui-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229