Google Sheets
v1.2.1Allow AI systems to read, write, and query spreadsheet data via Google Sheets.
Values you need
| Variable | What it is | |
|---|---|---|
GOOGLE_ACCESS_TOKEN | required secret | Google OAuth access token with Sheets scopes. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add google-sheets-mcp -e 'GOOGLE_ACCESS_TOKEN=<GOOGLE_ACCESS_TOKEN>' -- npx -y google-sheets-mcp@1.2.1Add to
claude_desktop_config.json{
"mcpServers": {
"google-sheets-mcp": {
"args": [
"-y",
"google-sheets-mcp@1.2.1"
],
"command": "npx",
"env": {
"GOOGLE_ACCESS_TOKEN": "<GOOGLE_ACCESS_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"google-sheets-mcp": {
"args": [
"-y",
"google-sheets-mcp@1.2.1"
],
"command": "npx",
"env": {
"GOOGLE_ACCESS_TOKEN": "<GOOGLE_ACCESS_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "GOOGLE_ACCESS_TOKEN",
"id": "google-access-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"google-sheets-mcp": {
"args": [
"-y",
"google-sheets-mcp@1.2.1"
],
"command": "npx",
"env": {
"GOOGLE_ACCESS_TOKEN": "${input:google-access-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.google-sheets-mcp]
command = "npx"
args = ["-y", "google-sheets-mcp@1.2.1"]
env = { "GOOGLE_ACCESS_TOKEN" = "<GOOGLE_ACCESS_TOKEN>" }For AI agents
- Ask the user for: GOOGLE_ACCESS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: spreadsheet_get, spreadsheet_create, values_get, values_batch_get, values_update, values_batch_update, values_append, values_clear, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json