Mirrors

com.runmirrors由 runmirrors.com 发布官方发布者v1.0.0更新于 Oct 24, 2026

AI agent testing: replay real sessions against a rebuilt staging environment to catch regressions.

已验证Streamable HTTP可网页运行开发者工具AI 与机器学习

概览

AI 生成的概览

Mirrors 是一个远程 MCP 端点,用于 AI 智能体测试:在重建的预发布环境中回放真实会话以发现回归问题。

可以做什么
  • 注册信息说明其用途是 AI 智能体测试:在重建的预发布环境中回放真实会话,以捕捉回归问题。
  • 清单中未列出任何工具,因此助手具体能执行哪些操作没有文档说明。
  • 随附的 README 介绍的是旧的 Go 追踪采集器而非托管服务,仅说明如何把追踪数据发送到后端。
适用场景
当你希望助手协助测试 AI 智能体,通过回放已记录的会话到预发布环境并发现回归问题时可以考虑它。由于现有材料未描述该托管端点的工具,建议先查阅当前产品文档。
运行要求
远程 streamable HTTP 端点;未声明任何软件包、环境变量或请求头。清单未声明身份验证,但旧采集器的 README 显示会以 bearer 令牌方式发送 API 密钥。
安装前请注意
README 说明该采集器已不再维护,且其默认后端已不存在,因此所给材料可能与线上服务不一致。旧采集器会使用 API 密钥把追踪数据(包括对话与工具调用内容)发送到第三方后端,应视为敏感数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mirrors,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.runmirrors%2Fmirrors/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "mirrors": {
      "type": "http",
      "url": "https://api.runmirrors.com/mcp"
    }
  }
}

README

No longer maintained. This collector was built for an earlier Mirrors product, and its default backend, api.runmirrors.com, no longer exists. For the current SDK, see the Mirrors quickstart.

mirrorkit (Go)

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.

Install

bash
go get github.com/ai-singhal/mirrorkit-go

Requires Go ≥ 1.21. Zero dependencies (standard library only).

Usage

go
package main
import (	"time"
	mirrorkit "github.com/ai-singhal/mirrorkit-go")
func main() {	mirrorkit.Init(mirrorkit.Options{APIKey: "mk_live_...", Project: "my-agent"})	defer mirrorkit.Shutdown(5 * time.Second)
	mirrorkit.LogTrace([]mirrorkit.Message{		mirrorkit.SystemMessage("You are a helpful assistant."),		mirrorkit.UserMessage("What's the weather in Paris?"),		mirrorkit.AssistantMessage("It's 18C and sunny."),	}, mirrorkit.WithModel("claude-opus-4-8"))}

Each trace is enqueued and flushed to {endpoint}/api/collect by a background goroutine (Authorization: Bearer <apiKey>, body {project, traces}).

Tool calls

Build tool-call and tool-result messages with the helpers:

go
mirrorkit.LogTrace([]mirrorkit.Message{	mirrorkit.UserMessage("Cancel booking BK-4471."),	mirrorkit.AssistantToolCalls(		mirrorkit.NewToolCall("call_1", "cancel_booking", map[string]any{"id": "BK-4471"}),	),	mirrorkit.ToolResult("call_1", `{"status":"cancelled"}`),	mirrorkit.AssistantMessage("Done — BK-4471 is cancelled."),})

Options

go
mirrorkit.Init(mirrorkit.Options{	APIKey:        "mk_live_...",           // required	Project:       "my-agent",              // default "default"	Endpoint:      "https://api.mirror.dev", // else MIRRORKIT_ENDPOINT / MIRROR_ENDPOINT / prod	FlushInterval: 2 * time.Second,         // ms between background flushes	MaxBatch:      50,                      // max traces per POST	MaxQueue:      10_000,                  // in-memory cap; oldest dropped past this	Debug:         false,                   // internal debug logs (or MIRRORKIT_DEBUG=1)})

Endpoint resolution: Options.Endpoint → MIRRORKIT_ENDPOINT → MIRROR_ENDPOINT → the production default.

Lifecycle

go
mirrorkit.Flush(5 * time.Second)     // block until the queue drainsmirrorkit.Shutdown(5 * time.Second)  // stop the background goroutine (flushes first)

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.

Testing

bash
cd mirrorkit-go && go vet ./... && go test ./...

来源:README.md,提交 f613fea

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分