Configure the Google Workspace MCP servers

Google Workspace offers remote Model Context Protocol (MCP) servers that allow AI agents to securely interact with Google Workspace data. By configuring the Google Workspace MCP servers, you enable AI applications like Google Antigravity and Claude to perform actions across Google Workspace services such as Gmail, Google Drive, Google Docs, Google Sheets, Google Slides, Google Calendar, Google Chat, Google Tasks, and the People API. Each Google Workspace product has its own dedicated MCP server.

This guide covers setup for generally available Google Workspace MCP servers. The Google Classroom and Universal Search MCP servers are available through the Google Workspace Developer Preview Program. For setup steps for those servers, see their dedicated guides in Supported products.

The Google Workspace MCP servers provide a standardized way for AI agents to:

  • Read data: Search emails, retrieve files, and list calendar events.
  • Take action: Create draft emails, upload files, and schedule meetings.
  • Respect security: Inherit the same permissions and data governance controls as the user.

Prerequisites

Configure the Google Workspace MCP servers

To use the Google Workspace MCP servers, set up a Google Cloud project with an AI-agent OAuth 2.0 client and configure your AI application to connect to them:

  • Personal use: If you're connecting an AI application for your own Google Account, use Quick setup for personal use to configure a project, enable the APIs and MCP services, and create an OAuth client on a single page.
  • Multi-user or custom setup: If multiple users will sign in with your OAuth client, or if you want to enable only specific MCP services, APIs, and OAuth scopes, start at Enable the MCP services.

Quick setup for personal use

Use Personal mode onboarding in the Google Cloud console to create an OAuth 2.0 client that works only for your Google Account and doesn't require app verification or separate OAuth consent screen setup:

  1. Open Personal mode onboarding in the Google Cloud console. The button pre-selects a Web application client, which Google Antigravity and Claude require:

    Set up personal mode

    If your MCP client uses a desktop or mobile OAuth flow instead of a web redirect URI, open personal mode setup for a Desktop app, Android, or iOS client, or change Application type on the page.

  2. In Select Project, select an existing personal-mode project or click Create a new project. If prompted, complete the project creation form.

    If your organization administrator doesn't allow users to create new projects, you might encounter the error You do not have the required "resourcemanager.projects.create" permission to create projects in this location. Select an existing Google Cloud project, or ask your administrator to allow project creation or grant you the Project Creator role, roles/resourcemanager.projectCreator. For details, see Create a project and Permission error messages in the Google Cloud documentation.

  3. Configure your OAuth client details:

    • Enter a Name for the client.
    • If Application type is Web application, in Authorized redirect URIs, click + Add URI and add your MCP client's callback URI:
      • For Antigravity: https://antigravity.google/oauth-callback
      • For Claude: https://claude.ai/api/mcp/auth_callback
    • Verify that Use this client for an AI-powered agent is selected.
  4. Review the Google API Services User Data Policy, select I agree to the Google API Services: User Data Policy., and click Continue.

    The console enables core Google Workspace APIs and MCP services in your project and creates your OAuth client.

  5. Copy your Client ID and Client Secret, and then connect your client to the MCP server, skipping step 1 since you already have your OAuth client ID and secret.

If you use the Chat MCP server for write operations such as sending messages, also complete Configure the Chat app.

Enable the MCP services

Skip this step if you used Quick setup for personal use.

Enable the MCP services in your Google Cloud project for the generally available Google Workspace servers that you plan to use. Unlike the other MCP services that use *mcp.googleapis.com endpoints, the People API serves MCP directly on people.googleapis.com:

CLI

gcloud services enable gmailmcp.googleapis.com \
drivemcp.googleapis.com \
docsmcp.googleapis.com \
sheetsmcp.googleapis.com \
slidesmcp.googleapis.com \
calendarmcp.googleapis.com \
chatmcp.googleapis.com \
tasksmcp.googleapis.com \
people.googleapis.com \
--project=PROJECT_ID

