Yotta Verify Mcp

io.github.YottaMeta由 GitHub 账号 YottaMeta 发布v0.4.3更新于 Oct 24, 2026

Pre-install security scanner for AI agent skills (local stdio MCP). Offline static scan; no upload.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

本地 stdio MCP 服务器,在安装前对 Agent 技能、插件和 MCP 包做静态扫描,检查提示注入等风险。

可以做什么
扫描技能目录、压缩包或 npm 包,返回结论、严重级别计数以及提示注入、恶意模式和 SKILL.md 完整性方面的发现。生成审计徽章,输出本地 SVG 或 shields.io 链接,并可合并其他结论。运行 CI 门禁,当最严重级别超过阈值时判定失败。生成 Markdown 或 JSON 格式的验证报告,可写入指定文件。
适用场景
适合在安装第三方技能、插件或 MCP 服务器之前做一次确定性的离线检查,也适合在 CI 或 Agent 工作流中加入可重复的信任门禁。
运行要求
以本地进程通过 stdio 运行,从 npm 包安装。扫描器本身只依赖 Python 3.8+ 标准库,支持 Windows、Linux 和 macOS。未声明账号、API 密钥或环境变量。按名称扫描 npm 包时会把该公开包下载到临时目录,这种情况需要网络访问。
安装前请注意
它只读取并报告,不执行、不修复、也不隔离被扫描的代码,是否安装仍需自行判断。目录扫描完全离线,但按名称扫描 npm 包会从仓库下载。徽章和报告工具可以向指定路径写入文件。只扫描你有权评估的目标。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Yotta Verify Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Language: English · 中文

[yotta-verify-mcp banner]

yotta-verify-mcp · 元信MCP (YuanXin MCP)

YottaMeta's pre-install security scanner for Agent skills, exposed as a stdio MCP server. Before you install any skill, plugin or MCP server, it runs a deterministic static scan — prompt injection, malicious patterns, SKILL.md integrity and permissions — and returns a verdict, an audited badge, a CI gate and a report as MCP tools.

Activates when configuring the 元信 MCP server in an MCP client, wiring a trust-scan into an agent / workflow, or calling the MCP tools.

Zero dependencies (Python 3.8+ standard library); Windows + Linux + macOS; fully local and offline — no network calls, no execution of the scanned code.

[License: MIT] [Standard: agentskills.io] [npm package] [GitHub stars] [last commit] [PRs welcome]

What it is

The skill / plugin market has a trust problem: a 2025 survey of 22,511 skills found 140,963 issues, and 36% contain prompt injection. 元信 MCP gives you a deterministic answer before you install — the same scan as the yotta-verify CLI, exposed as four MCP tools so any MCP client (Claude, VS Code, Codex, Cursor, …) can call it.

It is a pre-install verifier, not a sandbox and not a runtime monitor: it only reads files and prints a report. It never executes the scanned code, never connects to the network for the scan, and never fixes anything.

Why use it

AdvantageDescription
Trust before installA deterministic verdict for any skill / MCP server, instead of "trust me"
Zero dependencyPython 3.8+ standard library; no daemon / database / network
Fully local offlineScans directories and npm tarballs on disk; nothing is executed or uploaded
Drop into any MCP clientStandard stdio MCP server — configure the server, and the four tools appear
Family synergySame rules table as yotta-verify (single source); verdicts merge with yotta-vetter / yotta-security-audit
Free & openMIT; the whole scanner is free

MCP tools

ToolWhat it does
scan_skillPre-install scan: target (dir / .tgz / npm package) → verdict + severity counts + findings
generate_badgeAudited badge: local SVG + shields.io URL; folds in validate / vetter / audit / version / tests
gate_checkCI gate: fail when the worst severity exceeds max_severity (default medium)
get_reportVerification report: Markdown or JSON, same format as the CLI

MCP client configuration

MCP configuration is optional. An AI agent may show you the target config file, the exact mcpServers JSON, and the effect, then wait for your explicit consent before writing anything. If you decline, use the bundled CLI scanner directly; the scan result is unchanged.

