MCP Google Sheets Full logo

MCP Google Sheets Full

Access Google Sheets and Drive through 26 MCP tools, raw batch requests, and an optional Node.js scripting escape hatch.

Install MCP Google Sheets Full

Run the project’s own setup commands, in order.

Setup steps from the project

mcp-google-sheets-full installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install -g mcp-google-sheets-full
    
  2. 2. Add to Claude Code
    claude mcp add google-sheets -- mcp-google-sheets-full
    

Overview

The mcp-google-sheets-full MCP server connects AI clients to Google Sheets and Drive through authenticated Node.js tools. It supports reading, writing, appending, clearing, spreadsheet discovery, metadata access, and raw structural batchUpdate requests. The optional run_sheets_script tool runs custom Node.js with authenticated Sheets and Drive clients in scope. Reach for it when standard spreadsheet operations are insufficient or when automation needs OAuth or headless service-account access.

Use cases

  • Read and update spreadsheet ranges
  • Search Drive for spreadsheets by name or content
  • Apply custom structural Sheets API requests
  • Run multi-step spreadsheet analysis and writeback workflows
  • Automate headless spreadsheet tasks with a service account

Key features

  • 26 Google Sheets and Drive tools
  • Read, write, append, and clear range values
  • Raw structural batchUpdate requests
  • Spreadsheet listing and content search
  • OAuth and service-account authentication
  • Node.js scripting escape hatch

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 77d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit6mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Google Sheets Full works

What mcp-google-sheets-full does

The mcp-google-sheets-full MCP server exposes Google Sheets and selected Google Drive operations to MCP clients. Its tools cover spreadsheet discovery, URL parsing, authentication status, metadata retrieval, range reads, multi-range reads, writes, appends, clears, and structural changes. Every operation requires an explicit spreadsheetId; the server does not select a hidden default spreadsheet.

A raw batch_update operation accepts Google Sheets API request objects for structural work that does not have a dedicated convenience tool. This can cover custom formatting, tab operations, borders, conditional-format requests, and other Sheets API request types, provided the caller supplies valid requests.

How it works

The mcp-google-sheets-full MCP server runs as a Node.js executable and communicates with an MCP client over its standard server configuration. Google Sheets API v4 and Drive API v3 clients are authenticated before operations run. OAuth is the default mode and acts as the configured user, while service-account mode is selected when GOOGLE_APPLICATION_CREDENTIALS is set.

The run_sheets_script tool provides an additional execution path for multi-step workflows, custom Drive actions, ad-hoc analysis, or API operations not covered by the other tools. The script receives authenticated sheets, drive, auth, and spreadsheetId variables. Assigning a value to result returns it to the caller. Scripts run through Node.js in a temporary file, which is removed after success or failure.

This execution path has a default two-minute timeout and a maximum timeout of ten minutes. It runs on the machine hosting the MCP server and uses the permissions of the configured Google credentials. The OAuth token is stored under the configured MCP directory rather than being sent outside the local server process.

Setup and configuration

Install the published executable with:

Terminal
npm install -g mcp-google-sheets-full

For OAuth, enable the Google Sheets and Google Drive APIs, create a desktop OAuth client, and save its JSON file as gdrive-credentials.json in ~/.mcp-google-sheets/ on macOS or Linux, or the corresponding user directory on Windows. The first tool call opens a browser for consent; later calls reuse and refresh the saved token.

For headless or CI use, create a Google service-account JSON key and set GOOGLE_APPLICATION_CREDENTIALS to its path. Each spreadsheet must be shared with the service account email. The service-account mode does not use a browser or token file.

Set GSHEETS_CONFIG_DIR to change where OAuth credentials and tokens are stored. Claude Code can register the executable with claude mcp add google-sheets -- mcp-google-sheets-full; Claude Desktop uses a server entry with the executable as its command.

Tools and capabilities

The documented tool set includes:

  • auth_status for checking credential and token locations.
  • resolve_url for extracting a spreadsheet ID and tab ID from a Sheets URL.
  • list_spreadsheets and search_spreadsheets for Drive-based discovery.
  • get_spreadsheet for spreadsheet and tab metadata.
  • get_values and batch_get_values for reading ranges.
  • update_values, batch_update_values, append_values, and clear_values for value changes.
  • batch_update for raw structural Sheets API requests.
  • run_sheets_script for custom Node.js workflows using authenticated API clients.

The mcp-google-sheets-full MCP server supports user OAuth without per-spreadsheet setup, provided the Google account can access the target file. Service accounts instead see only files explicitly shared with their bot identity.

Limitations and notes

run_sheets_script is code execution on the host running the MCP server. It should be treated with the same trust considerations as tools that let an agent execute local code. Its access is constrained by the configured Sheets and Drive OAuth scopes, but it can perform any operation available through those authenticated clients.

The service account must be granted access to each spreadsheet separately; valid credentials alone do not provide access. OAuth setup requires a browser on the first authorization. If an OAuth refresh token is revoked, removing gdrive-token.json triggers authorization again on the next call.

The server does not provide a default spreadsheet context. Callers must supply spreadsheetId explicitly, including when using the scripting escape hatch.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Google Sheets Full

mcp-google-sheets-full is an MCP server that connects AI clients to Google Sheets and Drive through authenticated Node.js tools. Its main tools read, write, append, clear, search, and update spreadsheets, while run_sheets_script supports custom API workflows and arbitrary Node.js code within the configured permissions.

Install it globally with `npm install -g mcp-google-sheets-full`. The package places the executable on your PATH. Then register `mcp-google-sheets-full` in your MCP client, such as Claude Code or Claude Desktop.

Use OAuth by default, or set `GOOGLE_APPLICATION_CREDENTIALS` to a service-account JSON key for headless operation. OAuth requires Google API setup and a one-time browser consent flow. Service-account access requires sharing each target spreadsheet with the account email.

Yes, the README identifies Cursor as a supported use case. Configure Cursor to launch the installed `mcp-google-sheets-full` executable, then complete OAuth in a browser or provide `GOOGLE_APPLICATION_CREDENTIALS` for service-account mode.

Call `run_sheets_script` with Node.js code when the dedicated tools do not cover the operation. The script receives authenticated `sheets`, `drive`, `auth`, and `spreadsheetId` variables, and assigning a value to `result` returns structured output.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Google Sheets Full AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-google-sheets-full?style=directory)](https://allmcps.com/mcp/mcp-google-sheets-full)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-google-sheets-full"><img src="https://allmcps.com/api/badge/mcp-google-sheets-full?style=directory" alt="MCP Google Sheets Full on AllMCPs" /></a>