Replace PROJECT_ID with your Google Cloud project ID.

Console

Enable the MCP services in the Google Cloud console:

Enable the MCP services

Enable the APIs

Skip this step if you used Quick setup for personal use.

Enable the APIs in your Google Cloud project for the generally available Google Workspace products that you plan to use. The Tasks MCP server doesn't require enabling a separate product API in this step:

  • Gmail API
  • Google Drive API
  • Google Docs API
  • Google Sheets API
  • Google Slides API
  • Google Calendar API
  • Google Chat API
  • People API

CLI

gcloud services enable gmail.googleapis.com \
drive.googleapis.com \
docs.googleapis.com \
sheets.googleapis.com \
slides.googleapis.com \
calendar-json.googleapis.com \
chat.googleapis.com \
people.googleapis.com \
--project=PROJECT_ID

Replace PROJECT_ID with your Google Cloud project ID.

Console

Enable the APIs in the Google Cloud console:

Enable the APIs

Configure the Chat app

If you use the Chat MCP server for write operations such as sending messages, configure a Chat app in your Google Cloud project. Read-only operations such as searching conversations don't require a configured Chat app.

  1. In the Google Cloud console, search for Google Chat API, and click Google Chat API > Manage > Configuration.

    Go to Google Chat API

  2. Set up the Chat app:

    1. In the App name field, enter Chat MCP.
    2. In the Avatar URL field, enter https://developers.google.com/chat/images/quickstart-app-avatar.png.
    3. In Description, enter Chat MCP server.
    4. Under Functionality, turn off interactive features by toggling Enable interactive features off.
    5. Under Logs, select Log errors to Logging.
  3. Click Save.

To learn more about building a Chat app, see Choose a Chat app architecture.

Skip this step if you used Quick setup for personal use.

The Google Workspace MCP servers use OAuth 2.0 for authentication and authorization. You must configure the OAuth consent screen before you can create an OAuth client ID.

  1. In the Google Cloud console, go to Google Auth Platform > Branding.

    Go to Branding

  2. If you have already configured the Google Auth Platform, you can configure the following OAuth Consent Screen settings in Branding, Audience, and Data Access. If you see a message that says Google Auth Platform not configured yet, click Get Started:

    1. Under App Information, in App name, type Workspace MCP Servers.
    2. In User support email, select your email address or an appropriate Google group.
    3. Click Next.
    4. Under Audience, select Internal. If you can't select Internal, select External.
    5. Click Next.
    6. Under Contact Information, enter an Email address where you can be notified about any changes to your project.
    7. Click Next.
    8. Under Finish, review the Google API Services User Data Policy and if you agree, select I agree to the Google API Services: User Data Policy.
    9. Click Continue.
    10. Click Create.
    11. If you selected External for user type, add test users:
      1. Click Audience.
      2. Under Test users, click Add users.
      3. Enter your email address and any other authorized test users, then click Save.
  3. Click Data Access > Add or Remove Scopes. A panel appears with a list of scopes for each API that you've enabled in your Google Cloud project.

    1. Under Manually add scopes, paste the scopes for the MCP servers that you plan to use:

      • Gmail:
        • https://www.googleapis.com/auth/gmail.readonly
        • https://www.googleapis.com/auth/gmail.compose
        • https://www.googleapis.com/auth/gmail.modify
        • https://www.googleapis.com/auth/gmail.settings.basic (required only when calling create_filter)
      • Drive:
        • https://www.googleapis.com/auth/drive.readonly
        • https://www.googleapis.com/auth/drive.file
      • Docs:
        • https://www.googleapis.com/auth/drive.readonly
        • https://www.googleapis.com/auth/drive.file
        • https://www.googleapis.com/auth/documents.readonly
        • https://www.googleapis.com/auth/documents
      • Sheets:
        • https://www.googleapis.com/auth/drive.readonly
        • https://www.googleapis.com/auth/drive.file
        • https://www.googleapis.com/auth/spreadsheets.readonly
        • https://www.googleapis.com/auth/spreadsheets
      • Slides:
        • https://www.googleapis.com/auth/drive.readonly
        • https://www.googleapis.com/auth/drive.file
        • https://www.googleapis.com/auth/presentations.readonly
        • https://www.googleapis.com/auth/presentations
      • Calendar:
        • https://www.googleapis.com/auth/calendar.calendarlist.readonly
        • https://www.googleapis.com/auth/calendar.events.freebusy
        • https://www.googleapis.com/auth/calendar.events.readonly
        • https://www.googleapis.com/auth/calendar.events
      • Chat:
        • https://www.googleapis.com/auth/chat.spaces.readonly
        • https://www.googleapis.com/auth/chat.memberships.readonly
        • https://www.googleapis.com/auth/chat.messages.readonly
        • https://www.googleapis.com/auth/chat.messages.create
        • https://www.googleapis.com/auth/chat.users.readstate
        • https://www.googleapis.com/auth/chat.users.spacesettings
      • Tasks:
        • https://www.googleapis.com/auth/tasks.readonly
        • https://www.googleapis.com/auth/tasks
      • People API:
        • https://www.googleapis.com/auth/directory.readonly
        • https://www.googleapis.com/auth/userinfo.profile
        • https://www.googleapis.com/auth/contacts.readonly
    2. Click Add to Table.

    3. Click Update.

    4. After selecting the scopes required by your app, on the Data Access page, click Save.

