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 分