Google Sheets
Connect Google Sheets data through Google's hosted Sheets MCP server.
The Sheets MCP server is available only through the Google Workspace Developer Preview Program, so the Google Cloud project must be registered in it. Use a Google Cloud project where you can enable services, grant project IAM roles, configure the Google Auth platform, and create OAuth credentials. You normally need Service Usage Admin or Owner to enable the APIs and Project IAM Admin to grant access. Each person who will connect needs access to the intended spreadsheets. Before setup, have the application or security owner configure prompt and response screening for malicious content or prompt injection.
Sign in to the Google Cloud console. In the console toolbar, use the resource selector to choose the project registered in the Developer Preview Program. Keep the same project selected throughout setup.
Join the Google Workspace Developer Preview Program
- Open developers.google.com/workspace/preview.
- Review the Developer Preview Program Terms with the application or security owner.
- Click Apply to join the Developer Preview Program.
- In the application form, enter the requested Google Workspace account and Google Cloud project information.
- Agree to the terms only with organizational approval.
- Submit the form with the visible or equivalent submission control.
- 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 Google Sheets APIs
- Open APIs & Services > API Library.
- In Search for APIs & Services, enter
Google Sheets API. - Open Google Sheets API.
- Click Enable. If the service is already enabled, leave it enabled.
- Reopen APIs & Services > API Library.
- In Search for APIs & Services, enter
Google Sheets MCP API. - Open Google Sheets MCP API.
- Click Enable. If the service is already enabled, leave it enabled.
Grant MCP Tool User access
- Go to IAM.
- Confirm that the same project is selected.
- Click Grant access.
- In New principals, enter the Google Account email address of a person who will connect through the Speakeasy AI Control Plane.
- Click Select a role.
- Search for
MCP Tool User. - Select MCP Tool User.
- Click Save.
- Repeat these steps for every person who will connect.
Configure the OAuth consent screen
Google does not allow you to remove the OAuth consent screen after you configure it. Before continuing, confirm that you are working in the correct project.
- Open Google Auth platform > Branding.
- If Google Auth platform not configured yet appears, click Get Started.
- Under App Information, enter
Sheets MCP Serverin App name. - In User support email, select a monitored email address. Obtain the correct value from the application or security owner if needed.
- Click Next.
- Under Audience, select Internal if every connecting user belongs to the project’s organization. Otherwise, select External.
- Click Next.
- Under Contact Information, enter a monitored Email address.
- Click Next.
- Under Finish, review the Google API Services User Data Policy with the application or security owner.
- If the owner approves the policy, select I agree to the Google API Services: User Data Policy.
- Click Continue.
- Click Create.
If the Google Auth platform was already configured, retain the approved Branding and Audience settings.
-
Open Data Access.
-
Click Add or Remove Scopes.
-
Under Manually add scopes, paste these four URLs:
https://www.googleapis.com/auth/drive.readonlyhttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/spreadsheets.readonlyhttps://www.googleapis.com/auth/spreadsheets -
Click Add to Table.
-
Click Update.
-
Click Save.
-
If you selected an External audience in Testing, open Audience.
-
Under Test users, click Add users.
-
Enter each connecting user’s email address.
-
Click Save.
An External audience in Testing supports up to 100 test users. Each authorization expires seven days after consent. When it expires, the user must complete browser authorization again.
Create the OAuth client
-
Open Google Auth platform > Clients.
-
Click Create client.
-
In Application type, select Web application.
-
In Name, enter a recognizable name such as
Speakeasy AI Control Plane. -
Under Authorized redirect URIs, click + Add URI.
-
In URIs, enter this value:
https://ai.speakeasy.com/mcp/remote_login_callback
Before you click Create, prepare an approved secret store. The next dialog displays a client secret that can be copied only once.
- Click Create.
This opens OAuth 2.0 client created.
Copy the OAuth credentials
- In OAuth 2.0 client created, copy the Client ID to your approved secret store.
- Under Client secrets, copy the Client secret to the same store.
If you miss the one-time Client secret, delete it and create a new one before continuing.
Keep both values available, then add the server in the Speakeasy AI Control Plane.
Add the server in Speakeasy
-
In the Speakeasy AI Control Plane sidebar, under MCP Gateway, select MCP.
-
Click Add new to open Add MCP server.
-
Choose Hosted remotely.
-
On New remote MCP server, paste this URL into MCP server URL:
https://sheetsmcp.googleapis.com/mcp/v1 -
Leave User session issuer at its default.
-
Click Verify connectivity.
-
Under Identity, select User Identity. The page preselects No Identity for this server, so change it.
-
If Guardrails appears, leave it off.
-
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
-
Open the server’s Settings and find the Identity section.
-
Confirm that User Identity is selected.
-
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. -
Choose Manual.
-
In Client ID, paste the Client ID from Copy the OAuth credentials.
-
In Client secret, paste the Client secret from the same section. Google requires it even though the field says “Optional”.
-
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/spreadsheets.readonly https://www.googleapis.com/auth/spreadsheetsDo not leave Scope blank. A blank value requests every scope the server advertises, including full Drive access, which the consent screen does not grant.
-
Click Save.
-
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 Sheets MCP documentation.