AgentFirstStack Replay

com.agentfirststack由 agentfirststack.com 發布官方發布者v0.1.1更新於 Nov 4, 2026

Session replay as readable transcripts: rage and dead clicks, JS errors, heatmaps. Open source.

發布方自己的服務:AgentFirstStack Analytics

已驗證Streamable HTTP可網頁執行開發者工具資料與分析

概覽

AI 產生的概覽

AgentFirstStack Replay 的遠端 MCP 伺服器,讓助理把工作階段錄影讀成文字紀錄,並取得點擊與 JS 錯誤訊號和熱區圖。

可以做什麼
  • 把錄製的工作階段轉成助理可閱讀與分析的文字紀錄。
  • 以結構化資料呈現暴怒點擊、無效點擊與錯誤點擊。
  • 回報網站的 JavaScript 錯誤與熱區圖資料。
  • 產生分享連結,讓人開啟工作階段回放播放器。
  • 所屬平台的其他 MCP 伺服器另涵蓋分析、代碼管理和郵件信箱。
適用情境
適合讓智慧代理了解訪客在網站上的實際行為:閱讀工作階段紀錄、找出暴怒點擊或無效點擊與 JS 錯誤、檢視熱區圖,而不必打開儀表板。適用於已使用或願意採用 AgentFirstStack 平台的團隊。
執行需求
遠端 streamable HTTP 端點,不需本機套件。必須驗證:可用 OAuth 流程,或使用透過一次註冊請求取得的 Authorization bearer API 金鑰。需要能連線至託管服務的網路。託管版有合理使用限制;自託管於 Cloudflare Workers 的方式另有文件說明。
安裝前請注意
此伺服器處理真實訪客的工作階段錄影,在錄製正式流量前應確認遮罩與隱私設定。Authorization bearer 金鑰可存取帳號下的各項服務,須妥善保密。註冊與帳號建立不需人工填表,智慧代理之後可把認領連結交給真人。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AgentFirstStack Replay,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.agentfirststack%2Freplay/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "agentfirststack-replay": {
      "type": "http",
      "url": "https://replay.agentfirststack.com/mcp"
    }
  }
}

README

[圖片]

AgentFirstStack

Analytics, tag management, email inboxes and session replay that an AI agent sets up by itself.
No signup form, no verification email, no dashboard to click through. Free to use, and open source.

agentfirststack.com · Manual · Self-host · Architecture

[CI] [AGPL-3.0 license]


Every new website needs the same infrastructure: analytics, a tag manager with conversion tracking, and an email address to sign up for everything else. The usual tools all start with a signup form, a verification email and a dashboard. Coding agents can't get past those steps alone.

AgentFirstStack is that infrastructure, rebuilt so an agent can do the whole job:

  • One request gets an account. POST /v1/signup returns a key that works on every service.
  • Everything is an API call and an MCP tool. Nothing is hidden behind a settings page.
  • The manual is a text file. Each service serves /llms.txt with every endpoint, tool and field.
  • Every step can be verified. The agent checks its own work instead of guessing.
  • Humans optional. When it's done, the agent hands its person a claim link. They sign in with Google to see the project in a dashboard, manage keys and teammates, and connect Claude or ChatGPT over OAuth (docs/accounts.md).

Services

What it doesInstead of
AnalyticsCookieless web analytics. Country, region and city from Cloudflare's edge; channels including AI assistants; UTM and ad click ids; goals, revenue, funnels, realtime; server-side events; read-only SQLGoogle Analytics, Plausible
TagsA tag manager and server-side conversion router. Define a conversion once; the browser pixel and the server both send it to GA4, Google Ads, Meta and TikTok with one event id, so each platform counts it once. Scan, validate, preview, test and publishGoogle Tag Manager, server-side GTM
MailInboxes in one request. wait_for_email returns the moment a message arrives, with verification codes and links already extracted. Read, reply, send, custom domains, webhooksA Gmail account per project, AgentMail
ReplaySession recordings masked in the browser by default. Sessions come back as readable transcripts; rage, dead and error clicks, heatmaps and JS errors as data; a share link opens a player for peopleHotjar, Microsoft Clarity