Configure your AI application

To add the Google Workspace remote MCP servers to your AI application, follow the instructions for your application. Include only the servers that you enabled in your Google Cloud project.

User-delegated OAuth 2.0 client IDs that call the Google Workspace MCP servers must have Use this client for an AI-powered agent selected in Google Auth Platform > Clients. To update an existing OAuth 2.0 client ID, select this setting in Google Auth Platform > Clients, as described in Manage OAuth Clients. If you can't change this setting on an existing client, or if the client also supports non-agent features, create a new OAuth 2.0 client ID for your AI agent. For rejected requests, service accounts with domain-wide delegation, or Google Apps Script, see Troubleshooting.

The examples in this section use the primary /mcp/v1 endpoint, which uses MCP form elicitation for user approvals. If your MCP host doesn't support form elicitation, see Handle user approvals with form elicitation for details on the /mcp/v1self endpoint.

Antigravity

To add the Google Workspace remote MCP servers to Antigravity, add the server configuration to your mcp_config.json file. These instructions support Antigravity 2.0, Antigravity IDE, and Antigravity CLI.

  1. Create an OAuth 2.0 client ID and secret, or skip to the next step if you already created one in Quick setup for personal use:

    1. In the Google Cloud console, go to Google Auth Platform > Clients > Create Client.

      Go to Create Client

    2. Select Web application as the application type.

    3. Enter a Name.

    4. In the Authorized redirect URIs section, click + Add URI, and then add https://antigravity.google/oauth-callback in the URIs field.

    5. Select Use this client for an AI-powered agent.

    6. Click Create and copy your Client ID and Client Secret.

  2. Open or create the configuration file ~/.gemini/config/mcp_config.json.

  3. Add the mcpServers configuration to mcp_config.json:

    {
      "mcpServers": {
        "gmail": {
          "serverUrl": "https://gmailmcp.googleapis.com/mcp/v1",
          "oauth": {
            "clientId": "OAUTH_CLIENT_ID",
            "clientSecret": "OAUTH_CLIENT_SECRET"
          }
        },
        "drive": {
          "serverUrl": "https://drivemcp.googleapis.com/mcp/v1",
          "oauth": {
            "clientId": "OAUTH_CLIENT_ID",
            "clientSecret": "OAUTH_CLIENT_SECRET"
          }
        },
        "docs": {
          "serverUrl": "https://docsmcp.googleapis.com/mcp/v1",
          "oauth": {
            "clientId": "OAUTH_CLIENT_ID",
            "clientSecret": "OAUTH_CLIENT_SECRET"
          }
        },
        "sheets": {
          "serverUrl": "https://sheetsmcp.googleapis.com/mcp/v1",
          "oauth": {
            "clientId": "OAUTH_CLIENT_ID",
            "clientSecret": "OAUTH_CLIENT_SECRET"
          }
        },
        "slides": {
          "serverUrl": "https://slidesmcp.googleapis.com/mcp/v1",
          "oauth": {
            "clientId": "OAUTH_CLIENT_ID",
            "clientSecret": "OAUTH_CLIENT_SECRET"
          }
        },
        "calendar": {
          "serverUrl": "https://calendarmcp.googleapis.com/mcp/v1",
          "oauth": {
            "clientId": "OAUTH_CLIENT_ID",
            "clientSecret": "OAUTH_CLIENT_SECRET"
          }
        },
        "chat": {
          "serverUrl": "https://chatmcp.googleapis.com/mcp/v1",
          "oauth": {
            "clientId": "OAUTH_CLIENT_ID",
            "clientSecret": "OAUTH_CLIENT_SECRET"
          }
        },
        "tasks": {
          "serverUrl": "https://tasksmcp.googleapis.com/mcp/v1",
          "oauth": {
            "clientId": "OAUTH_CLIENT_ID",
            "clientSecret": "OAUTH_CLIENT_SECRET"
          }
        },
        "people": {
          "serverUrl": "https://people.googleapis.com/mcp/v1",
          "oauth": {
            "clientId": "OAUTH_CLIENT_ID",
            "clientSecret": "OAUTH_CLIENT_SECRET"
          }
        }
      }
    }
    

    Replace the following:

    • OAUTH_CLIENT_ID: The client ID you created.
    • OAUTH_CLIENT_SECRET: The client secret you created.
  4. Save mcp_config.json.

  5. Authenticate the MCP servers. You can authenticate using either the GUI settings or the CLI:

    • For Antigravity IDE or GUI (Antigravity 2.0):

      1. Open your settings screen (e.g., click Settings at the bottom-left or open Antigravity User Settings).
      2. Navigate to Customizations.
      3. Under Installed MCP Servers, click Refresh.
      4. For each Google Workspace server that you configured, click Authenticate, sign in to your Google Account, copy the authorization code, paste it into the input dialog, and click Submit.
    • For Antigravity CLI:

      1. Start Antigravity CLI:

        agy
        
      2. Open the interactive MCP management panel by running:

        /mcp
        
      3. Authenticate each MCP server:

        1. Use the arrow keys to select the server, move to the Authenticate action, and press Enter. Complete the sign-in flow in your browser, copy the authorization code, paste it into the terminal prompt, and press Enter.
        2. Repeat these steps for each Google Workspace server that you configured.
  6. Verify that the servers are correctly configured and running:

    • For Antigravity IDE or GUI: A Sign out button is displayed next to each server under Customizations > Installed MCP Servers.
    • For Antigravity CLI: Open the /mcp panel to view your configured MCP servers. Verified and authenticated servers display Authed next to their names inside the interactive TUI panel. You can select any server under the dashboard view to inspect its status and list all of its available tools.

