Skip to main content
Glama
rafavillaplana

Google Analytics 4 MCP (OAuth)

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GA4_TOKEN_PATHNoOverride the path where the refresh token is stored (default is ~/.google-analytics-oauth-mcp/token.json).
GA4_OAUTH_CLIENT_IDNoThe OAuth client ID from your Google Cloud project (e.g. your-id.apps.googleusercontent.com).
GA4_OAUTH_CLIENT_FILENoPath to the JSON client secret file downloaded from Google, used instead of the client ID and secret.
GA4_OAUTH_CLIENT_SECRETNoThe OAuth client secret from your Google Cloud project (e.g. GOCSPX-...).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources