Google Sheets MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_TOKEN | No | Bearer token of at least 32 characters, required when running the HTTP transport. | |
| GOOGLE_OAUTH_TOKEN_FILE | No | Path to an OAuth token file for user access. | |
| GOOGLE_APPLICATION_CREDENTIALS | No | Path to a service-account JSON key file. If not set, standard Google Application Default Credentials are used. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read before writes and change only the explicitly requested target. On an uncertain write outcome, reconcile by reading before retry. Deletion is blocked.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sheets_getB | Read spreadsheet metadata. Grid data requires explicit ranges; inspect before editing. |
| sheets_readA | Read one explicit A1 range; formulas are preserved by default. A range is not a full workbook. |
| sheets_createB | Create a spreadsheet only on explicit user request. On timeout check for prior creation before retry. |
| sheets_writeA | Replace values in the approved A1 range. Default RAW; read back before retrying uncertain writes. |
| sheets_batch_updateB | Apply approved formatting/structure operations. Deletion, clearing, grid shrinking and unknown requests are rejected. Other edits can still overwrite data. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
sheets_get and sheets_read both read, but one targets metadata and the other an explicit A1 value range. sheets_write and sheets_batch_update both mutate, but one replaces values while the other applies formatting/structure operations; descriptions clarify the boundary.
All tools use the consistent sheets_ snake_case prefix followed by an action verb. batch_update is a compound action but remains predictable within the same pattern.
Five tools are well-scoped for a Google Sheets server: create, inspect metadata, read ranges, write values, and batch-update structure/formatting. Each tool has a clear role without excessive surface area.
The core create/read/write/format lifecycle is covered, but deletion, clearing, appending rows, and sheet-level lifecycle operations are missing or explicitly rejected. These gaps create dead ends for common cleanup and data-entry workflows.