The remote MCP servers are ready to use in Antigravity.

Claude

To use the Google Workspace remote MCP servers with Claude.ai or Claude Desktop, you must have the Claude Enterprise, Pro, Max, or Team plan.

To add the Google Workspace remote MCP servers to Claude, configure a custom connector with an OAuth client ID and secret.

  1. Create an OAuth 2.0 client ID and secret, or skip to the next step if you already created one in Quick setup for personal use:

    1. In the Google Cloud console, go to Google Auth Platform > Clients > Create Client.

      Go to Create Client

    2. Select Web application as the application type.

    3. Enter a Name.

    4. In the Authorized redirect URIs section, click + Add URI, and then add https://claude.ai/api/mcp/auth_callback in the URIs field.

    5. Select Use this client for an AI-powered agent.

    6. Click Create and copy your Client ID and Client Secret.

  2. Configure the MCP server in Claude:

    1. In Claude.ai or Claude Desktop, go to Settings > Connectors or Admin settings > Connectors.
    2. Click Add custom connector.
    3. Enter the connection details for the Google Workspace server that you want to add:

    4. In Advanced settings, enter your OAuth client ID and OAuth client secret.

    5. Click Add.

    6. Repeat these steps for each Google Workspace server that you want to add.

Others

Many AI applications have ways to connect to a remote MCP server. You typically need to enter details about the server, like its name, endpoints, transport protocol, and authentication method. For the Google Workspace remote MCP servers, enter the following:

