ResiliReplay
Break an MCP server on purpose. Replay the failure. Ship the regression.
ResiliReplay is the MCP reliability engine behind proof-carrying recovery changes: inspect one reviewed target, inject a deterministic fault, bound retries and duplicate effects, preserve evidence, and turn the failure into an executable regression.

npx --yes [email protected] mcp demo
ResiliReplay MCP demo
✓ Clean MCP tool call
✓ Deterministic failure reproduced
✓ Recovery bounded to one retry
✓ Duplicate effects observed: 0
✓ Regression generated
✓ Regression executed
MCP reliability check passed.
Evidence: sha256:4d2479b98453732d6011c699c061d023353c8d5cf4159bdf6c5b096961f94c06
The demo is local, deterministic, credential-free, and cleaned up after it runs. It needs Node.js
22 or 24—no repository checkout, configuration, account, API key, paid model, or remote MCP server.
This quickstart pins the released 0.7.1 artifact for reproducibility. Later @latest examples are
convenient for following current documentation; pin an exact version in CI and retained evidence.
Product site ·
npm package ·
real MCP CI example ·
machine-readable capabilities
Ten-second before and after
| Before | After ResiliReplay |
|---|
| ✓ Clean tool call | ✓ Clean control |
| ? Recovery behavior unknown | ✓ Deterministic failure reproduced |
| ? Duplicate effect unknown | ✓ Recovery bounded |
| ? No regression | ✓ Duplicate effects: 0 |
| ✓ Regression generated and executed |
What it does
- Inject deterministic MCP failures.
- Verify bounded recovery and duplicate-effect behavior.
- Generate executable regressions for CI.
Try your MCP server
Start with an Inspector-compatible mcp.json. A dry-run reads and sanitizes the selected entry but
starts no process, opens no socket, calls no tool, and writes nothing.
npx --yes resilireplay@latest mcp test --config ./mcp.json --server my-server --tool echo --safety inert --dry-run
Review the selected server, transport, tool, fault, retry/time bounds, and plan SHA-256. Execution
requires that exact digest:
npx --yes resilireplay@latest mcp test --config ./mcp.json --server my-server --tool echo --safety inert --approve <plan-sha256>
Use the same approved plan in CI and request concise machine-readable evidence:
npx --yes resilireplay@latest mcp test --config ./mcp.json --server my-server --tool echo --safety inert --approve <plan-sha256> --json
mcp test connects with the MCP SDK, discovers only the reviewed operation, runs a clean call,
injects one declared result-boundary fault, applies the bounded retry, counts duplicate effects,
generates a causal regression, executes it, and closes owned resources. mcp audit remains available
with its existing options for compatibility.
CI
The repository contains a complete packed-package example using the official MCP Everything
reference server:
name: MCP reliability
on: [pull_request]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
package-manager-cache: false
- run: node scripts/verify-packed-mcp-example.mjs
See the standalone example for its exact package integrity,
SDK/runtime, protocol revision, inert echo operation, expected output, and generated regression.
It installs the packed CLI in a clean temporary npm project on Windows and Linux CI. This is
product-owned field validation, not an independent adopter claim.
Safety boundaries
- Local demo: no network target, telemetry, credentials, account, or paid model.
- Real targets: one reviewed config entry and one explicit tool allowlist entry.
- Execution: an exact plan digest, finite timeouts, and at most 10 retries; examples use one.
- Evidence: metadata and hashes replace tool arguments and result bodies before persistence.
- Filesystem: contained paths, link-escape rejection, exclusive regression publication, and cleanup.