MCP Google Sheets
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TOOLS | No | Comma-separated list of tools to expose (blank = all) | |
| USER_NAME | No | Name stamped onto add_rows writes | |
| GOOGLE_PRIVATE_KEY | No | Private key for service account (from JSON key file) | |
| GOOGLE_OAUTH_CLIENT_ID | No | OAuth client ID for per-user authentication | |
| GOOGLE_OAUTH_CLIENT_SECRET | No | OAuth client secret for per-user authentication | |
| GOOGLE_SERVICE_ACCOUNT_EMAIL | No | Service account email for headless authentication |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_spreadsheet_infoA | Returns metadata about a spreadsheet: title, sheet names, IDs, and dimensions. |
| get_sheet_schemaA | Returns the structural schema of a sheet tab: column names, dropdown options, checkboxes, data types (date/number/currency), formula-protected fields, and instructional notes. Use this before write operations to understand column constraints. |
| create_sheetB | Creates a new sheet tab in the spreadsheet. |
| rename_sheetA | Renames a sheet tab. Identify the sheet by sheet_id or old_title. |
| get_sheet_dataB | Reads cell values from a range in A1 notation (e.g. 'Sheet1!A1:D10' or 'Sheet1' for the entire tab). |
| find_rowsA | Searches a sheet tab for rows whose cell value matches |
| add_rowsB | Appends rows to the bottom of a sheet tab. |
| add_columnsA | Inserts empty columns into a sheet tab at a position, or appends them at the right edge. |
| update_rowA | Overwrites cells in a single row, left to right, starting at |
| delete_rowsA | Permanently deletes a contiguous block of rows from a sheet tab, shifting the rows below upward. Deletes |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/toantran201/mcp-google-sheets'
If you have feedback or need assistance with the MCP directory API, please join our Discord server