For more details on connecting different types of AI applications, see Configure MCP in an AI application.

Add the Developer Knowledge MCP server

The Developer Knowledge MCP server is a remote server that searches live, official Google developer documentation, including developers.google.com/workspace, so your AI agent can look up current API methods, OAuth scopes, and code samples rather than relying only on its training data. This server provides the search_documents, get_documents, and answer_query tools and complements the Google Workspace MCP servers, which let your agent act on Google Workspace data. Adding the Developer Knowledge MCP server alongside them helps your agent answer questions about building with Google Workspace APIs from current documentation.

To add this server to your AI application, follow Configure your IDE or coding agent and select your AI application. To help your agent decide when to search the documentation and which tool to use, also install the retrieving-developer-knowledge agent skill.

Test the Google Workspace MCP servers

After you configure your AI application, you can verify the connection by running some test prompts.

Try asking your AI application the following questions:

  • "What did Ariel say in her last email about our marketing plan?"

    The client filters for emails from Ariel using gmail.search_threads, retrieves the latest thread's content with gmail.get_thread, and then summarizes it for you.

  • "Draft an email to ariel@example.com saying that I approve the marketing plan."

    The client uses gmail.create_draft to create an email in your drafts folder, allowing you to review and send it from Gmail.

  • "Summarize the file Marketing Plan."

    The client calls drive.search_files to locate "Marketing Plan", then uses drive.read_file_content to retrieve and summarize its content.

  • "Show me the structural contents of Google Doc Meeting Notes."

    The client fetches the document structure and contents using docs.read_doc.

  • "Read sheet Sheet1 from Google Sheet Quarterly Sales."

    The client fetches grid values using sheets.get_values.

  • "Show me the verbalized layout of Google Slides presentation Product Overview."

    The client fetches presentation visual layout structures using slides.read_presentation.

  • "When is my next meeting with Ariel?"

    The client checks your schedule using calendar.list_events and details your next meeting with Ariel.

  • "What was the last message in the 'Project X' space?"

    The client finds the space using chat.search_conversations and then retrieves messages using chat.list_messages.

  • "Add a task to send Ariel the marketing plan by Friday."

    The client uses tasks.create_task to add the task to your default task list.

  • "According to my Google Profile, what's my name?"

    The client uses people.get_user_profile to retrieve your Google Workspace profile information.

  • "Check the official Google Workspace docs for the OAuth scope that the Gmail create_draft tool requires, then draft an email to ariel@example.com confirming the marketing plan."

    If you added the Developer Knowledge MCP server, the client calls search_documents to find the scope in the Gmail MCP reference documentation, and then uses gmail.create_draft to create the draft.

If the tools execute successfully and you receive relevant responses, your Google Workspace MCP servers are configured accurately.

Troubleshooting

Use the following sections to resolve common authentication and connection issues with the Google Workspace MCP servers.

Check OAuth log events

