AgentFirstStack Tags

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

Tag manager with server-side conversions for GA4, Google Ads, Meta and TikTok, set up by an agent.

發布方自己的服務:AgentFirstStack Analytics

已驗證Streamable HTTP可網頁執行資料與分析商業與電商

概覽

AI 產生的概覽

遠端標籤管理與伺服器端轉換路由,讓助理設定 GA4、Google Ads、Meta 與 TikTok 的轉換追蹤。

可以做什麼
  • 一次定義轉換,瀏覽器像素與伺服器同時送往 GA4、Google Ads、Meta 與 TikTok,共用同一事件 ID,讓各平台只計一次
  • 掃描、驗證、預覽、測試並發布標籤容器
  • 透過 API 工具管理標籤與轉換目標,不必在設定頁面中操作
  • 藉由服務本身的端點與說明文件逐步驗證設定結果
適用情境
適合需要讓助理為網站建置或維護轉換追蹤與標籤容器、而不必人工在標籤管理介面點選的情境,尤其是需要向廣告平台進行伺服器端轉換路由時。
執行需求
遠端 MCP 端點 tags.agentfirststack.com,使用 streamable HTTP。必須驗證:透過一次註冊請求取得的 Authorization Bearer API 金鑰,或使用 OAuth。託管版免費但有合理使用限制;自架需部署在你自己的 Cloudflare 帳戶中。
安裝前請注意
Authorization 標頭中的 API 金鑰可通用於所有 AgentFirstStack 服務,應視為共用密鑰妥善保管。發布標籤與路由轉換會改變線上追蹤,並把事件資料傳送給 GA4、Google Ads、Meta、TikTok 等第三方。自架需要 Cloudflare API 權杖,並會在你自己的 Cloudflare 帳戶中建立資源。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "agentfirststack-tags": {
      "type": "http",
      "url": "https://tags.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] [MIT 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

MIT. Built and hosted by StartGlobal.

來源:README.md,提交 678e2eb

工具

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

版本歷史

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

評分

已滿足適用檢查項的 85%

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

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

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

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

其他 Agentfirststack 整合