MCP Google Workspace Server
MCP Google Workspace サーバー
AI エージェントが Google Workspace(ドライブ、ドキュメント、スプレッドシート)サービスと対話できるようにするモデル コンテキスト プロトコル(MCP)サーバー。
🌟 特徴
Google ドライブ: ファイルの検索、フォルダの作成
Google ドキュメント: ドキュメントの作成、閲覧、更新
Google スプレッドシート: スプレッドシートを作成し、セルの値を読み書きする
複数のトランスポートモード: stdio (デフォルト)、SSE、WebSocket
MCP対応クライアントサポート(カーソル等)
Related MCP server: MCP Google Suite
📋 インストール
uvの使用(推奨)
uvx mcp-google-suitepipの使用
pip install mcp-google-suite開発セットアップ
# Clone and install
git clone git@github.com:adexltd/mcp-google-suite.git && cd mcp-google-suite
uv venv && source .venv/bin/activate # or .venv\Scripts\activate on Windows
uv pip install -e .🔧 構成
MCPクライアント用の構成
クライアント設定に追加します (例: Cursor、Claude):
uvx の使用 (推奨):
{
"mcpServers": {
"mcp-google-suite": {
"command": "uvx",
"args": ["mcp-google-suite"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "~/.google/server-creds.json",
"GOOGLE_OAUTH_CREDENTIALS": "~/.google/oauth.keys.json"
}
}
}
}pip インストールを使用する:
{
"mcpServers": {
"mcp-google-suite": {
"command": "python",
"args": ["-m", "mcp_google_suite"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "~/.google/server-creds.json",
"GOOGLE_OAUTH_CREDENTIALS": "~/.google/oauth.keys.json"
}
}
}
}Google OAuth 設定
Google Cloud Consoleにアクセス
ドライブ、ドキュメント、スプレッドシートの API を有効にする
OAuth 2.0認証情報を作成する
~/.google/oauth.keys.jsonとして保存します。認証するには
mcp-google authを実行します
利用可能なツール
ドライブ操作
drive_search_files: Google ドライブ内のファイルを検索するquery(文字列、必須): 検索クエリpage_size(整数、オプション): 返される結果の数
drive_create_folder: 新しいフォルダを作成するname(文字列、必須): フォルダ名parent_id(文字列、オプション): 親フォルダID
ドキュメント操作
docs_create: 新しいドキュメントを作成するtitle(文字列、必須): ドキュメントのタイトルcontent(文字列、オプション): 初期コンテンツ
docs_get_content: ドキュメントの内容を取得するdocument_id(文字列、必須): ドキュメントID
docs_update_content: ドキュメントコンテンツを更新するdocument_id(文字列、必須): ドキュメントIDcontent(文字列、必須): 新しいコンテンツ
シート操作
sheets_create: 新しいスプレッドシートを作成するtitle(文字列、必須): スプレッドシートのタイトルsheets(配列、オプション): シート名
sheets_get_values: セルの値を取得するspreadsheet_id(文字列、必須): スプレッドシートIDrange(文字列、必須): A1表記の範囲
sheets_update_values: セルの値を更新するspreadsheet_id(文字列、必須): スプレッドシートIDrange(文字列、必須): A1表記の範囲values(配列、必須): 値の2次元配列
🛠️ 開発
# Install dev dependencies
uv pip install -e ".[dev]"
# Setup pre-commit hooks
pre-commit install
# Run tests
pytest
# Format code
black . && ruff check --fix .🔍 デバッグ
対話型テストには MCP Inspector を使用します。
# Using uvx
npx @modelcontextprotocol/inspector uvx mcp-google
# For development
cd path/to/mcp-google-suite
npx @modelcontextprotocol/inspector uv run mcp-google📚 リソース
🤝 貢献する
行動規範とプル リクエストの送信プロセスの詳細については、 CONTRIBUTING.md をお読みください。
🔒 セキュリティ
脆弱性の報告とベストプラクティスについては、 SECURITY.md を参照してください。
📄 ライセンス
MIT ライセンス - 詳細についてはLICENSEファイルを参照してください。
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
- AlicenseNot gradedqualityDmaintenanceA 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.980MIT
- AlicenseAqualityCmaintenanceA Model Context Protocol server that provides seamless integration with Google Workspace, allowing operations with Google Drive, Docs, and Sheets through secure OAuth2 authentication.83MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that connects AI agents to Google Workspace (Gmail, Calendar, Drive, Docs, Sheets, and Slides).302MIT
- AlicenseNot gradedqualityCmaintenanceA full-featured Model Context Protocol server that gives AI assistants real-time access to Google Workspace services including Drive, Gmail, Calendar, Sheets, Docs, and Apps Script.10MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
A Model Context Protocol server for Wix AI tools
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/josedu90/mcp-suiteg'
If you have feedback or need assistance with the MCP directory API, please join our Discord server