G
Google Analytics MCP Server
Details
- Command
-
analytics-mcp - Docs
- https://developers.google.com/analytics/devguides/MCP
Authentication
Google OAuth client / Application Default Credentials for Google Analytics oauth2 discovered Set up OAuth ↗
$ gcloud auth application-default login Create an OAuth client in Google Cloud Console, enable the Google Analytics Admin API and Google Analytics Data API, then obtain user credentials with gcloud auth application-default login or another Application Default Credentials flow as shown in the Google Analytics MCP README. Request Google Analytics scopes such as https://www.googleapis.com/auth/analytics.readonly or broader https://www.googleapis.com/auth/analytics.edit / https://www.googleapis.com/auth/analytics.manage.users as needed by the method docs.