Skip to main content
Glama

Google Sheets MCP

A local MCP server for creating, reading, and updating Google Sheets.

Tools

  • sheets_create_spreadsheet - create a new Google spreadsheet

  • sheets_get_values - read a range from a sheet

  • sheets_update_values - overwrite a range

  • sheets_append_values - append rows

  • sheets_clear_values - clear a range

  • sheets_add_sheet - add a new tab

  • sheets_paste_markdown_report - paste a markdown report as one line per row

Related MCP server: google-sheets-mcp

Setup

  1. Enable the Google Sheets API for the Google Cloud project.

  2. Enable the Google Drive API if you want to create new spreadsheets.

  3. Fill .env with your OAuth client values.

  4. Generate a Sheets-scoped refresh token:

npm run auth

Open the printed Google URL, approve access, then copy the printed SHEETS_REFRESH_TOKEN into .env.

  1. Install and build:

npm install
npm run build

Codex config

[mcp_servers.google-sheets]
command = "node"
args = ["/Users/sandeshsonabakhilari/Desktop/my-mcp/google-sheets-mcp/dist/index.js"]

The MCP reads credentials from /Users/sandeshsonabakhilari/Desktop/my-mcp/google-sheets-mcp/.env.

Example

Create a spreadsheet:

{
  "title": "Gmail Reports",
  "sheetTitle": "Read Mail Priority"
}

Paste a report:

{
  "spreadsheetId": "...",
  "range": "Read Mail Priority!A1",
  "markdown": "# Report...",
  "clearFirst": true
}
Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/SandeshKhilari01/google-sheet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server