Skip to main content
Glama
Google Analytics MCP Server

Google Analytics MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort to bind when using HTTP transport.8000
ANALYTICS_MCP_OAUTHNoEnable the built-in MCP OAuth 2.1 Authorization Server.false
GOOGLE_CLOUD_PROJECTNoGoogle Cloud project ID (recommended when using Application Default Credentials).
GOOGLE_OAUTH_CLIENT_IDNoGoogle OAuth 2.0 Web Client ID (required when OAuth is enabled).
ANALYTICS_MCP_ISSUER_URLNoPublic HTTPS base URL of the service when OAuth is enabled.http://<host>:<port>
ANALYTICS_MCP_ALLOW_WRITENoEnable tools that create or modify Google Analytics resources.false
GOOGLE_OAUTH_CLIENT_SECRETNoGoogle OAuth 2.0 Web Client Secret (required when OAuth is enabled).
ANALYTICS_MCP_STATELESS_HTTPNoHandle each HTTP request independently without in-memory session state.false
GOOGLE_APPLICATION_CREDENTIALSNoPath to the Application Default Credentials JSON file for local/server-side Google Analytics authentication.

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