Google Sheets MCP Server

Google Sheets MCP Server

go_mcp_server_google_sheets•byhightemp

An MCP server for Google Sheets that provides tools for reading and updating cell data, managing sheets, and handling spreadsheets.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Reads sheet data and formulas and updates cell values, including batch updates across multiple ranges.
  • •Manages sheets by listing, creating, renaming, and copying them, and by adding rows or columns.
  • •Manages spreadsheets by creating, listing, and sharing them.
  • •Supports multiple authentication methods: service account, OAuth2, and ADC.

BEST FOR

  • •Automating reading and updating spreadsheet cell data and formulas through an MCP client.
  • •Creating and organizing spreadsheets and worksheets programmatically via MCP tools.
  • •Sharing spreadsheets with users through an MCP client.

ABOUT GO_MCP_SERVER_GOOGLE_SHEETS

Google Sheets MCP Server is cataloged as an MCP server attributed to hightemp. An MCP server for Google Sheets that provides tools for reading and updating cell data, managing sheets, and handling spreadsheets. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Google Sheets MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What authentication methods does this Google Sheets MCP server support?

It supports service account, OAuth2, and ADC authentication.

How can this server be run?

It can run in Stdio mode or SSE mode with a specified port.

上游原版 README

在 GitHub 查看同一版本原文

README.md · cddad1d8891c · 采集于 2026-11-13 12:05:21 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Google Sheets MCP Server

A Model Context Protocol (MCP) server for Google Sheets written in Go. Provides comprehensive tools for interacting with Google Spreadsheets.

Features

  • Sheet Data: Get/update cell data, formulas, batch operations
  • Sheet Management: Create, rename, copy sheets, add rows/columns
  • Spreadsheet Management: Create, list, share spreadsheets
  • Multiple Authentication Methods: Service account, OAuth2, ADC

Quick Start

  1. Build:

    make build
    
  2. Setup Google API Credentials (see SETUP.md for detailed instructions)

  3. Configure Environment:

    # Service Account (recommended)
    export SERVICE_ACCOUNT_PATH="path/to/service-account.json"
    
    # OAuth2
    export CREDENTIALS_PATH="path/to/credentials.json"
    
    # Base64 encoded service account
    export CREDENTIALS_CONFIG="base64_encoded_service_account_json"
    
  4. Run:

    # Stdio mode
    ./go_mcp_server_google_sheets
    
    # SSE mode
    ./go_mcp_server_google_sheets -t sse -p 8891
    

Environment Variables

  • SERVICE_ACCOUNT_PATH - Path to service account JSON file
  • CREDENTIALS_PATH - Path to OAuth2 credentials JSON file
  • CREDENTIALS_CONFIG - Base64 encoded service account JSON
  • TOKEN_PATH - OAuth2 token storage path (default: token.json)
  • DRIVE_FOLDER_ID - Google Drive folder ID for new spreadsheets

Available Tools

Data Operations

  • get_sheet_data - Get data from sheet
  • get_sheet_formulas - Get formulas from sheet
  • update_cells - Update cell values
  • batch_update_cells - Batch update multiple ranges

Sheet Management

  • list_sheets - List all sheets in spreadsheet
  • create_sheet - Create new sheet
  • rename_sheet - Rename existing sheet
  • copy_sheet - Copy sheet between spreadsheets
  • add_rows / add_columns - Add rows or columns

Spreadsheet Management

  • create_spreadsheet - Create new spreadsheet
  • list_spreadsheets - List spreadsheets in Drive
  • share_spreadsheet - Share spreadsheet with users

Authentication Setup

  1. Create Google Cloud Project:

  2. Enable APIs:

    • Go to "APIs & Services" > "Library"
    • Enable "Google Sheets API"
    • Enable "Google Drive API"
  3. Create Service Account:

    • Go to "APIs & Services" > "Credentials"
    • Click "Create Credentials" > "Service Account"
    • Fill in service account details
    • Click "Create and Continue"
  4. Generate Key:

    • Click on created service account
    • Go to "Keys" tab
    • Click "Add Key" > "Create new key"
    • Choose "JSON" format
    • Download the file (this is your service-account.json)
  5. Set Environment Variable:

    export SERVICE_ACCOUNT_PATH="/path/to/your/service-account.json"
    

Method 2: OAuth2 (For User Access)

  1. Create OAuth2 Credentials:

    • In Google Cloud Console, go to "APIs & Services" > "Credentials"
    • Click "Create Credentials" > "OAuth client ID"
    • Choose "Desktop application"
    • Download the JSON file (this is your credentials.json)
  2. Set Environment Variable:

    export CREDENTIALS_PATH="/path/to/your/credentials.json"
    

Method 3: Base64 Encoded (For Containers/CI)

  1. Encode Service Account:

    base64 -w 0 /path/to/service-account.json
    
  2. Set Environment Variable:

    export CREDENTIALS_CONFIG="your_base64_encoded_string_here"
    

Sharing Spreadsheets with Service Account

When using Service Account, you need to share your spreadsheets with the service account email:

  1. Open your Google Spreadsheet
  2. Click "Share" button
  3. Add the service account email (found in your JSON file as client_email)
  4. Give appropriate permissions (Viewer/Editor)

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Google Sheets MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/go_mcp_server_google_sheets)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops