Sign in to the Google Cloud console 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. Enabling APIs requires serviceusage.services.enable, normally through Service Usage Admin or Owner. Obtain the approved support and contact addresses before you begin. If your organization restricts high-risk Drive & Docs scopes or unconfigured apps, you also need a Google Workspace administrator with the Service Settings administrator privilege.
Enable the Docs MCP APIs
- In the toolbar, open the resource selector.
- Select the Google Cloud project that will own the credentials.
- Open APIs & Services > API Library.
- In Search for APIs & Services, enter
Google Docs API. - Open Google Docs API.
- Click Enable.
- Return to API Library.
- In Search for APIs & Services, enter
Google Docs MCP API. - Open Google Docs MCP API.
- Click Enable.
If Enable is unavailable, ask the project owner for serviceusage.services.enable.
Open Google Auth platform > Branding.
Configure the OAuth consent screen
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:
- Click Get Started.
- Under App Information, enter
Docs MCP Serverin App name. - Choose the approved User support email.
- Click Next.
- Under Audience, select Internal when every connecting user belongs to the Google Cloud project’s Google Workspace organization; otherwise select External.
- Click Next.
- Under Contact Information, enter the approved monitored address in Email address.
- Click Next.
- Under Finish, review the Google API Services User Data Policy.
- With organizational approval, select I agree to the Google API Services: User Data Policy.
- Click Continue.
- Click Create.
If the Google Auth platform is already configured, review the equivalent settings on Branding, Audience, and Data Access.
Add the required access:
- Open Data Access.
- Click Add or Remove Scopes.
- Under Manually add scopes, paste these four values:
https://www.googleapis.com/auth/drive.readonlyhttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/documents.readonlyhttps://www.googleapis.com/auth/documents
- Click Add to Table.
- Click Update.
- Click Save.
If Audience is External and the app is in Testing, add every account that will make the first connection:
- Open Audience.
- Under Test users, click Add users.
- Enter the connecting accounts.
- Click Save.
Testing supports at most 100 test users, and each authorization expires after seven days.
Create the OAuth client
- Open Google Auth platform > Clients.
- Click Create client.
- Set Application type to Web application.
- In Name, enter a recognizable name such as
Speakeasy AI Control Plane. - Under Authorized redirect URIs, click + Add URI.
- In URIs, enter
https://app.getgram.ai/mcp/remote_login_callback.
Do not add an Authorized JavaScript origins value.
Prepare secure password storage before the next action. Google says the client secret in the next dialog can be copied only once.
- Click Create.
Keep OAuth 2.0 client created open.
Copy the client credentials
- In OAuth 2.0 client created, copy Client ID to secure storage.
- Under Client secrets, copy Client secret.
- 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 & 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 & Docs scopes or block unconfigured apps.
- Sign in to the Google Admin console with Service Settings administrator access.
- Open Security > Access and data control > API controls.
- Click Manage App Access.
- Under Configured apps, click Configure new app.
- Enter the Client ID copied in Copy the client credentials.
- Click Search.
- Select the matching app.
- Select the organizational units whose users will connect.
- Click Continue.
- Choose the access approved by the security owner:
- Trusted
- Specific Google data, with the four Docs MCP scopes and any required Google sign-in scopes
- Click Continue.
- Review the settings.
- Click Finish.
Changes can take up to 24 hours, though they usually apply sooner. Continue to Speakeasy setup.
Add the server in Speakeasy
- In the Speakeasy AI Control Plane sidebar, under Connect, select Sources.
- Click Add Source.
- Choose Custom remote server.
- On Add a custom remote MCP server, paste
https://docsmcp.googleapis.com/mcp/v1into Remote MCP server URL. - Click Add server.
This creates the hosted MCP server and opens its Overview page. The Transport field is read-only.
Connect your credentials
- From Overview, open Settings.
- Under Authentication, click Configure Manually, or click Use Discovered when offered.
- In Attach Remote Identity Provider, set Client Type to Manual.
- Confirm that Redirect URI matches
https://app.getgram.ai/mcp/remote_login_callback, which you entered when you created the OAuth client. - In Client ID, paste the value you copied from Google.
- In Client Secret (optional), paste the secret you copied from Google. Google requires this value.
- In Scope (override), enter
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. - Click Attach Identity Provider.
Complete Google’s browser authorization with the intended Google Account. If the app is External and in Testing, that account must be under Test users.
This guide covers setup only. For anything beyond it — billing, tool behavior, limits — see Google’s Docs MCP documentation at https://developers.google.com/workspace/docs/api/guides/configure-mcp-server.