Purpose: mcp-gsheets is a server that connects the Google Sheets API to MCP clients, enabling clients such as Claude Code, Claude Desktop, Cursor, and Cline to read, write, and manage Google spreadsheets.
Main capabilities: complete spreadsheet reading, writing, and management; batch operations, formatting, charts, and conditional formatting; supports two credential methods: file path or JSON string; built with TypeScript, with error handling and test coverage. Tools are divided into categories such as spreadsheet management, cell formatting, and reading/snapshots, and the official count is 44 tools in total. GSHEETS_TOOLSETS can be used to limit the tools exposed by the server to reduce context consumption, and core is always included; GSHEETS_READ_ONLY=true removes all write tools and is enforced at execution time. All tools have MCP annotations (readOnlyHint, destructiveHint, idempotentHint).
Usage: requires Node.js v20 or higher, a Google Cloud project with the Sheets API enabled, and a service account with a JSON key file. Quick installation adds the configuration to the MCP client; Claude Desktop configuration file paths: on macOS ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows %APPDATA%\Claude\claude_desktop_config.json, on Linux ~/.config/claude/claude_desktop_config.json. In Cursor, add the configuration in Settings → MCP → New MCP Server. On the Google Cloud side, enable the Sheets API, create a service account and download the JSON key, then share the spreadsheet with the service account email and grant "Editor" permission. Credentials can also use GOOGLE_SERVICE_ACCOUNT_KEY (the entire JSON on a single line, with quotes escaped and newlines written as \n) or only GOOGLE_PRIVATE_KEY and GOOGLE_CLIENT_EMAIL.
Applicable scenarios: operate Google Sheets within an MCP client through natural language or tool calls, such as reading snapshots, batch writing, formatting and chart management, row insertion, and row/column deletion.
Limitations: you must configure Google Cloud and credentials yourself; before use, it is recommended to test with a copy of the data and check permissions and rate limits; other details are not yet provided.