If you encounter issues connecting to the MCP servers, check for errors in the OAuth logs. Ask your Google Workspace administrator to review the OAuth log events in the security investigation tool.

Rejected requests from user-delegated OAuth clients

If your requests to the MCP servers are rejected, verify that the user-delegated OAuth 2.0 client ID for your 3-legged OAuth flow has Use this client for an AI-powered agent selected in Google Auth Platform > Clients:

  • Existing client supports the setting: Select Use this client for an AI-powered agent on your existing OAuth client.
  • Existing client can't be updated: Create a new OAuth client with Use this client for an AI-powered agent selected and update your app to use it.
  • Existing client also supports non-agent features: Create a separate OAuth client for the AI agent and keep the existing client for your non-agent features.

For instructions, see Configure your AI application and Manage OAuth Clients.

Service accounts with domain-wide delegation

If your app uses a service account with domain-wide delegation for 2-legged OAuth, you can't select Use this client for an AI-powered agent because service accounts aren't managed in Google Auth Platform > Clients:

  • Access control: Requests to the MCP servers from these service accounts aren't rejected for missing the agent setting. Instead, access is governed by the domain-wide delegation settings that your Google Workspace administrator manages. For details on administrator settings, see Control API access with domain-wide delegation.
  • Sensitive actions: Google Workspace MCP servers still return form elicitation prompts for human-in-the-loop confirmation on sensitive tool calls made through domain-wide delegation user impersonation.

Requests from Apps Script

If you call the MCP servers from Apps Script, you can't select Use this client for an AI-powered agent on the default OAuth client that Apps Script creates and manages for your script. This applies even if your script uses a standard Google Cloud project.

To call the MCP servers from Apps Script, do the following:

  1. In the Google Cloud console, go to Google Auth Platform > Clients, create an OAuth client, and select Use this client for an AI-powered agent.
  2. In your script, use the OAuth2 for Apps Script library to authorize users with that OAuth client.
  3. When you call the MCP servers, send the access token that the library returns instead of the token from ScriptApp.getOAuthToken.

Apps Script projects that don't call the MCP servers aren't affected.

Repeated hourly sign-in prompts

If you're prompted to sign in again about every hour, your MCP client isn't receiving or using a refresh token. This typically happens in the following situations:

  • Missing offline access on a Web application OAuth client: Unlike Desktop app OAuth clients, Web application OAuth clients default to online access. To request a refresh token, include access_type=offline or include the OpenID Connect (OIDC) offline_access scope alongside at least one API scope, and don't set access_type=online.
  • Re-authorizing an already-consented app: Google's OAuth 2.0 server issues a refresh token the first time a user grants offline access. If a user already authorized your OAuth client without offline access, or if your MCP client lost its stored refresh token, subsequent sign-ins might not return a new refresh token. Include prompt=consent in the authorization request, or remove the app's access in Google Account connections and sign in again.
  • Static bearer token: If you pass a raw access token in an Authorization header, such as output from gcloud auth print-access-token, the token expires after one hour unless your client refreshes it.

For details, see Refresh an access token.

Known issues

The Google Workspace MCP servers have the following known issues:

  • OAuth client error messages: If a user-delegated OAuth 2.0 client isn't configured with Use this client for an AI-powered agent, requests return a generic invalid token error. More descriptive error messages will be available in an upcoming release.
  • Attribution display: In some cases, the attribution badge in the UI might show the user instead of the agent. Admin audit logs always show the correct attribution.
  • Chat attribution: The Chat MCP server attributes actions to the agent, regardless of the admin attribution setting. Support for the admin setting will be available in an upcoming release.
  • Approval prompts and management: Some approval prompts are available in English only. Users can't view or revoke saved tool approvals themselves. Saved approvals expire after 90 days.

Supported products

The following table lists each supported Google Workspace MCP server, its setup guide, its remote MCP endpoint URL, and its generated MCP tool reference. To browse all generally available toolsets in a single reference guide, see All Google Workspace MCP server tools. Servers marked as Developer Preview require membership in the Google Workspace Developer Preview Program and aren't included in the setup steps on this page. Follow each server's linked setup guide to configure it:

