google_workspace_mcp
taylorwilsdon · taylorwilsdon/google_workspace_mcp
Máy chủ MCP toàn diện này cho phép các tác nhân AI điều khiển tất cả các dịch vụ Google Workspace chính, bao gồm Gmail, Lịch và Drive.
Kiểm soát Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive bằng AI - Máy chủ MCP và Công cụ CLI toàn diện cho Google Workspace
Xem trước
Bạn có thể làm gì với nó
- Tự động lên lịch cuộc họp và quản lý sự kiện lịch thông qua AI.
- Soạn và gửi email hoặc quản lý tệp Google Drive bằng các lệnh ngôn ngữ tự nhiên.
- Tự động nhập dữ liệu vào Google Sheets hoặc tạo trang trình bày từ tài liệu.
Kiểm tra an toàn
Không thấy dấu hiệu rủi ro trong các file đã quét.
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ README
Google Workspace MCP Server
Full natural language control over Google Calendar, Drive, Gmail, Docs, Sheets, Slides, Forms, Tasks, Contacts, and Chat through all MCP clients, AI assistants and developer tools. Includes a full featured CLI & Code Mode for use with tools like Claude Code and Codex!
The most feature-complete Google Workspace MCP server is in a class of it's own: it can do things that Google's own tooling and the built in integrations with Claude and ChatGPT can't come close to with multi-user support, rich fine-grained editing tools and the most extensive coverage of any Workspace AI integration in existence.
By leveraging native OAuth 2.1, stateless deployment capability and external auth server & gateway passthrough auth support, it's also the only Workspace MCP you can host for your whole organization centrally & securely!
Supports all free Google accounts & Google Workspace plans with expanded app options like Chat & Spaces. Interested in a managed cloud instance? That can be arranged (starting at $5/mo).
See it in action:
What It Does
Workspace MCP connects AI assistants to all twelve major Google Workspace services - 120+ tools behind a single MCP server, with OAuth 2.1 multi-user auth, three progressive tool tiers, read-only mode, a full CLI, and stateless container deployment. It runs locally over stdio for legacy clients and remotely over streamable HTTP with full implementation of the latest MCP spec.
The README covers just enough to get you running, with extensive documentation on the website:
| Where to go | What you'll find |
|---|---|
| Quick Start | Google Cloud setup, credentials, and client connection with screenshots |
| Full Documentation | Every tool, parameter, and auth mode |
| Advanced Deployment | Reverse proxy & nginx config, origin validation, credential store backends (GCS/CMEK), trusted-gateway identity, and the complete environment variable reference |
| Client Setup Guides | Claude Desktop/web Connectors, ChatGPT Developer Mode, and more |
| FAQ & Troubleshooting | Enabling Google APIs, OAuth errors, redirect URIs, Google Chat setup, client quirks |
Security & Compliance
For Security Teams
By default, this server sends no data anywhere except Google's APIs, on behalf of the authenticated user, using your own OAuth client credentials. There is no usage reporting, analytics, license server, or SaaS dependency outside optional OTel support for your own usage.
- Fully open source — every line is auditable in this repo
- Your OAuth client, your GCP project — credentials never leave your environment & you control scopes
- You control the network — deploy behind your reverse proxy, in your VPC, on your own terms
- Stateless mode — zero disk writes for locked-down container environments
- Sensitive path blocking — local file reads default to the managed attachment directory, and
validate_file_path()still blocks.env*files plus common home-directory credential stores such as~/.ssh/and~/.aws/even ifALLOWED_FILE_DIRSis broadened
Full dependency tree in pyproject.toml, pinned in uv.lock.
For Legal & Procurement
This project is MIT licensed — not "open core," not "source available," not "free with a CLA." There is no dual licensing, no commercial tier gating features, and no contributor license agreement.
- Use commercially without restriction — build products, sell services, deploy internally
- Fork, embed, redistribute — MIT requires only attribution
- No CLA — contributions remain under MIT
- No built-in telemetry to disclose — optional tracing is off unless you configure it
- No network effects — the server never contacts any endpoint you didn't configure
- Standard dependency licenses — MIT, Apache 2.0, and BSD throughout the dependency chain; no copyleft, no AGPL
Services
📧Gmail 15 tools - search, send, draft,labels, filters, attachments
📁Drive 16 tools - search, create, share,import Office files
📅Calendar 7 tools - events, free/busy,Out of Office, Focus Time
📝Docs 19 tools - edit, style, tables,tabs, comments, export
📊Sheets 14 tools - ranges, tables,formatting, conditional rules
🖼️Slides 7 tools - create, batch update,thumbnails, comments
📋Forms 6 tools - build forms, publish,read responses
✅Tasks 6 tools - tasks & listswith hierarchy
👤Contacts 8 tools - people, groups,batch operations
💬Chat 6 tools - spaces, messages,search, reactions
🔍Custom Search 2 tools - programmableweb search
⚡Apps Script 15 tools - write, deploy,run & debug scripts
Each page lists every tool with its tier, parameters, required scopes, and example prompts. The [complete reference](https