Quick start

Hosted (free)

Copy the prompt from agentfirststack.com into Claude Code, Cursor, Codex or any agent that can make HTTP requests. Or do it by hand:

sh
curl -X POST https://agentfirststack.com/v1/signup# { "api_key": "afs_...", "mcp": { ... }, "next_steps": [ ... ] }
curl -X POST https://analytics.agentfirststack.com/v1/sites \  -H "Authorization: Bearer $AGENTFIRSTSTACK_API_KEY" -H 'content-type: application/json' \  -d '{"domain":"example.com"}'

Add one MCP server for every service (tools prefixed analytics_, tags_, mail_, replay_):

sh
claude mcp add --transport http afs https://agentfirststack.com/mcp --header "Authorization: Bearer $AGENTFIRSTSTACK_API_KEY"

Or one per service:

sh
claude mcp add --transport http afs-analytics https://analytics.agentfirststack.com/mcp --header "Authorization: Bearer $AGENTFIRSTSTACK_API_KEY"claude mcp add --transport http afs-tags https://tags.agentfirststack.com/mcp --header "Authorization: Bearer $AGENTFIRSTSTACK_API_KEY"claude mcp add --transport http afs-mail https://mail.agentfirststack.com/mcp --header "Authorization: Bearer $AGENTFIRSTSTACK_API_KEY"claude mcp add --transport http afs-replay https://replay.agentfirststack.com/mcp --header "Authorization: Bearer $AGENTFIRSTSTACK_API_KEY"

The hosted version has fair-use limits, listed in the manual.

Self-hosted

Everything runs on Cloudflare Workers in your own account:

sh
git clone https://github.com/StartGlobal-AI/agentfirststack && cd agentfirststackpnpm installpnpm afs init mystack --domain example.com --account <cloudflare-account-id>pnpm afs deploy mystackCLOUDFLARE_API_TOKEN=... pnpm afs email mystack     # inbound + outbound mailpnpm afs check mystack

See docs/self-hosting.md for requirements, signup modes, limits and updates.

How it's built

TypeScript on Cloudflare Workers with Hono and zod. Storage:

  • D1: configuration and the shared identity database.
  • SQLite Durable Objects: hot per-entity data (a site's events, a container's visitors, an inbox's waiters).
  • R2: mail blobs and replay recording chunks.
  • Queues: retried delivery to ad platforms and webhooks.
  • Email Routing and Email Sending: mail in and out.
site/        landing page, platform manual, platform signup      agentfirststack.comanalytics/   web analytics                                        analytics.agentfirststack.comtags/        tag manager + conversion APIs                        tags.agentfirststack.commail/        inboxes, sending, domains, webhooks                  mail.agentfirststack.comreplay/      session replay, signals, heatmaps, share player          replay.agentfirststack.comshared/      @afs/shared: auth, signup, errors, MCP handlerscripts/     pnpm afs: the deployment tooldeploy/      deployment profiles (yours; the agentfirststack.com one is kept private)docs/        architecture, self-hosting, operations, development

More in docs/architecture.md.

Development

sh
pnpm installpnpm typecheck && pnpm test          # every package; integration tests run inside workerdcd mail && pnpm db:migrate:local && pnpm dev

docs/development.md covers running services locally, tests, and adding endpoints, migrations and tag destinations. docs/operations.md covers releases, migrations, secrets, monitoring and abuse handling for a running deployment.

Contributing

Issues and pull requests are welcome. Read CONTRIBUTING.md first; it's short. Report security issues privately as described in SECURITY.md.

License

The services are AGPL-3.0; the browser scripts websites load (the analytics tracker, the tag manager runtime, the replay recorder and survey widget) are MIT, so adding them to a site puts no obligations on it. Self-hosting is free either way; if you offer a changed version as a service, publish your changes. Details: LICENSING.md. Built and hosted by StartGlobal.

來源:README.md,提交 0133b63

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

2
  1. v0.1.1最新Nov 4, 2026
  2. v0.1.0Nov 4, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Agentfirststack 整合