Connect
Optimize
Secure
Announcing StackOne Defender: leading open-source prompt injection guard for your agent • Read More →
Production-ready Google Analytics MCP server with 32 extensible actions — plus built-in authentication, security, and optimized execution.
Coverage
Create, read, update, and delete across Google Analytics — and extend your agent's capabilities with custom actions.
Authentication
Per-user OAuth in one call. Your Google Analytics MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Every Google Analytics tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Google Analytics call.
Tools Discovery →A Google Analytics MCP server lets AI agents read and write Google Analytics data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Google Analytics MCP server ships with 32 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
Every action from Google Analytics's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
List all Google Analytics accounts accessible to the authenticated user
Get details of a specific Google Analytics account by its resource name
Create a new Google Analytics 4 property under an account
Get details of a specific Google Analytics 4 property by its resource name
Update settings of an existing Google Analytics 4 property
Run multiple Google Analytics reports in a single API call
Run a customized report on Google Analytics 4 data for a property
Create a new data stream for a Google Analytics 4 property
List all data streams for a Google Analytics 4 property
Get details of a specific data stream by its full resource name
Delete a data stream from a Google Analytics 4 property
Create a Measurement Protocol secret for a Google Analytics 4 data stream
List all Measurement Protocol secrets for a Google Analytics 4 data stream
Get details of a specific Measurement Protocol secret by its full resource name
Delete a Measurement Protocol secret from a Google Analytics 4 data stream
Create an audience export for a Google Analytics 4 property
List all audience exports for a Google Analytics 4 property
Get details of a specific audience export by its full resource name
Query user data from an ACTIVE audience export
Create a new key event for a Google Analytics 4 property
List all key events for a Google Analytics 4 property
Get details of a specific key event by its full resource name
Delete a key event from a Google Analytics 4 property
List summaries of all accounts and their properties accessible to the authenticated user
Get data sharing settings for a Google Analytics account
List all Google Analytics 4 properties under an account
Get data retention settings for a Google Analytics 4 property
Get metadata about dimensions and metrics available for a GA4 property
Acknowledge user data collection terms for a Google Analytics 4 property
Run a realtime report on active users currently on a GA4 property
Run a pivot report to summarize Google Analytics data with cross-tabulated dimensions
Update a key event's counting method or default value
One endpoint. Any framework. Your agent is talking to Google Analytics in under 10 lines of code.
MCP Clients
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}114+ actions
104+ actions
101+ actions
100+ actions
80+ actions
63+ actions
53+ actions
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
origin_owner_id.All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.