Skip to main content
Glama
mkummer225

Google Sheets MCP

by mkummer225

Google スプレッドシート MCP

AI エージェントがスプレッドシートと直接対話できるようにする、Google スプレッドシート用のモデル コンテキスト プロトコル (MCP) コネクタ。

デモ

https://github.com/user-attachments/assets/cc4729d9-4e6e-437b-848b-6da9a09418c3

Related MCP server: Google Sheets MCP

設定

  1. このリポジトリをクローンします:

git clone https://github.com/mkummer225/google-sheets-mcp
cd google-sheets-mcp
  1. 依存関係をインストール: npm install

  2. ビルド: npm run build

  3. Google Cloud Platform で OAuth 認証情報を作成します。

    • Google Cloud Consoleで新しいプロジェクトを作成する

    • Google Sheets APIを有効にする

    • OAuth同意画面を設定する

    • 適切なリダイレクト URI (例: http://localhost:3000/oauth2callback ) を使用して OAuth クライアント ID 資格情報 (デスクトップ アプリケーション) を作成します。

    • 認証情報をダウンロードし、 distディレクトリにgcp-oauth.keys.jsonとして保存します。

  4. MCP サーバーを起動します (必要に応じて、Google アカウントの認証/再認証が自動的に求められます): npm run start

使用法

サンプル設定:

{
    "mcpServers": {
    "google-sheets-mcp": {
      "command": "node",
      "args": [
        "/{path_to_dir}/google-sheets-mcp/dist/index.js"
      ]
    }
  }
}

その後、スプレッドシート ID を指定するか、エージェントに新しい ID を作成するよう依頼するだけで済みます。

利用可能なアクション

アクション

説明

refresh_auth

認証情報の有効期限が切れたら、Google アカウントを再認証してください

list_sheets

Google スプレッドシート内のすべてのシート/タブを一覧表示する

create_sheet

Google スプレッドシートに新しいシート/タブを作成する

create_spreadsheet

新しいGoogleスプレッドシートを作成する

read_all_from_sheet

指定されたシートからすべてのデータを読み取る

read_headings

シートから列見出しを読み取る

read_rows

シートから特定の行を読み取る

read_columns

シートから特定の列を読み取る

edit_cell

シート内の単一のセルを編集する

edit_row

シート内の行全体を編集する

edit_column

シート内の列全体を編集する

insert_row

指定した位置に新しい行を挿入する

insert_column

指定した位置に新しい列を挿入します

rename_sheet

スプレッドシートのシート/タブの名前を変更する

rename_doc

Googleスプレッドシートの名前を変更する

ライセンス

マサチューセッツ工科大学

A
license - permissive license
Not graded
quality - not tested
F
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.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that integrates with Google Drive and Google Sheets, enabling users to create, read, update, and manage spreadsheets through natural language commands.
    980
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to interact directly with Google Sheets to create, read, and edit spreadsheets through the Model Context Protocol. It supports a wide range of actions including cell manipulation, row and column management, and sheet organization.
    250
    MIT

View all related MCP servers

Related MCP Connectors

  • Google Docs MCP Pack — read, create, and edit Google Docs via OAuth.

  • Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.

  • Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.

View all MCP Connectors

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/mkummer225/google-sheets-mcp'

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