ResiliReplay

io.github.aliengineering-byte由 GitHub 账号 aliengineering-byte 发布v0.7.1更新于 Oct 24, 2026

Run bounded, deterministic MCP reliability tests and generate executable regressions.

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

概览

AI 生成的概览

ResiliReplay 是一个本地 MCP 服务器,用于对 MCP 服务器运行有界、确定性的可靠性测试,并把失败转化为可执行的回归测试。

可以做什么
运行内置演示,复现一次确定性失败、重试一次并记录零重复副作用,无需配置或凭据。依据配置文件对已审查的 MCP 服务器做试运行测试计划,再按计划哈希批准执行。通过 JSON 输出、输出路径、回归开关、超时和重试次数调整运行。把因果失败生成并执行回归测试,并打印证据摘要。保留既有审计流程,证据以元数据和哈希形式保存。
适用场景
当你需要检查 MCP 服务器在注入故障下的表现、验证有界恢复与无重复副作用,或在依赖某服务器前把观察到的失败变成可重复的回归测试时使用。
运行要求
通过 npx 从 npm 包 resilireplay 以 stdio 在本地运行,支持 Node.js 22 和 24。测试真实服务器需要配置文件和服务器名称;演示不需要账户、凭据、付费模型或远程目标。
安装前请注意
执行测试计划会作用于目标服务器,因此先用试运行查看计划,再用计划哈希批准。证据设计为保存元数据和哈希而非完整工具内容或凭据,但分享输出前仍应确认一次运行捕获了什么。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ResiliReplay

Inject deterministic MCP failures, verify bounded recovery and duplicate-effect behavior, and turn causal failures into executable regression tests.

console
npx --yes resilireplay@latest mcp demo

The demo is a bundled local fixture: no config, account, credential, paid model, telemetry, or remote target. It runs a clean call, reproduces one deterministic failure, retries once, records zero duplicate effects, generates and executes a regression, prints an evidence digest, and cleans up.

Test a reviewed server without starting it:

console
npx --yes resilireplay@latest mcp test --config ./mcp.json --server my-server --tool echo --safety inert --dry-run

Repeat the displayed plan with --approve <plan-sha256> to execute it. --json, --output, --no-regression, --timeout, and --retries map to the same bounded engine. The existing mcp audit workflow remains supported.

console
npx --yes resilireplay@latest mcp serve --help

Node.js 22 and 24 are supported. Evidence persists metadata and hashes instead of unrestricted tool bodies or credentials. Remote targets retain explicit ownership controls.

Agent-runtime capture, campaigns, replay, Studio, adapters, MCP-RES v0.1/v0.2, security guidance, and the real packed-package MCP Everything example are documented in the repository README.

Apache-2.0.

来源:packages/cli/README.md,提交 f101725

工具

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

版本历史

1
  1. v0.7.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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