AgentFirstStack Analytics MCP server
2026년 11월 11일 커밋쿠키리스 분석, 태그 관리, 이메일 수신함, 세션 리플레이를 포함한 완전한 GTM(Go-to-market) 스택을 AI 에이전트가 직접 구축하고 관리할 수 있도록 지원합니다.
다른 이름 StartGlobal-AI/agentfirststack, agentfirststack
- 스타
- 1
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.1.1
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- AGPL-3.0
AgentFirstStack Analytics MCP란?
AgentFirstStack Analytics은(는) MCP server입니다. 쿠키리스 분석, 태그 관리, 이메일 수신함, 세션 리플레이를 포함한 완전한 GTM(Go-to-market) 스택을 AI 에이전트가 직접 구축하고 관리할 수 있도록 지원합니다.
프로젝트 README에서 생성된 요약
AgentFirstStack Analytics MCP server 정보
AgentFirstStack Analytics는 AI 에이전트가 대시보드 조작 없이도 즉시 배포할 수 있도록 설계된 완전한 GTM 인프라를 제공합니다. 가입 양식이나 이메일 인증이 필요한 기존의 설정 워크플로우를 단일 API 요청으로 대체합니다. 이 시스템은 쿠키리스 웹 분석, 서버 사이드 전환 추적을 위한 태그 매니저, 이메일 수신함, 세션 리플레이 도구를 포함합니다.
개발자는 호스팅 버전을 사용하거나 Cloudflare Workers에 직접 호스팅하여 사용할 수 있습니다. 호스팅 서비스를 이용할 경우, 에이전트를 Claude Code, Cursor 또는 MCP 도구를 사용하는 다른 클라이언트를 통해 구성할 수 있습니다. 설정 프로세스는 사이트 페이지와 액션을 매핑한 후, 자동화된 테스트 트래픽을 통해 배포를 검증하는 방식으로 진행됩니다. 이 플랫폼은 GA4 또는 Plausible와 같은 도구에서 이력을 가져오는 기능을 지원하며, 사용자는 Google 로그인 링크를 통해 프로젝트 소유권을 확인하고 대시보드에서 데이터를 확인할 수 있습니다.
활용 사례
- 1서버 사이드 전환 추적태그 매니저를 구성하여 단일 이벤트 ID를 통해 전환 이벤트를 여러 광고 플랫폼으로 동시에 전송합니다.
- 2이메일 인증 자동화메일 서비스를 사용하여 수신된 메시지에서 인증 코드를 프로그래밍 방식으로 수신하고 추출합니다.
- 3세션 녹화 및 분석사용자 상호작용을 캡처하여 히트맵과 트랜스크립트를 통해 기술적 오류나 사용자의 불편 사항을 식별합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
AgentFirstStack Analytics MCP 설치 방법
형식 확인: 2026년 11월 10일Claude Code에 AgentFirstStack Analytics MCP 설치
$ claude mcp add --transport http agentfirststack https://analytics.agentfirststack.com/mcpCursor에 AgentFirstStack Analytics MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"agentfirststack": {
"url": "https://analytics.agentfirststack.com/mcp"
}
}
}VS Code에 AgentFirstStack Analytics MCP 설치
.vscode/mcp.json
{
"servers": {
"agentfirststack": {
"type": "http",
"url": "https://analytics.agentfirststack.com/mcp"
}
}
}Codex에 AgentFirstStack Analytics MCP 설치
~/.codex/config.toml
[mcp_servers.agentfirststack] url = "https://analytics.agentfirststack.com/mcp"
Gemini CLI에 AgentFirstStack Analytics MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"agentfirststack": {
"httpUrl": "https://analytics.agentfirststack.com/mcp"
}
}
}구성
CLOUDFLARE_API_TOKEN
| 이름 | 설명 | 유형 |
|---|---|---|
| CLOUDFLARE_API_TOKEN | — |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식
- 소스 저장소 연결 및 접근 가능startglobal-ai/agentfirststack is public and reachablegithub.com/startglobal-ai/agentfirststack ↗통과
- 패키지가 이 저장소를 소스로 지정검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)AGPL-3.0spdx.org/licenses/AGPL-3.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-11github.com/startglobal-ai/agentfirststack ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지와 의존성에 심각한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 endpoint가 MCP 핸드셰이크에 응답HTTPS endpoint answered 401 (sign-in required)통과
README
GitHub에서 보기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/signupreturns 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.txtwith every endpoint, tool and field. - Every step can be verified. The agent checks its own work instead of guessing.
- Served from your own domain. Analytics, tags and replay load from a first-party domain (one CNAME, no server code) or a path proxy, so ad blockers don't drop your visitors.
- Humans optional. When it's done, the agent hands its person a claim link. They sign in with Google to see the project's analytics, tags, replay and mail in a dashboard, manage keys and teammates, connect Claude or ChatGPT over OAuth, and delete the project. We email them about their projects, and alert them when a site stops sending data, gets suspicious traffic (one network over its share or a sudden flood is set aside, out of reports and budgets, for review), or a project gets close to a fair-use limit (docs/accounts.md).
Services
| What it does | Instead of | |
|---|---|---|
| Analytics | Cookieless web analytics. Country, region and city from Cloudflare's edge; channels including AI assistants; UTM and ad click ids; goals, funnels, paths, attribution, realtime (a live stream within a second); revenue, subscriptions and MRR from Stripe, Polar, Paddle or LemonSqueezy; ad spend and ROAS; ecommerce items; AI crawler visits and an AI search report (which AI bots read which pages, which assistants send visitors, what to change); Core Web Vitals from real visitors; alerts and weekly reports; history imported from GA4, Plausible or any other tool, with a check that the numbers match; server-side events; read-only SQL | Google Analytics, Plausible |
| Tags | A 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, TikTok, LinkedIn, Pinterest, Reddit, Snap or X with one event id, so each platform counts it once. A consent banner asks visitors from the EU, UK and Switzerland before ad pixels fire. Scan (it also finds the tools a site uses now), import a GTM container, validate, preview, test and publish | Google Tag Manager, server-side GTM |
Inboxes in one request, on agentfirstinbox.com or your own domain. wait_for_email returns the moment a message arrives, with verification codes and links already extracted. Read, reply, send, custom domains, webhooks, and forwarding to the project's people (each email or a daily digest) |
A Gmail account per project, AgentMail | |
| Replay | Session 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 people | Hotjar, 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. The agent follows the
full setup in one run: it maps your site's pages, main
actions and the tools it uses now, then asks you once where the inbox's email should go and whether
to bring your old tools' setup and history over. It creates an inbox, sets up analytics (goals, AI
crawler visits reported from your server, a weekly report for you, and the history of GA4,
Plausible or whatever you used before), a tag container with an event for each main action
(starting from your GTM container, if you have one), and replay; then it deploys, verifies each
part as a visitor with test traffic (POST /v1/setup/test: a test email, test events through analytics, tags and each ad
platform's test mode, then a browser test visit), runs the setup check (GET /v1/setup) until
nothing is missing, writes what it did to AGENTFIRSTSTACK.md (and a short block to AGENTS.md, so later sessions with
any agent pick up new features), and shows you a table of what's set up and what passed, with a
claim link. Your old tools stay until the setup check says the numbers match and you agree to
remove them. Pasting the same prompt again later starts from the
setup check and fills the gaps.
Or install it as an agent skill (skills.sh), so your agent has the setup steps on hand in every session:
npx skills add StartGlobal-AI/agentfirststack
Then ask it to set up AgentFirstStack. The skill is
skills/agentfirststack-setup/SKILL.md.
Or do it by hand:
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_):
claude mcp add --transport http afs https://agentfirststack.com/mcp --header "Authorization: Bearer $AGENTFIRSTSTACK_API_KEY"
Or one per service:
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:
git clone https://github.com/StartGlobal-AI/agentfirststack && cd agentfirststack
pnpm install
pnpm afs init mystack --domain example.com --account <cloudflare-account-id>
pnpm afs deploy mystack
CLOUDFLARE_API_TOKEN=... pnpm afs email mystack # inbound + outbound mail
pnpm 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, manual, signup, MCP gateway, dashboard agentfirststack.com
analytics/ web analytics analytics.agentfirststack.com
tags/ tag manager + conversion APIs tags.agentfirststack.com
mail/ inboxes, sending, domains, webhooks mail.agentfirststack.com
replay/ session replay, signals, heatmaps, share player replay.agentfirststack.com
shared/ @afs/shared: auth, signup, errors, MCP handler
scripts/ pnpm afs: the deployment tool
deploy/ deployment profiles (yours; the agentfirststack.com one is kept private)
docs/ architecture, self-hosting, operations, development
More in docs/architecture.md.
Development
pnpm install
pnpm typecheck && pnpm test # every package; integration tests run inside workerd
cd 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.
AgentFirstStack Analytics MCP 질문
AgentFirstStack Analytics MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --transport http agentfirststack https://analytics.agentfirststack.com/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
AgentFirstStack Analytics MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
직접 호스팅할 수 있나요?
네, 전체 스택을 사용자 계정의 Cloudflare Workers에서 직접 호스팅할 수 있습니다.
기존 분석 데이터를 지원하나요?
네, GA4, Plausible 또는 다른 도구의 이력을 가져올 수 있으며, 시스템에서 데이터 일치 여부를 확인하는 프로세스를 포함하고 있습니다.
어떤 인증 방식을 사용하나요?
에이전트 액세스에는 API key를 사용하며, 사용자가 대시보드에 접속할 때는 Google OAuth를 지원합니다.