Skip to content

Google Sheets

AllMCP gives your agent a full set of Google Sheets and Google Drive tools: read and write cells, manage tabs, format ranges, add charts, share files, export, and more.

All providers How connecting works

Connect your MCP client to the AllMCP endpoint and authenticate with your API key.

https://go.allmcp.co/mcp/

Send your key on every request using either header:

X-API-Key: allmcp_xxx
Authorization: Bearer allmcp_xxx

If you run agents for more than one of your own customers, add ?user_id=... (and optionally ?org_id=...) to the endpoint URL so each customer’s Google connection stays separate.


Google Sheets uses OAuth2, so there are no tokens to copy by hand.

  1. Ask your agent to connect Google Sheets

    Tell your agent to connect the google_sheets provider. It returns a secure Google sign-in link.

  2. Grant access in your browser

    Open the link, sign in to Google, and approve the requested access. That is the only manual step.


Once you are connected, your agent can use the Google Sheets tools below. The categories show what it can do for you.

Drive-side file operations (the Sheets API has no list endpoint of its own).

ToolDescription
google_sheets_list_spreadsheetsLists the spreadsheets you have access to in Google Drive.
google_sheets_get_file_metadataReturns file-level details for one spreadsheet, such as its name, owner, and timestamps.
google_sheets_create_spreadsheetCreates a brand-new, empty spreadsheet.
google_sheets_copy_spreadsheetMakes a duplicate copy of an existing spreadsheet.
google_sheets_rename_spreadsheetChanges the title of an existing spreadsheet.
google_sheets_trash_spreadsheetMoves a spreadsheet to the Drive trash, where it can still be recovered.
google_sheets_untrash_spreadsheetRestores a spreadsheet that was previously moved to the trash.
google_sheets_delete_spreadsheetPermanently deletes a spreadsheet, bypassing the trash — this cannot be undone.

Read and write cell data.

ToolDescription
google_sheets_values_getReads the values from a single range of cells.
google_sheets_values_updateWrites values into a single range of cells.
google_sheets_values_appendAdds new rows of data to the end of a sheet.
google_sheets_values_clearClears the values from a range of cells.
google_sheets_values_batch_getReads several ranges of cells in a single request.
google_sheets_values_batch_updateWrites to several ranges of cells in a single request.
google_sheets_values_batch_clearClears several ranges of cells in a single request.
google_sheets_values_batch_get_by_data_filterReads ranges selected by a data filter rather than by fixed cell addresses.
google_sheets_values_batch_update_by_data_filterWrites to ranges selected by a data filter rather than by fixed cell addresses.
google_sheets_values_batch_clear_by_data_filterClears ranges selected by a data filter rather than by fixed cell addresses.

Read spreadsheet structure (sheet names, IDs, dimensions).

ToolDescription
google_sheets_get_spreadsheetReturns the full structure of a spreadsheet, including every tab and its dimensions.
google_sheets_get_by_data_filterReturns spreadsheet structure for only the parts that match a data filter.

Add, delete, duplicate, rename, and reorder the tabs within a spreadsheet.

Insert, delete, and resize rows and columns.

Format ranges, merge and unmerge cells, and set data validation rules.

Create, update, and delete conditional formatting rules.

Apply basic filters, save filter views, and sort ranges.

Create, update, and delete charts.

Manage who a spreadsheet is shared with and at what access level.

Export a spreadsheet to CSV, XLSX, or PDF.

Create, update, and delete structured tables (a 2024+ Google Sheets feature).

Find and replace text, trim whitespace, and remove duplicate rows.

Create, update, and delete named ranges.

Create, update, and delete protected ranges that restrict who can edit them.

Attach and manage custom key-value annotations on a spreadsheet, sheet, or range.


Just describe what you want in plain language — your agent picks the right tools.

Read cells A1:D10 from the sheet "Sales Q1" in spreadsheet ID 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms