xing5/mcp-google-sheets

xing5/mcp-google-sheets

от xing5
Читает и записывает данные в Google Таблицы: обновляет ячейки, ищет по документу, создаёт листы. Поддерживает сервисные аккаунты и фильтрацию инструментов.
mcp-google-sheets

Your AI Assistant's Gateway to Google Sheets! 📊

PyPI - Version PyPI Downloads GitHub License GitHub Actions Workflow Status


🤔 What is this?

mcp-google-sheets is a Python-based MCP server that acts as a bridge between any MCP-compatible client (like Claude Desktop) and the Google Sheets API. It allows you to interact with your Google Spreadsheets using a defined set of tools, enabling powerful automation and data manipulation workflows driven by AI.


🚀 Quick Start (Using uvx)

Essentially the server runs in one line: uvx mcp-google-sheets@latest.

This command will automatically download the latest code and run it. We recommend always using @latest to ensure you have the newest version with the latest features and bug fixes.

Refer to the ID Reference Guide for more information about the IDs used below.

  1. ☁️ Prerequisite: Google Cloud Setup

    • You must configure Google Cloud Platform credentials and enable the necessary APIs first. We strongly recommend using a Service Account.
    • ➡️ Jump to the Detailed Google Cloud Platform Setup guide below.
  2. 🐍 Install uv

    • uvx is part of uv, a fast Python package installer and resolver. Install it if you haven't already:
      # macOS / Linux
      curl -LsSf https://astral.sh/uv/install.sh | sh
      # Windows
      powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
      # Or using pip:
      # pip install uv
      
      Follow instructions in the installer output to add uv to your PATH if needed.
  3. 🔑 Set Essential Environment Variables (Service Account Recommended)

    • You need to tell the server how to authenticate. Set these variables in your terminal:
    • (Linux/macOS)
      # Replace with YOUR actual path and folder ID from the Google Setup step
      export SERVICE_ACCOUNT_PATH="/path/to/your/service-account-key.json"
      export DRIVE_FOLDER_ID="YOUR_DRIVE_FOLDER_ID"
      
    • (Windows CMD)
      set SERVICE_ACCOUNT_PATH="C:\path\to\your\service-account-key.json"
      set DRIVE_FOLDER_ID="YOUR_DRIVE_FOLDER_ID"
      
    • (Windows PowerShell)
      $env:SERVICE_ACCOUNT_PATH = "C:\path\to\your\service-account-key.json"
      $env:DRIVE_FOLDER_ID = "YOUR_DRIVE_FOLDER_ID"
      
    • ➡️ See Detailed Authentication & Environment Variables for other options (OAuth, CREDENTIALS_CONFIG).
  4. 🏃 Run the Server!

    • uvx will automatically download and run the latest version of mcp-google-sheets:
      uvx mcp-google-sheets@latest
      
    • The server will start and print logs indicating it's ready.
    • 💡 Pro Tip: Always use @latest to ensure you get the newest version with bug fixes and features. Without @latest, uvx may use a cached older version.

  5. 🔌 Connect your MCP Client

    • Configure your client (e.g., Claude Desktop) to connect to the running server.
    • Depending on the client you use, you might not need step 4 because the client can launch the server for you. But it's a good practice to test run step 4 anyway to make sure things are set up properly.
    • ➡️ See Usage with Claude Desktop for examples.
  6. ⚡ Optional: Enable Tool Filtering (Reduce Context Usage)

    • By default, all 19 tools are enabled (~13K tokens). To reduce context usage, enable only the tools you need.
    • ➡️ See Tool Filtering for details.

Часто задаваемые вопросы

У этого сервера пока нет списка инструментов.
0.6.3основная
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.6
0.3.5
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0

Выберите клиент, чтобы установить xing5/mcp-google-sheets:

Любой клиент

Конфиг добавления MCP сервера стандартный, обычно он не меняется вообще, поэтому подходит практически к любому ИИ клиенту, поддерживающему MCP.

{
  "mcpServers": {
    "xing5-mcp-google-sheets-tlorahjyaj": {
      "command": "uvx",
      "args": [
        "mcp-google-sheets@latest",
        "--include-tools",
        "get_sheet_data,update_cells,list_spreadsheets,list_sheets"
      ],
      "env": {
        "SERVICE_ACCOUNT_PATH": "/path/to/credentials.json"
      }
    }
  }
}
CursorCursor

