Record real traffic
Proxy your dev MCP session over stdio or HTTP. Every JSON-RPC call lands as a numbered fixture. Filter by method, redact secrets by JSON Pointer, cap by count or duration.
MCPReplay records real client traffic, replays it on every commit, and fails the build the moment a tool response stops matching contract.
$ npx mcpreplay record
✓ captured 12 tool calls → tests/mcp/fixtures.json
# later, in CI…
$ npx mcpreplay replay
✗ tools/search: response shape drifted
- results: [{ title, url: "string" }]
+ results: [{ title, url: { href, label } }]
FAIL 1 tool drifted · exit 1
Email to get early access hi@mcpreplay.com
Free CLI + GitHub Action launching soon. A reply is the signup — we read every one.
$ npx mcpreplay record
Proxy your real dev MCP session. Every tool call + response is snapshotted into tests/mcp/*.json.
$ git add tests/mcp/ && git commit
Fixtures ship with your code. Reviewed in PRs like any other test. No cloud round-trip.
# .github/workflows/mcp.yml
- uses: mcpreplay/action@v1
One workflow step. The PR fails the instant any tool response drifts from the last green run.
npx mcpreplay record attaches to your dev session and snapshots real traffic. Commit the JSON fixtures alongside your code. No auth flows, no cloud setup, no sign-up.
Four contract-testing primitives, one CLI, one GitHub Action.
Proxy your dev MCP session over stdio or HTTP. Every JSON-RPC call lands as a numbered fixture. Filter by method, redact secrets by JSON Pointer, cap by count or duration.
Re-run every fixture against the current build, diff each response against the recorded baseline, and exit non-zero on contract drift. --bail, --only, --exclude for big suites.
Human, JSON, and JUnit-XML reporters. --github-annotations drops inline PR comments on the line of every drifted fixture. Latency budgets per fixture and aggregate. Baselines for trend regressions.
npx mcpreplay init scaffolds .github/workflows/mcp-contract.yml, a tests/mcp/ README, and a status-badge snippet. From zero to a green CI run in one PR.
The CLI is free, forever. The hosted dashboard is the optional layer on top.
$0forever
For every MCP server author.
npx mcpreplay record / replay / assert / init$29/ month
For solo devs shipping a public MCP server.
main$99/ month
For small teams maintaining several MCP servers.
--server at any executable) and Streamable HTTP per MCP 2024-11-05 (--transport=http --url …, with JSON or SSE responses, Mcp-Session-Id session tracking, and custom headers).tests/mcp/). They are plain JSON, hand-readable, hand-editable, reviewable in PRs. The CLI never sends them anywhere. The hosted dashboard, when it lands, will be an opt-in mirror — not a requirement.The CLI lands shortly. The hosted dashboard follows. Drop us a line and we will email when each opens.
Email to get early access hi@mcpreplay.com
A reply is the signup — we read every one.