Skip to main content
Glama

Google Sheets MCP

by mkummer225

Google スプレッドシート MCP

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

デモ

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

設定

  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_sheetsGoogle スプレッドシート内のすべてのシート/タブを一覧表示する
create_sheetGoogle スプレッドシートに新しいシート/タブを作成する
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_docGoogleスプレッドシートの名前を変更する

ライセンス

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

-
security - not tested
-
license - not tested
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

AI エージェントが Google スプレッドシートと直接対話し、自然言語によるスプレッドシートの作成、読み取り、変更を可能にするモデル コンテキスト プロトコル (MCP) コネクタ。

  1. デモ
    1. 設定
      1. 使用法
        1. 利用可能なアクション
          1. ライセンス

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A demonstration project that uses Cloudflare Workers MCP to create custom AI tools that can be integrated with Claude, Cursor, and other AI assistants supporting the Model Context Protocol.
              Last updated -
              26
              TypeScript
            • -
              security
              F
              license
              -
              quality
              Implements the Model Context Protocol (MCP) to provide AI models with a standardized interface for connecting to external data sources and tools like file systems, databases, or APIs.
              Last updated -
              90
              Python
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants like Claude to read from, append to, and format text in Google Documents programmatically.
              Last updated -
              24
              TypeScript
              MIT License
              • Linux
              • Apple
            • -
              security
              -
              license
              -
              quality
              An open-source implementation of the Model Context Protocol (MCP) that bridges AI agents with enterprise systems, enabling secure access to real-world data and capabilities.
              Last updated -
              1
              Python
              Apache 2.0

            View all related MCP servers

            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