Skip to content
Status

Google Docs

Read and update Google Docs through Google's hosted Docs MCP server.

Sign in to console.cloud.google.com with an account that can select a Google Cloud project, enable APIs, configure the Google Auth platform, and create OAuth credentials. Google does not document a Google Docs MCP-specific paid plan or license requirement, but the Docs MCP server is available only through the Google Workspace Developer Preview Program, so the project must be registered in it. Enabling APIs requires serviceusage.services.enable; Service Usage Admin provides this permission. Granting MCP Tool User (roles/mcp.toolUser) requires IAM administration access on the project. Each account that will connect needs that role and access to the Google Docs it will use. Obtain the approved support and contact addresses before you begin. If your organization restricts high-risk Drive and Docs scopes or unconfigured apps, you also need a Google Workspace administrator with the Service Settings administrator privilege.

Join the Google Workspace Developer Preview Program

  1. Open developers.google.com/workspace/preview.
  2. Review the Developer Preview Program Terms with the application or security owner.
  3. Click Apply to join the Developer Preview Program.
  4. In the application form, enter the requested Google Workspace account and Google Cloud project information.
  5. Agree to the terms only with organizational approval.
  6. Submit the form with the visible or equivalent submission control.
  7. Wait for Google’s project-registration confirmation at the submitted email address. Google says this should complete within a couple of days.

Use the registered project for every Google Cloud step that follows.

Enable the Docs MCP APIs

  1. In the toolbar, open the resource selector.
  2. Select the Google Cloud project registered in the Developer Preview Program.
  3. Open APIs & Services > Library.
  4. Open Google Docs API.
  5. Click Enable.
  6. Return to Library.
  7. Open Google Docs MCP API.
  8. Click Enable.

If Enable is unavailable, ask the project administrator for serviceusage.services.enable.

Grant the MCP Tool User role

  1. Open console.cloud.google.com/iam-admin/iam.
  2. Select the same project.
  3. Click Grant access.
  4. In New principals, enter the Google Account email of a user who will connect from the Speakeasy AI Control Plane.
  5. Click Select a role.
  6. Search for MCP Tool User.
  7. Select MCP Tool User.
  8. Click Save.
  9. Repeat these steps for every connecting user.

Open Google Auth platform > Branding.

Google says an OAuth consent screen cannot be removed after it is configured. Confirm the approved app name, support address, contact address, and audience before you click Get Started.

If the page says Google Auth Platform not configured yet:

  1. Click Get Started.
  2. Under App Information, enter Docs MCP Server in App name.
  3. Choose the approved User support email.
  4. Click Next.
  5. Under Audience, select Internal when it is available for your Google Workspace organization; otherwise select External.
  6. Click Next.
  7. Under Contact Information, enter the approved monitored address in Email address.
  8. Click Next.
  9. Under Finish, review the Google API Services User Data Policy.
  10. With organizational approval, select I agree to the Google API Services: User Data Policy.
  11. Click Continue.
  12. Click Create.

If the Google Auth platform is already configured, review the equivalent settings on Branding, Audience, and Data Access.

Add the required access:

  1. Open Data Access.

  2. Click Add or Remove Scopes.

  3. Under Manually add scopes, paste these four values:

    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
  4. Click Add to Table.

  5. Click Update.

  6. Click Save.

If Audience is External and the app is in Testing, add every account that will make the first connection:

  1. Open Audience.
  2. Under Test users, click Add users.
  3. Enter the connecting accounts.
  4. Click Save.

Testing supports at most 100 test users, and each authorization expires after seven days.

Create the OAuth client

  1. Open Google Auth platform > Clients.

  2. Click Create client.

  3. Set Application type to Web application.

  4. In Name, enter a recognizable name such as Speakeasy AI Control Plane.

  5. Under Authorized redirect URIs, click + Add URI.

  6. In URIs, enter this value:

    https://ai.speakeasy.com/mcp/remote_login_callback

Prepare secure password storage before the next action. Google says the client secret in the next dialog can be copied only once.

  1. Click Create.

Keep OAuth 2.0 client created open.

Copy the client credentials

  1. In OAuth 2.0 client created, copy Client ID to secure storage.
  2. Under Client secrets, copy Client secret.
  3. Store the secret as a password alongside the Client ID.

If you lost the one-time secret, delete it and create a new secret before continuing.

If your organization restricts high-risk Drive and Docs scopes or blocks unconfigured apps, continue to Allow the OAuth client in restricted organizations. Otherwise, continue to Speakeasy setup.

Allow the OAuth client in restricted organizations

Complete this step only when your organization’s Workspace API controls restrict high-risk Drive and Docs scopes or block unconfigured apps.

  1. Sign in to admin.google.com with Service Settings administrator access.
  2. Open Security > Access and data control > API controls.
  3. Click Manage App Access.
  4. Under Configured apps, click Configure new app.
  5. Enter the Client ID copied in Copy the client credentials.
  6. Click Search.
  7. Select the matching app.
  8. Select the organizational units whose users will connect.
  9. Click Continue.
  10. Choose the access approved by the security owner:
    • Trusted
    • Specific Google data, with the Docs MCP scopes and any Google sign-in scopes the app requests
  11. Click Continue.
  12. Review the settings.
  13. Click Finish.

Changes can take up to 24 hours, though they usually apply sooner. Continue to Speakeasy setup.

Add the server in Speakeasy

  1. In the Speakeasy AI Control Plane sidebar, under MCP Gateway, select MCP.

  2. Click Add new to open Add MCP server.

  3. Choose Hosted remotely.

  4. On New remote MCP server, paste this URL into MCP server URL:

    https://docsmcp.googleapis.com/mcp/v1
  5. Leave User session issuer at its default.

  6. Click Verify connectivity.

  7. Under Identity, select User Identity. The page preselects No Identity for this server, so change it.

  8. If Guardrails appears, leave it off.

  9. Click Save.

Speakeasy saves the server as Disabled and says to finish setup in Settings > Identity. This is expected; the next section completes it.

Connect your credentials

  1. Open the server’s Settings and find the Identity section.

  2. Confirm that User Identity is selected.

  3. In Choose an identity provider, confirm that the preselected provider is Google (https://accounts.google.com/). If another provider is shown, open the picker, search in Search identity providers…, and choose the Google provider. A provider badged Will be created is created when you save.

  4. Choose Manual.

  5. In Client ID, paste the Client ID from Copy the client credentials.

  6. In Client secret, paste the Client secret from the same section. Google requires it even though the field says “Optional”.

  7. Open Advanced. In Scope, enter this value on one line:

    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

    Do not leave Scope blank. A blank value requests every scope the server advertises, including full Drive access, which the consent screen does not grant.

  8. Click Save.

  9. Open Settings > Danger Zone > Server Availability and turn on Enable MCP server so it shows Enabled.

When a person first uses the server, Google’s browser authorization prompt appears. They must sign in with an account granted MCP Tool User. If the app’s audience is External and in Testing, the account must also be listed under Test users.

This guide covers setup only. For anything beyond it — billing, tool behavior, limits — see Google’s Docs MCP documentation.