mcp-google-docs
MCP Google Workspace 統合
Google ドキュメント、スプレッドシート、スライド、ドライブなどの Google Workspace サービスとやり取りするための包括的な MCP (Metoro Control Protocol) ツール。
特徴
Googleドライブの機能
ファイルの一覧
ファイルをコピーする
ファイル名を変更する
空のスプレッドシートを作成する
テンプレートからスプレッドシートを作成する
既存のスプレッドシートをコピーする
Googleスプレッドシートの機能
リストシート
コピーシート
シート名を変更する
シートデータを取得する
行の追加/削除
列の追加/削除
セルを更新する
チャートの作成/更新/削除
セルの書式を更新する
Googleドキュメントの機能
ドキュメントを作成する
書式付きテキストを挿入する
見出しを追加する
画像を挿入する
テーブルの作成と管理
改ページを挿入する
水平線を追加する
ドキュメントスタイルを更新する
表のスタイルとコンテンツを管理する
Googleスライドの機能
プレゼンテーションを作成する
スライドを追加する
画像を挿入する
図形や線を追加する
テキストスタイルを更新する
スライドの背景を変更する
スライドレイアウトを更新する
スライドトランジションを追加する
スピーカーノートを追加する
Related MCP server: google-sheets-mcp
インストール
1. 仮想環境のセットアップ
macOS/Linux
# Create virtual environment
python -m venv venv
# Activate virtual environment
source venv/bin/activateウィンドウズ
# Create virtual environment
python -m venv venv
# Activate virtual environment
venv\Scripts\activate2. 必要なパッケージをインストールする
pip install -r requirements.txt3. Google Cloud Console のセットアップ
Google Cloud Console でプロジェクトを作成する
OAuth 2.0クライアントIDを作成する
必要な API を有効にします。
Google スプレッドシート API
GoogleドライブAPI
Google ドキュメント API
Google スライド API
4. 環境変数の設定
export MCPGD_CLIENT_SECRET_PATH="/path/to/client_secret.json"
export MCPGD_FOLDER_ID="your_folder_id"
export MCPGD_TOKEN_PATH="/path/to/token.json" # Optional使用法
1. プログラムを実行する
python main.py2. MCP経由でツールを使用する
Googleドライブの例
# List files
mcp list_files
# Copy a file
mcp copy_file --file-id "file_id" --new_name "new_name"Googleスプレッドシートの例
# Get sheet data
mcp get_sheet_data --spreadsheet_id "your_spreadsheet_id" --range "Sheet1!A1:D10"
# Create chart
mcp create_chart --chart_type "LINE" --range "A1:B10" --sheet_name "Sheet1" --title "Sales Trend"Googleドキュメントの例
# Create document
mcp create_document --title "My Document"
# Insert formatted text
mcp insert_text_to_document --document_id "doc_id" --text "Hello World" --font_family "Arial" --font_size 12Googleスライドの例
# Create presentation
mcp create_presentation --title "My Presentation"
# Add slide with content
mcp add_slide_to_presentation --presentation_id "presentation_id" --title "Slide Title" --content "Slide Content"環境変数
MCPGD_CLIENT_SECRET_PATH: Google OAuth 2.0 クライアントシークレットファイルへのパスMCPGD_FOLDER_ID: Google ドライブのフォルダ IDMCPGD_TOKEN_PATH: トークン保存ファイルへのパス (オプション、デフォルト: ~/.mcp_google_spreadsheet.json)
ライセンス
MITライセンス
This server cannot be installed
Maintenance
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
- Alicense-qualityCmaintenanceRead and write Google Sheets, Docs, Drive, and Apps Script from any MCP client. 82 tools with OAuth2 auth, tested against live Google APIs.1MIT
- Alicense-qualityAmaintenanceMCP server for Google Sheets - read, write, and query spreadsheet data.2502MIT
- Alicense-qualityDmaintenanceMCP server for interacting with Google Sheets, providing tools to list sheets, read data from cell ranges, and write data to cell ranges.3MIT
- Alicense-qualityCmaintenanceMCP server to read, write, create, and format Google Sheets via OAuth2 authentication, providing tools for spreadsheet management.425MIT
Related MCP Connectors
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
MCP tools for TON Sites, TON DNS and TON Storage.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/dev-ithitchhiker/mcp-google-docs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server