google_workspace_mcp
MCP ServerFreeControl Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive with AI - Comprehensive Google Workspace / G Suite MCP Server & CLI Tool
Capabilities16 decomposed
multi-service mcp tool registry with dynamic tier-based loading
Medium confidenceExposes 90+ tools across 12 Google Workspace services (Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, Chat, Custom Search, Contacts, Apps Script) through a unified MCP protocol interface. Uses a ToolTierLoader system (core/tool_tier_loader.py) that dynamically imports tool modules based on CLI-specified tiers (core/extended/complete), allowing selective API exposure to manage quota consumption and complexity. Tools are registered in a dictionary mapping (main.py 176-187) and loaded at server startup, with each service module implementing standardized tool patterns for consistent MCP schema generation.
Implements a three-tier tool loading system (core/extended/complete) via ToolTierLoader that allows fine-grained control over API surface exposure at server startup, preventing quota exhaustion in multi-user deployments. Most MCP servers expose all tools statically; this design enables quota-aware selective loading without code changes.
Provides more granular quota control than generic MCP servers like Anthropic's MCP implementations, which typically expose all available tools without tier-based filtering.
oauth 2.0/2.1 session-based authentication with credential persistence
Medium confidenceImplements dual OAuth authentication modes (OAuth 2.0 legacy flow and OAuth 2.1 with session management) via service authentication decorators that inject credentials into tool execution contexts. Credentials are stored persistently (location configurable via storage backend) and session context is maintained across tool calls, eliminating per-call re-authentication. The authentication system (core/auth.py) handles token refresh, expiration, and multi-user credential isolation in cloud deployments. Single-user mode (--single-user flag) uses local credential storage; multi-user mode requires external session storage (Redis, database) for credential isolation.
Supports both OAuth 2.0 legacy and OAuth 2.1 flows with automatic session context injection via service authentication decorators, enabling credential reuse across tool calls without explicit token passing. Includes configurable storage backends for multi-user credential isolation, distinguishing it from single-user-only MCP implementations.
Provides multi-user credential isolation that generic MCP servers lack, and supports OAuth 2.1 (modern standard) alongside legacy OAuth 2.0, making it suitable for both legacy and modern Google Workspace deployments.
google chat message sending and conversation management
Medium confidenceProvides 6+ Chat tools for sending messages to spaces and direct messages, retrieving conversation history, and managing chat spaces. Tools support message formatting (bold, italic, links) and file attachments. Chat operations include creating spaces, adding members, and retrieving message threads. The Chat module (tools/chat.py) handles message threading and implements pagination for conversation history. Supports both direct messages (DM) and space-based conversations.
Implements message threading and space-based conversation management with support for both direct messages and group spaces. Includes message formatting and attachment support with pagination for conversation history.
Supports both direct messages and space-based conversations that many chat tools limit to one or the other; integrates with Google Workspace for unified team communication.
http server deployment with stdio and streamable-http transport modes
Medium confidenceImplements dual transport modes for MCP server deployment: stdio (for local/desktop use) and streamable-http (for cloud/multi-user deployments). The SecureFastMCP class (core/server.py) extends FastMCP and configures transport based on CLI flag (--transport). Stdio mode pipes JSON-RPC requests/responses through standard input/output for Claude Desktop integration. Streamable-http mode exposes an HTTP server (configurable port) for remote client connections. Both modes support the same MCP protocol and tool registry. The server initialization (main.py) handles transport selection and startup.
Supports dual transport modes (stdio and streamable-http) from a single codebase, enabling both local desktop and cloud deployments without code changes. Uses FastMCP's transport abstraction to handle protocol differences transparently.
More flexible than single-transport MCP servers; supports both local (Claude Desktop) and cloud (HTTP) deployments, making it suitable for diverse deployment scenarios.
error handling and retry logic with exponential backoff for api quota limits
Medium confidenceImplements automatic retry logic with exponential backoff for transient API failures (rate limits, quota exhaustion, temporary service unavailability). The error handling system (core/error_handling.py or integrated in tool modules) detects quota-related errors from Google APIs and automatically retries with increasing delays (1s, 2s, 4s, 8s, etc.). Maximum retry attempts are configurable (default 3). Non-transient errors (authentication failures, invalid parameters) fail immediately without retry. Retry metadata is included in error responses to inform clients of retry attempts.
Implements exponential backoff retry logic specifically tuned for Google API quota limits (429 status codes), with configurable max attempts and automatic detection of transient vs permanent errors. Includes retry metadata in responses for observability.
More sophisticated than simple retry loops; uses exponential backoff to reduce load during quota exhaustion and distinguishes transient from permanent errors to avoid wasted retries.
custom search integration for web search and result ranking
Medium confidenceExposes 2+ Custom Search tools that integrate with Google Custom Search Engine (CSE) for web search and result ranking. Tools support search queries with optional filters (site:, filetype:) and return ranked results with metadata (title, URL, snippet, rank). The Custom Search module (tools/custom_search.py) uses the Custom Search API for server-side query execution and result ranking. Results are limited to top 10 by default (configurable). Supports both web search and image search modes.
Integrates Google Custom Search Engine (CSE) for web search with result ranking and snippet extraction. Supports site: and filetype: filters for targeted searches. Limited to top 10 results but provides high-quality ranked results.
Uses Google's Custom Search Engine for high-quality ranked results compared to generic web search APIs; supports domain-specific and file-type filtering for targeted searches.
google contacts directory access and contact metadata retrieval
Medium confidenceProvides 4+ Contacts tools for retrieving contact information from Google Contacts directory, including name, email, phone, and organization metadata. Tools support contact search by name or email and batch retrieval of contact lists. The Contacts module (tools/contacts.py) uses the People API to access contact data with structured metadata extraction. Supports filtering by contact group (personal, work, etc.). Contact creation and editing are not supported (read-only access).
Provides read-only access to Google Contacts directory via the People API with structured metadata extraction (name, email, phone, organization, title). Supports contact search by name/email and filtering by contact group.
Integrates with Google Contacts for unified contact management; provides structured metadata extraction that generic contact tools may not expose.
google apps script execution and deployment management
Medium confidenceExposes 3+ Apps Script tools for executing Apps Script functions and managing script deployments. Tools support function execution with parameters and return value retrieval. The Apps Script module (tools/apps_script.py) uses the Apps Script API to execute scripts and retrieve execution results. Supports both synchronous and asynchronous function execution. Script deployments can be listed and managed. Execution errors are captured and returned with stack traces.
Integrates Google Apps Script API for executing custom business logic functions, enabling extension of Google Workspace capabilities with custom automation. Supports both synchronous and asynchronous execution with error capture.
Enables custom business logic integration that generic Google Workspace tools cannot provide; allows reuse of existing Apps Script automation with AI agents.
gmail tool suite with message search, composition, and label management
Medium confidenceProvides 15+ Gmail-specific tools including message search with advanced filters (from, to, subject, date range, labels), message composition with attachments, label creation/management, and thread operations. Tools use the Gmail API's query language for server-side filtering, reducing data transfer. Message retrieval returns structured metadata (sender, subject, date, labels) with optional full body/attachments. Label operations support hierarchical organization. The Gmail tool module (tools/gmail.py) implements common patterns: query building, pagination, error handling for quota limits, and automatic retry on transient failures.
Implements Gmail API query language support for server-side filtering (from:, to:, subject:, date ranges, labels) rather than client-side filtering, reducing data transfer and enabling efficient large-mailbox searches. Includes automatic retry logic for quota-limited responses and structured metadata extraction for AI-friendly output.
More efficient than generic email tools that fetch all messages and filter client-side; provides Gmail-native query syntax support that reduces API calls and bandwidth for complex searches.
google calendar event management with availability checking and conflict detection
Medium confidenceExposes 12+ Calendar tools for event creation, retrieval, updates, and deletion with built-in conflict detection and availability checking. Tools query calendar events within date ranges, extract attendee lists, and check for scheduling conflicts before creating new events. The Calendar module (tools/calendar.py) uses the Calendar API's freebusy endpoint for efficient availability queries without fetching full event details. Event creation supports recurrence rules (RRULE), attendee invitations, and reminder configuration. Supports multiple calendar access (primary and secondary calendars).
Implements freebusy-based availability checking (Calendar API's freebusy endpoint) for efficient conflict detection without fetching full event details, and includes built-in conflict detection logic before event creation. Most calendar tools require full event retrieval for availability checking; this design reduces API calls and latency.
More efficient availability checking than tools that fetch all calendar events; uses Google's native freebusy API for O(1) conflict detection vs O(n) event scanning.
google drive file operations with search, metadata extraction, and permission management
Medium confidenceProvides 18+ Drive tools for file/folder operations including advanced search with filters (name, type, owner, modified date), file upload/download, metadata extraction (size, MIME type, permissions), and permission management (share, revoke access). Search uses Drive API's query language for server-side filtering. File operations support batch processing (list 100+ files). Permission management includes role-based access control (viewer, commenter, editor, owner). The Drive module (tools/drive.py) handles file streaming for large uploads/downloads and implements pagination for result sets.
Implements Drive API query language support for server-side filtering (name:, mimeType:, modifiedTime:, owners:) and includes batch file listing with pagination, reducing client-side filtering overhead. Permission management includes role-based access control with granular sharing options (viewer, commenter, editor, owner).
More efficient file search than tools that enumerate all files and filter client-side; provides Drive-native query syntax support and batch operations that reduce API call count for large-scale file management.
google docs document editing with content insertion and formatting
Medium confidenceExposes 8+ Docs tools for document creation, content retrieval, text insertion, and basic formatting operations. Tools use the Docs API's batchUpdate mechanism for atomic multi-step edits (insert text, apply formatting, update styles in single request). Document content is retrieved as structured text with formatting metadata. Text insertion supports position-based insertion (at specific character offset) and search-and-replace operations. Formatting includes bold, italic, underline, and heading styles. The Docs module (tools/docs.py) handles document structure parsing and implements error handling for concurrent edit conflicts.
Uses Docs API's batchUpdate mechanism for atomic multi-step edits, allowing multiple formatting and content changes in a single request without intermediate states. Includes search-and-replace operations and position-based text insertion for precise document manipulation.
Atomic batch updates reduce edit latency and conflict risk compared to sequential single-operation edits; provides search-and-replace capability that generic document tools often lack.
google sheets data manipulation with cell operations and formula support
Medium confidenceProvides 12+ Sheets tools for spreadsheet operations including cell read/write, range operations, formula insertion, and data retrieval. Tools use the Sheets API's batchUpdate for atomic multi-cell updates. Data retrieval supports range queries (A1:Z100 notation) and returns structured data (values, formulas, formatting). Cell writes support formulas, numbers, text, and dates. The Sheets module (tools/sheets.py) implements automatic type detection (formula vs literal value) and includes error handling for invalid ranges and circular references. Supports multiple sheet tabs within a workbook.
Implements batchUpdate for atomic multi-cell operations and automatic type detection (formula vs literal value), enabling efficient bulk data updates. Supports range-based queries (A1 notation) and formula insertion with automatic formula vs value distinction.
Atomic batch updates reduce latency and consistency issues compared to sequential cell writes; automatic formula detection prevents accidental literal value insertion where formulas are intended.
google slides presentation creation and content insertion
Medium confidenceExposes 6+ Slides tools for presentation creation, slide management, and content insertion (text, shapes, images). Tools use the Slides API's batchUpdate for atomic multi-element edits. Slide operations include adding/removing slides, inserting text boxes and shapes, and applying basic formatting. The Slides module (tools/slides.py) handles slide layout selection and element positioning. Content insertion supports text with formatting (bold, italic, color) and shape insertion with styling. Supports multiple slide layouts (title slide, content slide, blank).
Uses Slides API's batchUpdate for atomic multi-element edits, allowing slide creation with multiple text boxes and shapes in a single request. Supports slide layout selection and element positioning with pixel-level control.
Atomic batch updates reduce presentation creation latency compared to sequential element insertion; supports multiple slide layouts and element types that generic presentation tools may not expose.
google forms survey creation and response collection
Medium confidenceProvides 5+ Forms tools for form creation, question insertion, and response retrieval. Tools support multiple question types (multiple choice, short answer, paragraph, dropdown, linear scale). Form creation uses the Forms API's batchUpdate for atomic form structure definition. Response retrieval returns structured data (question ID, answer text, timestamp). The Forms module (tools/forms.py) handles question validation and response parsing. Supports form sharing and link generation for distribution.
Implements Forms API's batchUpdate for atomic form structure definition, allowing multi-question form creation in a single request. Includes response retrieval with structured parsing (question ID to answer mapping) and shareable link generation.
Atomic form creation reduces latency compared to sequential question insertion; structured response parsing makes form data immediately usable for analysis without post-processing.
google tasks task list management with hierarchical organization
Medium confidenceExposes 8+ Tasks tools for task creation, retrieval, updates, and list management with hierarchical organization (parent-child task relationships). Tools support task status tracking (needsAction, completed), due dates, and notes. Task lists can be created and organized hierarchically. The Tasks module (tools/tasks.py) handles task completion status updates and implements pagination for large task lists. Supports moving tasks between lists and updating task metadata (title, notes, due date).
Implements hierarchical task organization with parent-child relationships and supports task status tracking with due dates. Includes pagination for large task lists and atomic task updates.
Supports hierarchical task organization that many task tools lack; integrates with Google Workspace ecosystem for unified productivity workflows.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with google_workspace_mcp, ranked by overlap. Discovered automatically through the match graph.
Multi Chat MCP Server (Google Chat)
** - Connect AI assistants like Cursor to Google Chat and beyond — enabling smart, extensible collaboration across chat platforms.
google_workspace_mcp
Control Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive with AI - Comprehensive Google Workspace / G Suite MCP Server & CLI Tool
klavis
Klavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
LibreChat
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Pre
LibreChat
Open-source ChatGPT clone — multi-provider, plugins, file upload, self-hosted.
Chatterbox
Chatterbox — AI demo on HuggingFace
Best For
- ✓AI assistant builders integrating Google Workspace into Claude Desktop or LM Studio
- ✓Teams deploying multi-user MCP servers with quota constraints
- ✓Developers building custom AI agents that need selective Google Workspace access
- ✓Solo developers using Claude Desktop with local credential storage
- ✓Teams deploying multi-user cloud MCP servers with session isolation requirements
- ✓Organizations migrating from OAuth 2.0 to OAuth 2.1 incrementally
- ✓AI assistants automating team communication and notifications
- ✓Developers building Chat-integrated agents for message delivery
Known Limitations
- ⚠Tool tier system is static at startup — cannot dynamically enable/disable tools per user session without server restart
- ⚠No built-in tool usage analytics or per-user quota tracking — quota management is delegated to Google API quotas
- ⚠Tool discovery is MCP-based only — no web UI or dashboard for browsing available tools
- ⚠Credential storage is not encrypted by default — requires external secure storage backend (Redis, encrypted database) for production
- ⚠Token refresh logic relies on Google's token expiration signals — no proactive refresh before expiration
- ⚠Single-user mode stores credentials in plaintext on disk — suitable only for local development, not production
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Repository Details
Last commit: Apr 21, 2026
About
Control Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive with AI - Comprehensive Google Workspace / G Suite MCP Server & CLI Tool
Categories
Alternatives to google_workspace_mcp
Are you the builder of google_workspace_mcp?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →