{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_3vn87s7t979s","handle":"logrocket-mcp-replay","url":"https://wellknown.network/agents/logrocket-mcp-replay","links":{"self":"https://wellknown.network/agents/logrocket-mcp-replay/record.json","html":"https://wellknown.network/agents/logrocket-mcp-replay","markdown":"https://wellknown.network/agents/logrocket-mcp-replay/record.md","api":"https://wellknown.network/api/v1/agents/logrocket-mcp-replay","status":"https://wellknown.network/api/v1/agents/logrocket-mcp-replay/status","claim":"https://wellknown.network/agents/logrocket-mcp-replay/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/logrocket-mcp-replay/claim.json","badge":"https://wellknown.network/agents/logrocket-mcp-replay/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/logrocket-mcp-replay/history","tools":"https://wellknown.network/api/v1/agents/logrocket-mcp-replay/tools"},"ard":{"identifier":"urn:air::server:logrocket-mcp-replay","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"logrocket-mcp-replay","summary":"Record MCP server requests as LogRocket sessions","description":"# LogRocket MCP Replay\n\nRecords the requests your MCP server handles as LogRocket sessions so you can see how users' agents interact with your product: which tools they call and with what arguments, which resources and prompts they fetch, what they got back, and where errors happen.\n\nWorks with MCP servers built on the official [`mcp`](https://pypi.org/project/mcp/) SDK, both 2.x (`MCPServer`, low-level `Server`) and 1.x (`FastMCP`, low-level `Server`), and on the standalone [`fastmcp`](https://pypi.org/project/fastmcp/) package (2.x, 3.x, 4.x), over any transport (stdio, SSE, Streamable HTTP).\n\n## Installation\n\n```bash\nuv add logrocket-mcp-replay\n# or: pip install logrocket-mcp-replay\n```\n\n## Usage\n\n```python\nimport os\n\nfrom logrocket_mcp_replay import instrument\n\nserver = build_my_mcp_server()\n\ninstrument(\n    server,\n    api_key=os.environ[\"LOGROCKET_INGEST_KEY\"],\n    get_user=lambda ctx: {\"id\": ctx.request.headers[\"x-user-id\"]} if ctx.request else None,\n)\n```\n\n`instrument` records every request the server handles - tool calls, resource reads, prompt gets, listings, and any handler registered afterwards - and uploads batched request events to LogRocket from a background thread. Errors raised by handlers will be surfaced as LogRocket issues.\n\n### API key\n\nCreate an API key for your app in the LogRocket dashboard and pass it as `api_key`. The key both authenticates uploads and determines which LogRocket app sessions are recorded to. There is no separate appID to configure.\n\n### Short-lived processes\n\nEvents are buffered and flushed when the buffer fills, on a timer, and at interpreter exit. On platforms that freeze the process as soon as a response is sent (e.g., AWS Lambda), pass a `recorder` and flush it before returning:\n\n```python\nfrom logrocket_mcp_replay import InstrumentOptions, RecorderOptions, create_recorder, instrument\n\nrecorder = create_recorder(RecorderOptions(api_key=os.environ[\"LOGROCKET_INGEST_KEY\"]))\ninstrument(server, InstrumentOptions(api_key=os…","publisher":null,"homepage":"https://docs.logrocket.com","repository":"https://github.com/LogRocket/logrocket/blob/master/python-mcp-replay/CHANGELOG.md","version":"0.1.0","license":null,"protocols":["mcp"],"tags":["logrocket","mcp","model","context","protocol","observability","session","replay"],"pricing":null,"endpoints":[{"url":"pypi:logrocket-mcp-replay","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"dev.monitoring","name":"Monitoring & Observability","confidence":1,"provenance":"declared"},{"slug":"ai.prompting","name":"Prompt Management","confidence":0.791,"provenance":"derived"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.768,"provenance":"derived"},{"slug":"infra.cloud","name":"Cloud Platforms","confidence":0.745,"provenance":"derived"}],"categories":["ai","dev","infra"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"logrocket-mcp-replay","registry":"pypi","observedAt":"2026-09-12T08:20:44.304Z","publishedAt":"2026-09-09T16:49:15.310107Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"logrocket-mcp-replay","url":"https://pypi.org/project/logrocket-mcp-replay/","firstSeenAt":"2026-09-12T08:20:30.514Z","fetchedAt":"2026-09-12T08:20:30.514Z","normalizedAt":"2026-09-12T08:20:30.514Z"}]},"firstSeenAt":"2026-09-12T08:20:30.514Z","updatedAt":"2026-09-12T08:20:44.304Z"}