Google Sheets MCP for Cursor
io.github.a1-x-tech/mcp-google-sheets
MCP server for the Google Sheets API: read and write ranges, sheets, formatting, charts, sharing.
client:Cursor
transport:stdio
runtime:npm
Install Google Sheets MCP in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"mcp-google-sheets": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@a1-x-tech/mcp-google-sheets"
],
"env": {
"GOOGLE_SHEETS_CLIENT_ID": "<GOOGLE_SHEETS_CLIENT_ID>",
"GOOGLE_SHEETS_CLIENT_SECRET": "<GOOGLE_SHEETS_CLIENT_SECRET>",
"GOOGLE_SHEETS_REFRESH_TOKEN": "<GOOGLE_SHEETS_REFRESH_TOKEN>",
"GOOGLE_SHEETS_ACCESS_TOKEN": "<GOOGLE_SHEETS_ACCESS_TOKEN>",
"GOOGLE_SHEETS_OAUTH_PORT": "<GOOGLE_SHEETS_OAUTH_PORT>",
"GOOGLE_SHEETS_API_BASE": "<GOOGLE_SHEETS_API_BASE>",
"GOOGLE_SHEETS_TIMEOUT_MS": "<GOOGLE_SHEETS_TIMEOUT_MS>",
"GOOGLE_SHEETS_MAX_RETRIES": "<GOOGLE_SHEETS_MAX_RETRIES>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs