Google Sheets
Connect Google Sheets data through Google's hosted Sheets MCP server.
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 that will own this configuration. Keep the same project selected throughout setup.
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
https://app.getgram.ai/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 connect your credentials in the Speakeasy AI Control Plane.
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://sheetsmcp.googleapis.com/mcp/v1into Remote MCP server URL. - Click Add server.
This creates the hosted MCP server and opens its Overview page.
Connect your credentials
- From Overview, open Settings.
- Under Authentication, click Configure Manually or 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_callbackfrom Create the OAuth client. - In Client ID, paste the Client ID from Copy the OAuth credentials.
- In Client Secret (optional), paste the Client secret from the same step. Google requires this generated secret.
- In Scope (override), enter
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. - Click Attach Identity Provider.
At first connection, complete Google’s browser authorization with an account granted MCP Tool User and access to the intended spreadsheets.
This guide covers setup only. For anything beyond it — billing, tool behavior, limits — see Google’s Sheets MCP documentation at https://developers.google.com/workspace/sheets/api/guides/configure-mcp-server.