evalvcr or evalvcr/interceptors:
MCP Client & Server (stdio and Streamable HTTP)
wrapMCPClient(client, vcr, opts?): Intercepts JSON-RPC 2.0request()/callTool()/listTools()calls (mcp.stdioormcp.http), stripping volatilemcp.idfrom the fingerprint so auto-incrementing IDs replay reliably.createMCPServerProxy({ vcr, forward, provider?, target?, transport? }): Records or replays inbound MCP server handler calls viahandleRequest(req).createStdioJSONRPCHandler&createStreamableHTTPHandler: Line-delimited JSON-RPC overstdioand Streamable HTTP transport helpers.