Product and setup guide Remote MCP server URL Tool reference
Gmail https://gmailmcp.googleapis.com/mcp/v1 Gmail MCP reference
Drive https://drivemcp.googleapis.com/mcp/v1 Drive MCP reference
Docs https://docsmcp.googleapis.com/mcp/v1 Docs MCP reference
Sheets https://sheetsmcp.googleapis.com/mcp/v1 Sheets MCP reference
Slides https://slidesmcp.googleapis.com/mcp/v1 Slides MCP reference
Calendar https://calendarmcp.googleapis.com/mcp/v1 Calendar MCP reference
Chat https://chatmcp.googleapis.com/mcp/v1 Chat MCP reference
Tasks https://tasksmcp.googleapis.com/mcp/v1 Tasks MCP reference
People API https://people.googleapis.com/mcp/v1 People API MCP reference
Classroom
( Developer Preview)
https://classroommcp.googleapis.com/mcp/v1 Classroom MCP reference
Universal Search
( Developer Preview)
https://workspacemcp.googleapis.com/mcp/v1 Universal Search MCP reference

Important security consideration: Indirect prompt injection

When you expose a language model to untrusted data, there is a risk of an indirect prompt injection attack. Because AI applications like Google Antigravity have access to powerful tools and APIs through the Google Workspace MCP servers, they can read, modify, and delete data in your Google Account.

To mitigate these risks, you must screen prompts and responses for malicious content or prompt injection attacks. You can use the Google-provided Model Armor, or you can use your own solution if you document it so users can accept that risk. For instructions, see Configure security for Google Workspace MCP servers.

Follow these best practices:

  • Only use trusted tools. Never connect the Google Workspace MCP servers to untrusted or unverified applications.
  • Be cautious with untrusted inputs. Avoid asking your AI application to process emails, documents, or other resources from unverified sources. These inputs might contain hidden instructions that can hijack your session and let an attacker modify, steal, or delete your data.
  • Review all actions. Always carefully review the actions taken by your AI application on your behalf to make sure they are accurate and match your intentions.

Handle user approvals with form elicitation

Google Workspace MCP servers use server-driven human-in-the-loop approvals through MCP form elicitation to protect user data before an AI agent performs sensitive actions, such as sending emails, modifying shared calendar events, updating or trashing files, or accessing shared data.

Choose the endpoint that matches your MCP host's capabilities:

  • /mcp/v1: Recommended primary endpoint for MCP hosts and clients that support form elicitation. Exposes all tools and full result sets for each server. Keep your MCP host's own permission rules and governance policies active. To reduce duplicate prompts, you can optionally adjust your host's generic local confirmation prompts for /mcp/v1 servers. For details, see Coordinate local prompts on /mcp/v1.
  • /mcp/v1self: Fallback endpoint for MCP hosts that don't support form elicitation, such as https://gmailmcp.googleapis.com/mcp/v1self. Exposes only tools and results that work without form elicitation under default policy, although specific calls might still require approval depending on policy and target resources. The People API and Google Classroom MCP servers don't use form elicitation or provide /mcp/v1self.

For endpoint details, approval UI recommendations, and client implementation steps, see Handle user approvals with form elicitation.

Administrator controls and governance

Google Workspace administrators can apply controls and governance to AI agents that connect to Google Workspace MCP servers or the Google Workspace command-line interface, including OAuth app access settings, user review policies for external agents, agent attribution, data loss prevention, and audit logging. Server-side user approvals work alongside Google Workspace administrator policies and your agent platform's own permissions and restrictions. A user approval never overrides an administrator or platform policy block. For details, see Manage AI agent access & user review in Google Workspace Admin Help, Administrator user review policies, and How policies and user approvals work together.