
Jarroba Tools · Test audit
io.github.Invarato由 GitHub 账号 Invarato 发布v0.3.0更新于 Oct 30, 2026
Audits tests instead of writing them: what each one really asserts. 4 tools, local.
发布方自己的服务:audit.domains - Domain Valuation
概览
本地 MCP 服务器,用于审计已有测试文件:每个测试真正断言了什么、一次改动是加强还是削弱了测试、哪些用例被禁用,且不执行任何代码。
- 可以做什么
- 逐个用例审计测试文件:哪些断言检查具体值、哪些只检查存在性、哪些完全没有断言、哪些被禁用,并给出判断依据。
- 比较同一测试文件的两个版本,判断改动是加强还是削弱了安全网。
- 根据 TypeScript 类型或 JSON Schema 推导值得编写的用例,包括等价类划分、边界值和属性测试。
- 借助 git blame 列出被禁用的测试及其存在时长,最旧的排在前面。
- 适用场景
- 当智能体倾向于通过放宽匹配器、删除断言或跳过用例来让测试变绿时,可用它从模型之外进行核查。也适合在宣称完成前审查测试改动,或找出覆盖率报告里看不到的长期禁用测试。
- 运行要求
- 通过 stdio 在本机运行,通常用 npx 从 npm 包启动,因此需要 Node.js,首次下载需要网络。无需账号、端点或 API 密钥。环境变量 JARROBA_MCP_DOMAINS 用于选择发布哪些工具域。test_debt 需要目标文件夹中有 git。
安装
在 SourceWeft 中
- 打开 控制台中的 Jarroba Tools · Test audit,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@jarroba/mcp-tests
An MCP server that audits tests instead of writing them — and is meant to be pointed at your own work.
4 tools · ~1.7k tokens of context · stdio, runs on your machine · nothing is uploaded.
Why this exists
Told to "make the tests pass", an agent has two roads: diagnose the bug, or widen the matcher / drop the assertion / skip the case. The second is cheaper, it produces green, and it looks like work.
A better model does not fix that, and neither does asking nicely in the prompt — the incentive is structural. It needs a judge outside the model. That is what this is: the only part of the Jarroba Tools catalogue whose purpose is to disagree with whoever calls it.
The tools
Executes nothing. No test is run, no code is evaluated: it parses with tree-sitter.
It does not accuse lightly
A matcher it does not recognize comes back as "indeterminate", never as "asserts nothing". When
in doubt it abstains, because a false accusation is how a tool like this gets switched off. If your
team has a home-made expect(), declare it in dialects and it stops hedging.
Measured against a labelled corpus in five languages (TypeScript, JavaScript, Python, Java, Go): 21 accusations, 21 of them true, zero false positives, and zero cases the parser failed to delimit. That is the honest size of the measurement — 21 accusations, not a benchmark — and it is re-run on every change, so it is a floor rather than a claim.
Privacy
Transport is stdio: your MCP host launches this as a subprocess and talks over stdin/stdout.
There is no endpoint, no account and no telemetry. npx downloads the package from npm the first
time; after that nothing goes out.
test_audit and test_debt accept file paths and read whatever the process that launched them can
read, so they are exactly as privileged as your MCP host. test_debt also shells out to git blame
in the folder you point it at — that is where the age comes from, and it is the one thing a browser
could never do.
More
Want everything (90 tools: logs by path, databases on a real ephemeral PostgreSQL, JTD diagrams,
SPARQL, make simulation)? @jarroba/mcp.
Just the logs? @jarroba/mcp-logs.
MIT — see LICENSE. Source: github.com/Invarato/jarroba-mcp.
This package redistributes tree-sitter grammars (MIT, third-party); their notices are in
dist/tree-sitter/NOTICE.txt.
来源:mcp/packages/tests/README.md,提交 b94171a
工具
0版本历史
10- v0.3.0最新Oct 29, 2026
- v0.2.0Oct 23, 2026
- v0.1.11Oct 21, 2026
- v0.1.10Oct 18, 2026
- v0.1.9Oct 9, 2026
- v0.1.7Oct 2, 2026
- v0.1.6Sep 29, 2026
- v0.1.5Sep 26, 2026
- v0.1.4Sep 16, 2026
- v0.1.2Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Audit 集成
audit.domains - Domain Valuation
domains.audit官方发布者
确定性的域名估值服务:提供公允价值区间、真实可比成交记录、可用性查询,以及经 DNS 验证的待售域名市场。
Revenue Agent — OpenAPI Audit & Change Detection
news.prh官方发布者
一个远程 MCP 端点,用于审计 OpenAPI 规范并检测 API 变更,每次分析通过 Base 上的 x402 收取 0.10 USDC。

SEO Audit & Broken Link Checker
由 GitHub 账号 prometheus-maker 发布
由 Apify 托管的 MCP 服务器,用于审计网站页面的 SEO 元数据并查找失效链接和图片,返回每页评分。

FinePrint AI Legal Risk & Contract Audit MCP Server
由 GitHub 账号 RitualDev-Lab 发布
本地内存中运行的合同风险扫描器,为编码代理评估法律合同、NDA 与租约风险并生成修订建议。

Mcp Supply Audit
由 GitHub 账号 kimmawla 发布
把 MCP 服务器当作供应链产物来审计:注册表条目、PyPI/npm 包、客户端配置与工具定义,全部为只读静态检查。