You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Service account impersonation with --scopes doesn't work as documented #1864
The --scopes parameter is ignored when using impersonation with ADC. The generated token only contains cloud-platform scope, missing analytics.readonly.
This causes 403 errors when the MCP server attempts Data API calls.
Root cause:
Google confirmed this is a limitation - scopes aren't stored in the ADC file format for impersonated service accounts. See: googleapis/google-cloud-python#15196
</claude summary>
This was quite annoying to figure out, from the Issue discussion in the python lib, it is 'working as expected' and too much effort to fix. Therefore to spare future users of the MCP server please mention that in the readme.
Activity
SebastianMohrStade commentedon Nov 6, 2025
my bad, should have been created in the google analytics mcp repo