Google Analytics MCP for Coolify
Provides tools for accessing Google Analytics Admin API and Data API, enabling management of Google Analytics properties and retrieval of analytics data.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Analytics MCP for Coolifywhat are my top performing pages this month?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Analytics MCP for Coolify
This package places a secure FastMCP HTTP/OAuth gateway in front of Google's
official experimental analytics-mcp package. It is intended to be deployed as
a separate Coolify application and does not modify an existing Google Ads
MCP deployment.
What it provides
Streamable HTTP MCP endpoint at
/mcpGoogle OAuth protection for the remote MCP endpoint
Encrypted persistent storage for MCP OAuth registrations and tokens
Google Analytics Admin API and Data API tools from the official
analytics-mcppackageSupport for either authorized-user ADC JSON or a service-account JSON key
Related MCP server: Google Analytics MCP server on Cloudflare Workers
Required Coolify configuration
Create a persistent storage mount at /data and expose port 8080.
Set these environment variables in the new Analytics application:
Variable | Purpose |
| Existing Google Cloud project ID |
| Final HTTPS origin, without |
| Google OAuth web client ID |
| Google OAuth web client secret |
| Long random secret used to sign MCP tokens |
| Fernet key used to encrypt stored OAuth data |
| Analytics-authorized ADC JSON, entered as one secret value |
PORT is optional and defaults to 8080.
Google Cloud configuration
Enable both APIs in the same Google Cloud project:
Google Analytics Admin API
Google Analytics Data API
The OAuth client must be a Web application. Add this authorized redirect URI after the final domain is assigned:
https://YOUR-ANALYTICS-MCP-DOMAIN/auth/callbackThe MCP URL added to ChatGPT is:
https://YOUR-ANALYTICS-MCP-DOMAIN/mcpImportant credential separation
Do not alter the existing Ads application or replace its credentials. The
GOOGLE_ANALYTICS_CREDENTIALS_JSON value belongs only to this separate
Analytics application and must include the
https://www.googleapis.com/auth/analytics.readonly scope.
When the Google OAuth consent screen is in Testing, Google may expire authorized-user refresh tokens after seven days. That is a Google OAuth testing limitation, not a Coolify failure.
Versions
analytics-mcp==0.7.0fastmcp==3.4.7Python 3.11
The version pins make deployments repeatable. Review upstream releases before updating them.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
OAuth MCP for Google, Meta, X and LinkedIn Ads, Search Console, GA4 and GoHighLevel.
Hosted MCP server with managed OAuth for 15+ toolkits: Google Workspace, Fitbit, Oura, Kalshi, etc.
Read and edit GA4, Search Console and Google Tag Manager from any MCP client. 29 tools.
Self-hosted federated MCP gateway: one OAuth 2.1 MCP server in front of N apps, user-level scopes.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA FastMCP-powered server that connects Google Analytics 4 data to Claude Desktop with automatic OAuth 2.0 authentication, enabling users to access GA4 metrics, properties, and reports through natural language queries.18MIT
- FlicenseNot gradedqualityCmaintenanceEnables MCP clients to read Google Analytics 4 data, deployed as a Cloudflare Worker with service account authentication.1-
- AlicenseAqualityDmaintenanceEnables LLM applications to query and analyze Google Analytics 4 data through standard MCP interfaces, supporting service account and OAuth2 authentication.524MIT
- AlicenseNot gradedqualityCmaintenanceSelf-hosted MCP server for Google Analytics over HTTP, providing URL-addressable access with API key auth. It enables clients to run reports, list accounts/properties, and use compact paginated reports for token efficiency.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ccsDevs/google-analytics-mcp-coolify'
If you have feedback or need assistance with the MCP directory API, please join our Discord server