# AgentFirstStack

> AgentFirstStack is an open-source MCP server for analytics and data. Gateway to AgentFirstStack: analytics, tags, mail and replay that an agent sets up itself. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, self-hosted, Web
- **Website:** https://agentfirststack.com/mcp
- **Repository:** https://github.com/startglobal-ai/agentfirststack
- **MCP Registry name:** com.agentfirststack/mcp
- **Categories:** analytics and data, marketing and SEO, communication
- **Listing updated:** 2026-11-14

## About

This is the umbrella endpoint at agentfirststack.com/mcp, covering all four services behind one key rather than a single product. Each one replaces a familiar tool: analytics instead of Google Analytics or Plausible, a tag manager and server-side conversion router instead of Google Tag Manager, agent-created inboxes instead of a Gmail account per project, and session replay instead of Hotjar or Clarity.

A coding agent follows a setup file: it maps your pages and actions, creates an inbox, sets up analytics goals and a weekly report, builds a tag container with an event per main action, adds replay, then tests with real traffic. Tags can send one conversion to GA4, Google Ads, Meta, TikTok, LinkedIn, Pinterest, Reddit, Snap or X with a shared event id. The mail tool wait_for_email returns as soon as a message arrives, with verification codes and links already extracted.

A human gets a claim link at the end and signs in with Google to see a dashboard, manage keys and teammates, or delete the project. It is open source and can be self-hosted on Cloudflare Workers.

## Features

- **Four services, one key:** Analytics, tags, mail and replay share an account.
- **Server-side conversions:** Sends one conversion to many ad platforms without double counting.
- **Agent inboxes:** Creates inboxes and extracts codes and links from mail.
- **Session replay:** Masked recordings as readable transcripts.
- **Setup verification:** Agent tests each part and runs a setup check.
- **Human claim link:** A person can take over via a dashboard.

## Good for

- Let a coding agent set up the whole marketing stack on a new site
- Create an inbox to receive a verification email in a workflow
- Migrate a GTM container and test conversions
- Get a handover dashboard for a client

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp https://agentfirststack.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agentfirststack.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://agentfirststack.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://agentfirststack.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://agentfirststack.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://agentfirststack.com/mcp"
    }
  }
}
```

## Tools

- `wait_for_email`: Returns when an email arrives, with codes and links extracted.

## FAQ

### Is it free?

Hosted use is described as free and the project is open source.

### Can I self-host?

Yes, on Cloudflare Workers.

### Which ad platforms does Tags support?

GA4, Google Ads, Meta, TikTok, LinkedIn, Pinterest, Reddit, Snap and X.

### How does a person take over?

Through a claim link and Google sign-in.

### Is AgentFirstStack free?

Yes. AgentFirstStack is open source, so you can use and self-host it for free.

### How do I add AgentFirstStack to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://agentfirststack.com/mcp

### What are the best alternatives to AgentFirstStack?

The closest alternatives to AgentFirstStack are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and Calven.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [Calven](https://ai-powered.com/mcp/calven): Calven is an MCP server for marketing and seo.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [MCP](https://ai-powered.com/mcp/mcp-mwhffe53): MCP is a freemium MCP server for marketing and seo.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.

---
Source: https://ai-powered.com/mcp/agentfirststack
