Record and replay FrontMCP calls to catch server regressions
Capture baseline MCP calls as JSONL, replay them against a changed FrontMCP server, and review answer differences and new or resolved errors before accepting the build.
Prerequisites
Node.js 24+, npm, frontmcp CLI, @frontmcp/sdk, @frontmcp/testing, a FrontMCP TypeScript project and isolated test dependencies
Installation
Install or set up from the source-backed instructions:
In an existing FrontMCP project, use Node.js 24+ and matching @frontmcp package versions. Install the testing skill with npx frontmcp skills install frontmcp-testing (add --provider codex for Codex). Read its references/replay-calls.md alongside the server project. Ensure frontmcp and @frontmcp/testing are available as project development dependencies, aligned with the SDK version. Enable CallRecorderPlugin for a controlled baseline, review the JSONL, then run npx frontmcp test --replay fixtures/calls.jsonl against the changed server.