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 }}
Repository navigation
[MCP] Crashlytics tools 403 "requires a quota project": client never sends x-goog-user-project #11545
All Crashlytics MCP tools fail with HTTP 403 ("firebasecrashlytics.googleapis.com API requires a quota project") when authenticated with user credentials. The Crashlytics client never sends x-goog-user-project: src/apiv2.ts (~L366-370) adds it only when env var GOOGLE_CLOUD_QUOTA_PROJECT is set, and CRASHLYTICS_API_CLIENT (src/crashlytics/utils.ts) doesn't set it. ADC's quota_project_id and the project number parsed from appId are ignored.
Expected: default the header to the project number from appId (parseProjectNumber) or ADC's quota_project_id.
Workaround (untested): set GOOGLE_CLOUD_QUOTA_PROJECT=<project> for the MCP server process.
Thanks for reporting this and for sharing your observations, @nilvng! I was able to reproduce the issue, I used the credentials from gcloud auth application-default login. I think your observations are correct. Since x-goog-user-project header isn't being added, request made using ADC as authentication will encounter that quota error.
Also, thanks @yeegz for taking the initiative in opening up a PR #11547 for this! I'll mark this as reproducible and raise this to our engineering team so they can take a look.
While we get this fixed, you should be able to workaround this issue by setting the GOOGLE_CLOUD_QUOTA_PROJECT env variable in your mcp servers config
Activity
aalej commentedon Nov 18, 2026
Thanks for reporting this and for sharing your observations, @nilvng! I was able to reproduce the issue, I used the credentials from
gcloud auth application-default login. I think your observations are correct. Sincex-goog-user-projectheader isn't being added, request made using ADC as authentication will encounter that quota error.Also, thanks @yeegz for taking the initiative in opening up a PR #11547 for this! I'll mark this as reproducible and raise this to our engineering team so they can take a look.
While we get this fixed, you should be able to workaround this issue by setting the
GOOGLE_CLOUD_QUOTA_PROJECTenv variable in your mcp servers configfix(crashlytics): send the quota project on Crashlytics API requests