开发者工具 · 云平台

MCP Gsheets

freema/mcp-gsheets

MCP Google Sheets服务器是一个用于集成Google Sheets API的模型上下文协议服务器,支持直接从MCP客户端(如Claude Desktop)读取、写入和管理Google Sheets文档。

安装

npx -y mcp-gsheets@latest

客户端配置

{
  "mcpServers": {
    "mcp-gsheets": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-gsheets@latest"
      ],
      "env": {
        "GOOGLE_PROJECT_ID": "<GOOGLE_PROJECT_ID>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
      }
    }
  }
}

环境变量

GOOGLE_PROJECT_IDGOOGLE_APPLICATION_CREDENTIALSGOOGLE_SERVICE_ACCOUNT_KEYGOOGLE_PRIVATE_KEYGOOGLE_CLIENT_EMAILGSHEETS_TOOLSETS
作者
@freema
分类
开发者工具, 云平台
许可证
MIT
更新于
2026年10月6日

工具(40)

  • sheets_get_values

    Read cell values from a single range

  • sheets_batch_get_values

    Read cell values from multiple ranges in one request

  • sheets_get_metadata

    Get spreadsheet metadata: title, locale, sheets list with IDs, row/column counts

  • sheets_check_access

    Verify that the service account can access a spreadsheet

  • sheets_update_values

    Write values to a single range (overwrites existing content)

  • sheets_batch_update_values

    Write values to multiple ranges in one request

  • sheets_append_values

    Append rows after the last row of an existing table.

  • sheets_clear_values

    Clear all values in a range (preserves formatting)

  • sheets_insert_rows

    Insert blank or pre-filled rows at a specific position

  • sheets_delete_columns

    Delete one or more columns using a full-column A1 range

  • sheets_delete_rows

    Delete one or more rows using a full-row A1 range

  • sheets_insert_link

    Insert a hyperlink formula into a cell

  • sheets_insert_date

    Insert a date/datetime value formatted correctly into a cell

  • sheets_create_spreadsheet

    Create a new Google Sheets file

  • sheets_insert_sheet

    Add a new sheet tab to an existing spreadsheet

  • sheets_delete_sheet

    Remove a sheet tab by its numeric sheet ID

  • sheets_duplicate_sheet

    Copy a sheet within the same spreadsheet

  • sheets_copy_to

    Copy a sheet to a different spreadsheet

  • sheets_update_sheet_properties

    Rename a sheet, change tab colour, toggle grid lines, etc.

  • sheets_batch_delete_sheets

    Delete multiple sheet tabs in one request

  • sheets_format_cells

    Apply background colour, font style, alignment and number format to a range

  • sheets_batch_format_cells

    Apply different formats to multiple ranges in one request

  • sheets_update_borders

    Set or remove borders on a range (style, width, colour per side)

  • sheets_merge_cells

    Merge a range of cells

  • sheets_unmerge_cells

    Unmerge previously merged cells in a range

  • sheets_add_conditional_formatting

    Add a conditional formatting rule (gradient or boolean) to a range

  • sheets_add_table

    Create a native Google Sheets table with typed columns and optional dropdown values

  • sheets_update_table

    Update an existing native Google Sheets table by table ID using an explicit field mask

  • sheets_delete_table

    Delete a native Google Sheets table by table ID

  • sheets_get_tables

    Read native tables for a spreadsheet or a specific sheet

  • sheets_create_chart

    Create a bar, line, pie, column or other chart on a sheet

  • sheets_update_chart

    Modify an existing chart's spec or position

  • sheets_delete_chart

    Remove a chart from a spreadsheet

  • sheets_get_merged_cells

    Return all merged cell ranges for a sheet, with A1 notation and raw GridRange coordinates

  • sheets_get_sheet_dimensions

    Return column widths, row heights, frozen column/row counts, and hidden flags for every column and row

  • sheets_get_sheet_formatting

    Read raw cell formatting (background colour, font, borders, alignment, number format) for a range without returning cell values

  • sheets_get_conditional_formatting

    Read all conditional formatting rules and banded (alternating-colour) ranges defined on a sheet

  • sheets_get_sheet_structure

    Lightweight structural metadata only — no per-cell data.

  • sheets_get_formatting_compact

    Read cell formatting for a range and return it as compact A1Range→format pairs (run-length encoded).

  • sheets_get_full_sheet_snapshot

    Master one-shot tool — returns all structural and formatting metadata (merges, dimensions, conditional formatting, and optionally cell formatting) in a single…

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Claude Desktop logo

Claude Desktop

桌面端 · 免费增值 · Proprietary

Anthropic 官方推出的 Claude AI 桌面应用程序。支持 MCP 服务器以扩展功能。

WindowsMacOS
Cline logo

Cline

桌面端 · 免费 · MIT

集成到 IDE 中的 AI 代码助手。支持 MCP 服务器以增强功能。

WindowsMacOSLinux
Cursor logo

Cursor

桌面端 · 免费增值 · Proprietary

首个代理式 IDE。Cursor 编辑器让开发者与 AI 的工作真正融合在一起,提供如魔法般的编码体验。

WindowsMacOSLinux

相关 MCP 服务器

更多服务器
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright是一个跨浏览器的Web测试和自动化框架,支持Chromium、Firefox和WebKit,提供无头执行、多浏览器兼容性测试、强大的断言和工具支持,适用于多种编程语言。

开发者工具
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix是一个将代码库打包为AI友好格式的工具,支持本地和远程仓库处理,提供代码压缩、安全检查和多种输出格式。

开发者工具
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS 是字节跳动的多模态 AI 智能体技术栈,包含两个项目:Agent TARS(基于 MCP 的命令行与 Web UI 智能体)和 UI-TARS-desktop(桌面 GUI 智能体)。

开发者工具
blender logo

blender

ahujasid/blender-mcp

10.6k

BlenderMCP通过MCP协议将Blender与Claude AI连接,实现AI辅助3D建模与场景控制

开发者工具
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

Playwright MCP是一个基于Playwright的浏览器自动化服务器,通过结构化数据而非像素输入实现LLM与网页的交互。

开发者工具
2344 logo

2344

comet-ml/opik

7k

Opik是一个开源的LLM评估框架,支持追踪、评估和监控LLM应用,帮助开发者构建更高效、更经济的LLM系统。

开发者工具