MCP generate_screen_from_text rejects all credentials — API key and OAuth both fail, management tools work

, ,

Calling https://stitch.googleapis.com/mcp per the official docs. With a Stitch API key (X-Goog-Api-Key), create_project / list_projects / get_screen all work, but tools/call generate_screen_from_text returns: “Request is missing required authentication credential. Expected OAuth 2 access token, login cookie…”

I then followed the OAuth Setup docs exactly: gcloud installed, gcloud auth login + gcloud auth application-default login, created GCP project, enabled stitch.googleapis.com (state: ENABLED), set quota project, and called with Authorization: Bearer <token> + X-Goog-User-Project. Same tool: create_project succeeds with the Bearer token, generate_screen_from_text still returns the same “missing required authentication credential” error. Sending both credentials together returns “Expected only one form of authentication.” Reproduced identically with a second (personal) account.

Is programmatic generation currently allowlisted? What is required for an account/GCP project to be able to call generate_screen_from_text via MCP?

Yes I heva same issue

I have the same issue

Same issue as mentioned above.

The same issue, only the read functions are working.

I have the same issue.

I solved this problem after configuring OAuth according to this documentation:
https://stitch.withgoogle.com/docs/mcp/setup

I have the same problem. I tried with 3 accounts (mine and 2 of my colleagues’ accounts at work). It’s a mass issue.

I have the same issue.

Guys, Try now the sdk integration is working fine. I think google has fixed it. I just took the code from their docs and created a node file and ran it and it worked.