Documentation Index
Fetch the complete documentation index at: https://docs.mistle.dev/llms.txt
Use this file to discover all available pages before exploring further.
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
| MCP server | Read-only IAM to start with | When to grant more |
|---|---|---|
| All Google Cloud MCPs | roles/mcp.toolUser on the project | Required for MCP tool calls. This does not replace product-specific service permissions. |
| Cloud Resource Manager | roles/browser on the project, folder, or org | roles/mcp.toolUser already includes basic project get/list permissions. Use broader Resource Manager roles only when agents need folder, organization, IAM policy, or project-management actions. |
| Cloud Storage | roles/storage.objectViewer on the project or bucket | Use roles/storage.objectUser, roles/storage.objectAdmin, or roles/storage.admin for write/admin work. |
| Cloud Logging | roles/logging.viewer on the project or log view | Use roles/logging.privateLogViewer for Data Access audit logs, or roles/logging.admin for config work. |
| Cloud Run | roles/run.viewer on the project, service, or job | Deploy-capable access needs Cloud Run permissions plus deployment prerequisites such as Service Account User on the runtime identity and Artifact Registry access to the image source. Follow Google’s Cloud Run IAM and deployment docs for write paths. |
| Google Kubernetes Engine | roles/container.clusterViewer on the project | Use stronger Kubernetes Engine roles only when agents should create or modify clusters or workloads. |
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