AI agent testing: replay real sessions against a rebuilt staging environment to catch regressions.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
A lightweight, drop-in production trace collector for LLM agents β the Go
sibling of the Python mirrorkit and
TypeScript mirrorkit (npm) packages.
It does exactly one thing: take traces you hand it and send them to your
Mirrors backend β batched in the background, non-blocking, and safe (it never
panics into your app after Init). It does not instrument SDKs and does
not run agents; you build the trace, it ships it.
Requires Go β₯ 1.21. Zero dependencies (standard library only).
Each trace is enqueued and flushed to {endpoint}/api/collect by a background
goroutine (Authorization: Bearer <apiKey>, body {project, traces}).
Build tool-call and tool-result messages with the helpers:
Endpoint resolution: Options.Endpoint β MIRRORKIT_ENDPOINT β MIRROR_ENDPOINT
β the production default.
Prefer one collector per process via the package-level Init / LogTrace /
Flush / Shutdown. For multiple independent collectors, use NewClient and
call LogTrace / Flush / Shutdown on the returned *Client.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mirrors)<a href="https://allmcps.com/mcp/mirrors"><img src="https://allmcps.com/api/badge/mirrors?style=directory" alt="Mirrors on AllMCPs" /></a>