Google Workspace MCP
🐍 ☁️ 🍎 🪟 🐧 - Comprehensive Google Workspace MCP server with full support for Google Calendar, Drive, Gmail, and Docs, Forms, Chats, Slides and Sheets over stdio, Streamable HTTP and SSE transports.
What is Google Workspace MCP?
Google Workspace MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 🐍 ☁️ 🍎 🪟 🐧 - comprehensive google workspace mcp server with full support for google calendar, drive, gmail, and docs, forms, chats, slides and sheets over stdio, streamable http and sse transports...
🐍 ☁️ 🍎 🪟 🐧 - Comprehensive Google Workspace MCP server with full support for Google Calendar, Drive, Gmail, and Docs, Forms, Chats, Slides and Sheets over stdio, Streamable HTTP and SSE transports.
This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- 🐍 ☁️ 🍎 🪟 🐧 - Comprehensive Google Workspace MCP server with
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx google-workspace-mcp-server-control-gmail-calendar-docs-sheets-slides-chat-forms-driveConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Google Workspace MCP
The Google Workspace MCP server (workspace-mcp) is a comprehensive Python-based MCP server that gives AI assistants full programmatic access to Gmail, Google Calendar, Drive, Docs, Sheets, Slides, Forms, Tasks, Contacts, and Google Chat through a single authenticated connection. It supports stdio, SSE, and Streamable HTTP transports, making it suitable for both local desktop use and multi-user cloud deployments, and offers granular tool tiers (core, extended, complete) so you can expose only the capabilities you need. Teams and individual power users choose it to automate repetitive Workspace tasks — drafting emails, scheduling meetings, updating spreadsheets — directly from their AI assistant.
Prerequisites
- Python 3.10+ and uv package manager installed
- A Google Cloud project with the Workspace APIs enabled (Gmail, Calendar, Drive, Docs, Sheets, etc.)
- An OAuth 2.0 client ID and secret from the Google Cloud Console (or a client_secret.json file)
- An MCP-compatible client such as Claude Desktop, Claude Code, or VS Code with MCP extension
Enable Google Workspace APIs
In the Google Cloud Console, enable the APIs for the services you need: Gmail API, Google Calendar API, Google Drive API, Google Docs API, Google Sheets API, Google Slides API, and any others.
Create OAuth credentials
In Google Cloud Console, create an OAuth 2.0 Client ID of type 'Desktop app' or 'Web app'. Download the client_secret.json file and place it in your project root, or export the values as environment variables.
export GOOGLE_OAUTH_CLIENT_ID="your-client-id.apps.googleusercontent.com"
export GOOGLE_OAUTH_CLIENT_SECRET="your-client-secret"
export OAUTHLIB_INSECURE_TRANSPORT=1 # Development onlyRun the server with uvx (no install required)
Use uvx to launch the server directly. The --tool-tier flag controls which set of tools is loaded.
uvx workspace-mcp --tool-tier coreOr clone and run locally for full features
For development or customization, clone the repo and run via uv. Use --transport streamable-http for multi-user or remote deployments.
git clone https://github.com/taylorwilsdon/google_workspace_mcp.git
cd google_workspace_mcp
uv run main.py --tool-tier completeAdd to Claude Desktop configuration
Register the server in your Claude Desktop config file so Claude can access your Google Workspace.
{
"mcpServers": {
"google_workspace": {
"command": "uvx",
"args": ["workspace-mcp", "--tool-tier", "core"],
"env": {
"GOOGLE_OAUTH_CLIENT_ID": "your-client-id.apps.googleusercontent.com",
"GOOGLE_OAUTH_CLIENT_SECRET": "your-client-secret",
"OAUTHLIB_INSECURE_TRANSPORT": "1"
}
}
}
}Authenticate on first run
The first time the server starts, it will open a browser window for Google OAuth consent. Grant the requested permissions; credentials will be stored locally for subsequent runs.
Google Workspace MCP Examples
Client configuration
Complete Claude Desktop configuration for Google Workspace MCP using uvx with core tool tier.
{
"mcpServers": {
"google_workspace": {
"command": "uvx",
"args": ["workspace-mcp", "--tool-tier", "core"],
"env": {
"GOOGLE_OAUTH_CLIENT_ID": "123456789-abc.apps.googleusercontent.com",
"GOOGLE_OAUTH_CLIENT_SECRET": "GOCSPX-your-secret",
"OAUTHLIB_INSECURE_TRANSPORT": "1",
"WORKSPACE_MCP_TOOLS": "gmail,calendar,drive,docs,sheets"
}
}
}
}Prompts to try
Example prompts to use with Claude once the Google Workspace MCP server is connected.
- "Search my Gmail for unread emails from last week and summarize the most important ones."
- "Create a Google Doc titled 'Q3 Planning Notes' and add the agenda items I'm about to dictate."
- "Find a free 1-hour slot for a meeting with John next Tuesday and create the calendar event."
- "Read the data in my 'Budget 2025' spreadsheet and chart the monthly spend trend."
- "Send an email to [email protected] with the subject 'Deployment Complete' and a brief status update."Troubleshooting Google Workspace MCP
OAuth flow fails with 'redirect_uri_mismatch' error
In the Google Cloud Console, add 'http://localhost' and 'http://localhost:8000/oauth2callback' to the list of authorized redirect URIs for your OAuth client. For production, set WORKSPACE_EXTERNAL_URL to your public domain.
Tools are missing or the wrong set appears in Claude
Use --tool-tier complete to expose all tools, or set WORKSPACE_MCP_TOOLS to a comma-separated list of services (e.g., 'gmail,drive,calendar'). Restart the server after changing the tier or tool list.
Authentication works once but fails after restarting Claude Desktop
The server stores credentials in ~/.workspace-mcp/ by default. If this directory is deleted or permissions change, re-run the OAuth flow. For persistent deployments use the --single-user flag and ensure the credentials directory persists between restarts.
Frequently Asked Questions about Google Workspace MCP
What is Google Workspace MCP?
Google Workspace MCP is a Model Context Protocol (MCP) server that 🐍 ☁️ 🍎 🪟 🐧 - comprehensive google workspace mcp server with full support for google calendar, drive, gmail, and docs, forms, chats, slides and sheets over stdio, streamable http and sse transports. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Google Workspace MCP?
Follow the installation instructions on the Google Workspace MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Google Workspace MCP?
Google Workspace MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Google Workspace MCP free to use?
Yes, Google Workspace MCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Google Workspace MCP Alternatives — Similar Business Applications Servers
Looking for alternatives to Google Workspace MCP? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.
n8n
★ 189.1kA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou
LobeHub
★ 77.5k🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
Jeecgboot
★ 46.4kAI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。
CowAgent
★ 44.7kCowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。
Minds Platform
★ 39.2kPlatform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.
Astrbot
★ 32.8kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Browse More Business Applications MCP Servers
Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Google Workspace MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Google Workspace MCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.