Overview
Connect to Google Workspace 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 Workspace MCP servers selected in a sandbox profile. The connected Google user remains subject to Google Workspace permissions and data governance controls.Google Workspace MCP servers are currently published by Google as a Developer Preview. Verify the
Google setup requirements before enabling this integration in production.
Enable Google Workspace MCP
Use a Google Cloud project owned by the Workspace organization that should authorize the MCP servers. Enable the Workspace product APIs:PROJECT_ID with the Google Cloud project ID.
Configure Google Chat
If you enable the Google Chat MCP server, configure a Chat app in the same Google Cloud project:- Open Google Chat API > Manage > Configuration.
- Set App name to
Chat MCP. - Set Avatar URL to
https://developers.google.com/chat/images/quickstart-app-avatar.png. - Set Description to
Chat MCP server. - Turn off Enable interactive features.
- Select Log errors to Logging.
- Save the configuration.
Configure OAuth Consent
In Google Auth Platform, configure branding, audience, and data access for the OAuth app. For an internal Workspace rollout, select Internal audience when available. For an external app in testing mode, add every authorizing Google account as a test user before connecting. Add the OAuth scopes for the Workspace MCP servers you intend to use. Mistle currently requests a fixed scope set for the supported hosted Workspace MCP servers:https://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.composehttps://www.googleapis.com/auth/drive.readonlyhttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/calendar.calendarlist.readonlyhttps://www.googleapis.com/auth/calendar.events.freebusyhttps://www.googleapis.com/auth/calendar.events.readonlyhttps://www.googleapis.com/auth/chat.spaces.readonlyhttps://www.googleapis.com/auth/chat.memberships.readonlyhttps://www.googleapis.com/auth/chat.messages.readonlyhttps://www.googleapis.com/auth/chat.messages.createhttps://www.googleapis.com/auth/chat.users.readstate.readonlyhttps://www.googleapis.com/auth/directory.readonlyhttps://www.googleapis.com/auth/userinfo.profilehttps://www.googleapis.com/auth/contacts.readonly
Create A Google OAuth Client
Create a Web application OAuth client in Google Auth Platform.- In Mistle, open Integrations and choose Google Workspace.
- 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 Workspace.
- Complete the Google consent flow with the Google account that should back the connection.
Connect With A Service Account
For headless Workspace automation, you can connect with a Google Cloud service account. This lets Mistle mint short-lived Google access tokens without an interactive OAuth consent flow.Service account connections require Google Workspace domain-wide delegation. A Workspace super
administrator must authorize the service account client ID for the full fixed Mistle scope set
listed above, even when a sandbox profile exposes only selected MCP servers.
- Create a Google Cloud service account in the same project used for the Workspace MCP services.
- In the service account details, enable Google Workspace domain-wide delegation and copy the service account Client ID.
- In Google Workspace Admin Console, open Security > Access and data control > API controls > Manage Domain Wide Delegation.
- Click Add new, paste the service account Client ID, and authorize the full fixed Mistle OAuth scope set listed in Configure OAuth Consent.
- In Google Cloud, create a JSON key for the service account and store it carefully.
- In Mistle, choose Service account when adding a Google Workspace connection.
- Paste the service account JSON key.
Connect MCP Servers To A Sandbox Profile
After the Google Workspace connection is active:- Open the sandbox profile that should use Google Workspace.
- Add the Google Workspace integration connection to the profile.
- In Resources & Tools, select the Google Workspace MCP servers that agents may use.
- For service account connections, enter the Workspace user email Mistle should use as the Google Workspace user subject when minting access tokens.
- Publish the profile version.
Supported MCP Servers
| MCP server | Server URL |
|---|---|
| Gmail | https://gmailmcp.googleapis.com/mcp/v1 |
| Google Drive | https://drivemcp.googleapis.com/mcp/v1 |
| Google Calendar | https://calendarmcp.googleapis.com/mcp/v1 |
| Google Chat | https://chatmcp.googleapis.com/mcp/v1 |
| People API | https://people.googleapis.com/mcp/v1 |