Tool reference

scan_skill

Scan a skill directory or package before install.

ParamTypeRequiredMeaning
targetstringyesSkill directory path, .tgz / .tar.gz path, or npm package name (auto npm pack to a temp dir, then scan)

Returns a JSON result: verdict, severity counts, and findings (prompt injection / malicious patterns / SKILL.md integrity).

generate_badge

Generate an audited badge (local SVG + shields.io URL).

ParamTypeMeaning
targetstringOptional: scan this to derive the verdict
verdictstringOptional: set the verdict directly
validatestringOptional: pass / fail (validate-skill result)
vetter / auditstringOptional: external verdicts to fold in
versionstringOptional: version label. Defaults to the scanner (yotta-verify) version (e.g. 0.1.1)
testsintegerOptional: engine test count
outstringOptional: write the SVG to this path

Note: the badge's version segment reflects the version of the bundled scanning engine (yotta-verify), which may differ from the MCP package version. Pass version to override.

gate_check

CI pre-install gate.

ParamTypeMeaning
targetstringRequired: dir / package to scan
max_severitystringOptional: info / low / medium / high / critical (default medium)

Returns pass, verdict, worst, max_severity and an exit code.

get_report

Generate a verification report.

ParamTypeMeaning
targetstringRequired: dir / package to scan
formatstringOptional: json / markdown (default markdown)
outstringOptional: write the report to this path

Boundary

This is a local, offline, static scan:

  • Directory scan is fully offline — content never leaves your machine.
  • npm package scan only downloads the public package into a temporary directory (then removes it); it does not upload your content and does not execute the scanned package code.
  • It does not perform dynamic analysis, does not fix anything, and does not make the final decision. Treat the verdict as a strong signal and confirm any "install / don't install" decision yourself.
  • Only scan targets you are authorised to evaluate.

Installation of the skill

The package also ships a SKILL.md so an agent can explain how to configure and use the MCP server with explicit user consent. Pick any of the four methods below (skill files come from npm; GitHub can be slow without a proxy).

Method 1: npm one-liner (recommended)

text
# Optional China mirror: npm config set registry https://registry.npmmirror.comnpx -y @yottameta/yotta-verify-mcp --agent <agent-name>      # install to the agent's default user-level skills dirnpx -y @yottameta/yotta-verify-mcp --dir <your-skills-dir>   # point to the skills dir itself (e.g. ~/.codex/skills)
  • --agent <name> installs to that agent's default user-level directory; --list shows each agent's default directory.
  • --dir <path> installs to the given directory.
  • The installer also starts an MCP server when run with no arguments: npx -y @yottameta/yotta-verify-mcp.

Method 2: git clone (developers / git available)

text
git clone https://github.com/YottaMeta/yotta-verify-mcp.git <your-skills-dir>/yotta-verify-mcp

Method 3: GitHub Download ZIP (manual / no git)

On the GitHub repository YottaMeta/yotta-verify-mcp, click Code → Download ZIP, unzip it and put the yotta-verify-mcp folder into the agent's skills directory.

Method 4: install.sh (multi-agent one-liner script)

text
bash install.sh --agent <name>   # install to the agent's default user-level directorybash install.sh --dir <path>     # install to the given directorybash install.sh --list           # list agents -> default directories

Development & validation

Repository validation includes the MCP engine suite and a documentation consent regression:

bash
# MCP engine suite (Python 3.8 / 3.13)python scripts/test_yotta_verify_mcp.py
# Documentation consent regressionnode --test test/docs-consent.test.js
# Run the MCP server directly for debuggingpython scripts/yotta_verify_mcp.py

References: references/trust-checklist.md (pre-install trust checklist for MCP servers / plugins).

License

MIT © YottaMeta — see LICENSE.

来源:README.md,提交 053b54f

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.4.3最新Sep 23, 2026
  2. v0.4.2Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分