How to integrate Google Sheets MCP with ChatGPT

Trusted by teams atAWSGleanZoomAirtable

30 min · no commitment · see it on your stack

Google Sheets logo
ChatGPT logo
divider

How to integrate Google Sheets MCP with ChatGPT

ChatGPT is one of the most popular AI tools today, with capabilities ranging from deep research and image generation to writing, coding, and everyday productivity.

In this guide, I will explain the easiest and most secure way to connect your Google Sheets account to ChatGPT via Composio Connect, so it can summarize unread updates from this morning, create draft replies to urgent messages, fetch contact details for recent senders, and more without ever putting your account credentials at risk.

Also integrate Google Sheets with

Why use Composio over default connectors?

  • Apps with read and write access. Default connectors mostly can read your data. Composio's Google Sheets integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
  • 1,000+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
  • Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

Prerequisites

  • A ChatGPT account with Plus subscription or higher (Business, Enterprise, Edu, or Pro). We will use ChatGPT Web.
  • Access to the Google Sheets workspace you want to connect.
  • Composio MCP.

Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.

Step-by-step: Connect Google Sheets to ChatGPT

1. Enable Developer Mode

In ChatGPT, go to Settings > Apps > Advanced settings and turn on Developer Mode.

ChatGPT settings showing Developer Mode toggle

2. Add the MCP server

Click Create app, then paste the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
ChatGPT create app flow with Composio MCP URL

3. Authorize in your browser

A browser window will open automatically. Sign in to authorize ChatGPT to access your Composio account.

Composio authorization screen for ChatGPT MCP setup

4. Start using Composio

Composio tools are now available in ChatGPT chats and Deep Research. In every new chat, click the + icon at the bottom, click More, and select Composio to enable tools for that conversation.

What you can do after connecting Google Sheets

  • Add a new sheet named 'Q3 Sales'
  • Update all rows where status is 'Pending'
  • Create a pie chart of expenses by category
  • Clear values in the 'Drafts' worksheet

Security + privacy notes (important)

  • Use least-privilege access: Only grant permissions you actually need.
  • Review OAuth permissions before approving: Make sure requested scopes match what you expect Composio and ChatGPT to do.
  • Keep write actions human-reviewed: For actions like sending messages, creating labels, or editing drafts, keep manual confirmation enabled.
  • Be careful with sensitive data: Avoid using this setup with highly sensitive information unless allowed by your personal, company, or client policies.

Supported Tools & Triggers

Tools
Triggers
Add Sheet to SpreadsheetAdds a new sheet (worksheet) to a spreadsheet.
Aggregate Column DataSearches for rows where a specific column matches a value and performs mathematical operations on data from another column.
Append DimensionTool to append new rows or columns to a sheet, increasing its size.
Batch get spreadsheetRetrieves data from specified cell ranges in a google spreadsheet; ensure the spreadsheet has at least one worksheet and any explicitly referenced sheet names in ranges exist.
Batch update spreadsheetUpdates a specified range in a google sheet with given values, or appends them as new rows if `first cell location` is omitted; ensure the target sheet exists and the spreadsheet contains at least one worksheet.
Batch Update Values by Data FilterTool to update values in ranges matching data filters.
Clear Basic FilterTool to clear the basic filter from a sheet.
Clear spreadsheet valuesClears cell content (preserving formatting and notes) from a specified a1 notation range in a google spreadsheet; the range must correspond to an existing sheet and cells.
Create Chart in Google SheetsCreate a chart in a google sheets spreadsheet using the specified data range and chart type.
Create a Google SheetCreates a new google spreadsheet in google drive using the provided title.
Create spreadsheet columnCreates a new column in a google spreadsheet, requiring a valid `spreadsheet id` and an existing `sheet id`; an out-of-bounds `insert index` may append/prepend the column.
Create spreadsheet rowInserts a new, empty row into a specified sheet of a google spreadsheet at a given index, optionally inheriting formatting from the row above.
Delete Dimension (Rows/Columns)Tool to delete specified rows or columns from a sheet in a google spreadsheet.
Delete SheetTool to delete a sheet (worksheet) from a spreadsheet.
Execute SQL on SpreadsheetExecute sql queries against google sheets tables.
Find worksheet by titleFinds a worksheet by its exact, case-sensitive title within a google spreadsheet; returns a boolean indicating if found and the complete metadata of the entire spreadsheet, regardless of whether the target worksheet is found.
Format cellApplies text and background cell formatting to a specified range in a google sheets worksheet.
Get sheet namesLists all worksheet names from a specified google spreadsheet (which must exist), useful for discovering sheets before further operations.
Get Spreadsheet by Data FilterReturns the spreadsheet at the given id, filtered by the specified data filters.
Get spreadsheet infoRetrieves comprehensive metadata for a google spreadsheet using its id, excluding cell data.
Get Table SchemaThis action is used to get the schema of a table in a google spreadsheet, call this action to get the schema of a table in a spreadsheet before you query the table.
Insert Dimension in Google SheetTool to insert new rows or columns into a sheet at a specified location.
List Tables in SpreadsheetThis action is used to list all tables in a google spreadsheet, call this action to get the list of tables in a spreadsheet.
Look up spreadsheet rowFinds the first row in a google spreadsheet where a cell's entire content exactly matches the query string, searching within a specified a1 notation range or the first sheet by default.
Query Spreadsheet TableThis action is used to query a table in a google spreadsheet, call this action to query a table in a spreadsheet.
Search Developer MetadataTool to search for developer metadata in a spreadsheet.
Search SpreadsheetsSearch for google spreadsheets using various filters including name, content, date ranges, and more.
Set Basic FilterTool to set a basic filter on a sheet in a google spreadsheet.
Create sheet from JSONCreates a new google spreadsheet and populates its first worksheet from `sheet json`, which must be non-empty as its first item's keys establish the headers.
Copy Sheet to Another SpreadsheetTool to copy a single sheet from a spreadsheet to another spreadsheet.
Append Values to SpreadsheetTool to append values to a spreadsheet.
Batch Clear Spreadsheet ValuesTool to clear one or more ranges of values from a spreadsheet.
Batch Clear Values By Data FilterClears one or more ranges of values from a spreadsheet using data filters.
Batch Get Spreadsheet Values by Data FilterTool to return one or more ranges of values from a spreadsheet that match the specified data filters.
Update Sheet PropertiesTool to update properties of a sheet (worksheet) within a google spreadsheet, such as its title, index, visibility, tab color, or grid properties.
Update Spreadsheet PropertiesTool to update properties of a spreadsheet, such as its title, locale, or auto-recalculation settings.

How to build Google Sheets MCP Agent with another framework

FAQ

What are the differences in Tool Router MCP and Google Sheets MCP?

With a standalone Google Sheets MCP server, the agents and LLMs can only access a fixed set of Google Sheets tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Google Sheets and many other apps based on the task at hand, all through a single MCP endpoint.

Can I use Tool Router MCP with ChatGPT?

Yes, you can. ChatGPT fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Google Sheets tools.

Can I manage the permissions and scopes for Google Sheets while using Tool Router?

Yes, absolutely. You can configure which Google Sheets scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Google Sheets data and credentials are handled as safely as possible.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.