Перейдите по ссылке и сервер автоматически будет добавлен в Cursor. Либо откройте/создайте файл ~/.cursor/mcp.json(%USERPROFILE%\.cursor\mcp.json на Windows) и добавьте конфиг сервера:

{
  "mcpServers": {
    "xing5-mcp-google-sheets-tlorahjyaj": {
      "command": "uvx",
      "args": [
        "mcp-google-sheets@latest",
        "--include-tools",
        "get_sheet_data,update_cells,list_spreadsheets,list_sheets"
      ],
      "env": {
        "SERVICE_ACCOUNT_PATH": "/path/to/credentials.json"
      }
    }
  }
}
VS Code

Создайте .vscode/mcp.json в проекте (ключ верхнего уровня — servers):

{
  "servers": {
    "xing5-mcp-google-sheets-tlorahjyaj": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-google-sheets@latest",
        "--include-tools",
        "get_sheet_data,update_cells,list_spreadsheets,list_sheets"
      ],
      "env": {
        "SERVICE_ACCOUNT_PATH": "/path/to/credentials.json"
      }
    }
  }
}

Либо добавьте сервер через терминал:

code --add-mcp "{\"name\":\"xing5-mcp-google-sheets-tlorahjyaj\",\"type\":\"stdio\",\"command\":\"uvx\",\"args\":[\"mcp-google-sheets@latest\",\"--include-tools\",\"get_sheet_data,update_cells,list_spreadsheets,list_sheets\"],\"env\":{\"SERVICE_ACCOUNT_PATH\":\"/path/to/credentials.json\"}}"
ClaudeClaude Desktop

Откройте Settings → Developer → Edit Config — это откроет файл claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Впишите сервер и полностью перезапустите Claude Desktop:

{
  "mcpServers": {
    "xing5-mcp-google-sheets-tlorahjyaj": {
      "command": "uvx",
      "args": [
        "mcp-google-sheets@latest",
        "--include-tools",
        "get_sheet_data,update_cells,list_spreadsheets,list_sheets"
      ],
      "env": {
        "SERVICE_ACCOUNT_PATH": "/path/to/credentials.json"
      }
    }
  }
}
Claude CodeClaude Code

Добавьте сервер одной командой в терминале:

claude mcp add xing5-mcp-google-sheets-tlorahjyaj --env SERVICE_ACCOUNT_PATH=/path/to/credentials.json -- uvx mcp-google-sheets@latest --include-tools get_sheet_data,update_cells,list_spreadsheets,list_sheets

Либо через JSON-конфиг:

claude mcp add-json xing5-mcp-google-sheets-tlorahjyaj "{\"command\":\"uvx\",\"args\":[\"mcp-google-sheets@latest\",\"--include-tools\",\"get_sheet_data,update_cells,list_spreadsheets,list_sheets\"],\"env\":{\"SERVICE_ACCOUNT_PATH\":\"/path/to/credentials.json\"}}"
CodexCodex

Добавьте сервер командой в терминале:

codex mcp add xing5-mcp-google-sheets-tlorahjyaj --env SERVICE_ACCOUNT_PATH=/path/to/credentials.json -- uvx mcp-google-sheets@latest --include-tools get_sheet_data,update_cells,list_spreadsheets,list_sheets

Либо вручную в ~/.codex/config.toml(%USERPROFILE%\.codex\config.toml на Windows):

[mcp_servers.xing5-mcp-google-sheets-tlorahjyaj]
command = "uvx"
args = ["mcp-google-sheets@latest", "--include-tools", "get_sheet_data,update_cells,list_spreadsheets,list_sheets"]

[mcp_servers.xing5-mcp-google-sheets-tlorahjyaj.env]
SERVICE_ACCOUNT_PATH = "/path/to/credentials.json"
PerplexityPerplexity

MCP доступен подписчикам Perplexity Pro / Max / Enterprise. Локальные серверы — только в приложении для macOS.

  1. Откройте Настройки аккаунта → Connectors.
  2. Установите вспомогательное приложение PerplexityXPC (один раз).
  3. Нажмите Add Connector → вкладка Simple.
  4. В поле Server Name укажите xing5/mcp-google-sheets, а в поле команды запуска — строку ниже:
uvx mcp-google-sheets@latest --include-tools get_sheet_data,update_cells,list_spreadsheets,list_sheets

Нажмите Save и дождитесь статуса Running.

WindsurfWindsurf

