Overview
Connect to Google Cloud by authorizing Mistle with a Google OAuth client that you create in Google Cloud. Mistle uses the OAuth authorization code flow to obtain Google access tokens, then uses those tokens to call Google-hosted MCP servers selected in a sandbox profile. The connected Google user remains subject to Google Cloud IAM. OAuth lets Mistle request a token; IAM decides what that token can do in each Google Cloud project and resource.OAuth And IAM
Google Cloud access has two independent parts:- OAuth client and scopes - identify the application and allow Mistle to obtain Google tokens. Mistle currently requests the
https://www.googleapis.com/auth/cloud-platformscope so selected Google Cloud MCP servers can use Google Cloud APIs. - IAM grants - authorize the Google principal that completes OAuth. Grant IAM roles to that user, or to a Google group that contains that user, on the Google Cloud projects and resources the agent should access.
Create A Google OAuth Client
Create a Web application OAuth client in Google Auth Platform.- In Mistle, open Integrations and choose Google Cloud. Mistle uses Google OAuth for this connection.
- Copy the callback URL shown by Mistle.
- In Google Cloud, open Google Auth Platform > Clients.
- Create an OAuth client with Application type set to Web application.
- Add the Mistle callback URL to Authorized redirect URIs.
- Create the client and copy its Client ID and Client secret.
- Return to Mistle, enter the client ID and client secret, and click Connect Google Cloud.
- Complete the Google consent flow with the Google account that should back the connection.
Configure IAM
Grantroles/mcp.toolUser to every Google principal that will call Google-hosted MCP tools through Mistle. Then add the product-specific IAM roles for the MCP servers selected in the sandbox profile.
PROJECT_ID with the Google Cloud project and USER_EMAIL with the Google account that authorizes the Mistle connection. To grant access through a Google group, use --member="group:GROUP_EMAIL" for a group that contains the authorizing user.
Run the same command once for each additional role you grant:
roles/serviceusage.serviceUsageAdmin to enable them:
MCP IAM Reference
Connect MCP Servers To A Sandbox Profile
After the Google Cloud connection is active:- Open the sandbox profile that should use Google Cloud.
- Add the Google Cloud integration connection to the profile.
- In Resources & Tools, select the Google Cloud MCP servers that agents may use.
- Publish the profile version.
Official References
- Google Cloud MCP servers: Manage MCP servers
- Google Cloud MCP servers: Supported products
- Google Cloud MCP servers roles and permissions
- Google Auth Platform: Manage OAuth clients
- OAuth 2.0 for Web Server Applications
- Cloud Storage IAM roles
- Cloud Logging access control
- Cloud Run IAM roles
- Deploying services to Cloud Run
- Use the GKE remote MCP server
- Resource Manager roles and permissions
- Browser role permissions