Откройте Windsurf Settings → Cascade → MCP Servers или отредактируйте файл ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "xing5-mcp-google-sheets-tlorahjyaj": {
      "command": "uvx",
      "args": [
        "mcp-google-sheets@latest",
        "--include-tools",
        "get_sheet_data,update_cells,list_spreadsheets,list_sheets"
      ],
      "env": {
        "SERVICE_ACCOUNT_PATH": "/path/to/credentials.json"
      }
    }
  }
}
ClineCline

В панели Cline нажмите иконку MCP Servers → Configure → Configure MCP Servers (или отредактируйте ~/.cline/mcp.json) и добавьте сервер:

{
  "mcpServers": {
    "xing5-mcp-google-sheets-tlorahjyaj": {
      "command": "uvx",
      "args": [
        "mcp-google-sheets@latest",
        "--include-tools",
        "get_sheet_data,update_cells,list_spreadsheets,list_sheets"
      ],
      "env": {
        "SERVICE_ACCOUNT_PATH": "/path/to/credentials.json"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
Continue

Создайте файл в .continue/mcpServers/ (например xing5-mcp-google-sheets-tlorahjyaj.yaml) или добавьте блок в config.yaml. MCP работает только в режиме agent:

mcpServers:
  - name: xing5-mcp-google-sheets-tlorahjyaj
    command: uvx
    args:
      - "mcp-google-sheets@latest"
      - "--include-tools"
      - "get_sheet_data,update_cells,list_spreadsheets,list_sheets"
    env:
      SERVICE_ACCOUNT_PATH: /path/to/credentials.json
Zed

Выполните agent: add context server или откройте настройки (zed: open settings file) и добавьте сервер в объект context_servers:

{
  "context_servers": {
    "xing5-mcp-google-sheets-tlorahjyaj": {
      "command": "uvx",
      "args": [
        "mcp-google-sheets@latest",
        "--include-tools",
        "get_sheet_data,update_cells,list_spreadsheets,list_sheets"
      ],
      "env": {
        "SERVICE_ACCOUNT_PATH": "/path/to/credentials.json"
      }
    }
  }
}

Похожие MCP-сервера

henilcalagiya/google-sheets-mcp

henilcalagiya/google-sheets-mcp

от henilcalagiya

MCP-сервер для автоматизации Google Sheets: создание, чтение, обновление и удаление таблиц через MCP-клиенты. Использует сервисный аккаунт Google для безопасной интеграции. Полезен разработчикам, а...

Python⭐ 13
freema/mcp-gsheets

freema/mcp-gsheets

от freema

Полноценный MCP-сервер для интеграции с Google Sheets. Читает, пишет, форматирует ячейки, управляет листами и создаёт диаграммы. Удобен для автоматизации табличных данных через ИИ-ассистентов.

TypeScript⭐ 104
ayo-nci/bulkrender-mcp

ayo-nci/bulkrender-mcp

от ayo-nci

BulkRender MCP сервер для создания DOCX и PDF документов прямо из Claude, Cursor и других AI-ассистентов. Работает по шаблонам, поддерживает пакетную генерацию до 500 документов и не требует устано...

JavaScript⭐ 1
conorbronsdon/gws-mcp-server

conorbronsdon/gws-mcp-server

от conorbronsdon

MCP сервер для безопасной интеграции Google Workspace с AI агентами. 41 тщательно отобранный инструмент для Gmail, Calendar, Drive, Sheets, Docs и Tasks — без раздувания контекста. Требуется gws CLI. Идеально для автоматизации офисных задач.

TypeScript⭐ 11
ByAxe/keynote-mcp

ByAxe/keynote-mcp

от byaxe

MCP-сервер для Apple Keynote через AppleScript. Нейросеть создаёт, редактирует и экспортирует презентации на macOS на естественном языке. Встроенный скилл Claude решает проблемы верстки: подрезку ш...

Python⭐ 5
jen6/ticktick-mcp

jen6/ticktick-mcp

от jen6

MCP-сервер для интеграции TickTick с AI-ассистентами. Управляйте задачами с фильтрацией по приоритету, тегам и датам. Создавайте, обновляйте и завершайте задачи. Полезен для автоматизации работы че...

Python⭐ 67
© Каталог MCP, 2026. Все права защищены.
Проект не аффилирован с Anthropic и любыми упомянутыми продуктами.
Все названия и торговые марки принадлежат их владельцам.
Контакты для связи: hi@mcp-katalog.ru

Лука Никитин