Google Workspace MCP Servers: Feb 2027 Mandate, Gmail/Drive Parity Gaps & 30-Day Cap

Google made its eight official Workspace MCP servers generally available alongside the Workspace AI Tools Addendum, mandating that all AI agents and harnesses migrate off direct REST APIs by February 1, 2027. Public servers enforce OAuth agentic client flags, cap vector embedding retention at 30 days, and gate Gmail send/reply/forward behind partner-only access.
Google Workspace MCP Servers: Feb 2027 Mandate, Gmail/Drive Parity Gaps & 30-Day Cap: Google made its eight official Workspace MCP servers generally available alongside the Workspace AI Tools Addendum, mandating that all AI agents and harnesses migrate off direct REST APIs by February 1, 2027. Public servers enforce OAuth agentic client flags, cap vector embedding retention at 30 days, and gate Gmail send/reply/forward behind partner-only access. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- Clear Feb 1, 2027 Migration Compliance: Prepares AI harnesses before direct Workspace REST calls face Standard-tier throttling and Terms of Service suspension.
- Exact Tool-Parity Audit Across All 8 Servers: Maps what Docs, Slides, Tasks, Sheets, Calendar, Chat, Drive, and Gmail expose publicly versus partner-only endpoints.
- 30-Day Vector & Memory Retention Architecture: Designs ephemeral TTL indexes that comply with Google's 30-day cap on Workspace-derived embeddings and user graphs.
- OAuth Agentic Flag & Service Account Handling: Configures the new 'Use this client for an AI-powered agent' OAuth property and Admin Console API Controls.
- Human-in-the-Loop Gmail Draft Workflow: Uses Smoke Monkey Harness permission gates to draft safely via public Gmail MCP without silent exfiltration risks.
import { createAgent } from '@smoke-monkey/harness';// Compliant Workspace agent using official Google gwscli MCP gateway + 30-day TTL memoryconst workspaceAgent = createAgent({agentId: 'gws-compliant-assistant',provider: 'anthropic',model: 'claude-sonnet-4-5',workspacePath: process.cwd(),tools: ['filesystem', 'search'],permission: 'ask-default',mcp: [{id: 'google-workspace',name: 'Google Workspace Official MCP',description: 'Official agent-declared Workspace MCP gateway (Gmail drafts, Drive, Docs, Calendar)',command: 'gwscli',args: ['mcp', '--oauth-client', process.env.GWS_AGENTIC_CLIENT_ID ?? ''],enabled: true,},],});workspaceAgent.on('permission.required', (event) => {// Auto-allow read-only thread/doc inspection; require approval for drafts or file creationconst readOnly = ['gmail_search_threads', 'gmail_get_thread', 'drive_read_file', 'docs_read'];const decision = readOnly.includes(event.data.toolName) ? 'allow' : 'ask';if (decision === 'allow') {workspaceAgent.resolvePermission(event.data.toolCallId, 'allow');}});async function main() {const res = await workspaceAgent.run('Search unread Q4 vendor threads, summarize action items into a new Google Doc, and create a Gmail draft for human review.');console.log('Workspace MCP status:', res.status);}main().catch(console.error);
Watch: Related Video Guides
Google Workspace MCP Servers Are Now Generally Available
Connect AI Agents to Google Workspace: Official MCP Servers & CLI
The Feb 1, 2027 Workspace AI Tools Addendum & OAuth Rules
On November 24, 2026, Google made eight official Workspace MCP servers generally available and updated its API Terms of Service with the Workspace AI Tools Addendum. Starting February 1, 2027, any tool driven by an AI agent, harness, or model must connect through Google's MCP servers rather than calling Workspace REST APIs directly.
Non-AI integrations (nightly backups, deterministic CRM syncs, or standard Apps Script jobs on dedicated non-agentic OAuth clients) remain unaffected. However, disguising an AI harness as a deterministic script violates the addendum and risks suspension, while undeclared REST calls from agents will be throttled down to Standard-tier quotas regardless of billing tier.
Critical Compliance Deadlines & Technical Rules
- OAuth Agentic Self-Declaration (Live Nov 11, 2026): OAuth clients now expose the checkbox *"Use this client for an AI-powered agent"*. Public MCP servers reject unmarked clients; existing clients created before the cutoff cannot be retrofitted and must be replaced.
- 30-Day Retention Cap on Embeddings: Google caps retention of *Google Technical Information*—explicitly covering vector embeddings, RAG memory indexes, user profiles, and organizational graphs derived from Workspace data—at
30 days, and bans training, fine-tuning, evals, and distillation. - Free Standard Quota vs. Paid Scaled Billing (April 1, 2027): Free Standard projects receive
5,000MCP requests/day per project per product, where heavy calls like Gmailsearch_threadsorlist_draftsconsume10units (500searches/day across all users). Scaled tier billing starts April 1, 2027 from request #1.
Capability & Parity Gaps Across All 8 Official Workspace MCP Servers
While Docs, Slides, and Tasks approach full REST parity, Gmail and Drive ship with major public capability gaps. On the public Gmail MCP server, agents can search threads, read mail, label, and create drafts—but cannot send, reply, forward, attach files, or edit an existing draft because those endpoints require partner access.
Official Google Workspace MCP Server Parity Matrix
| MCP Server | Generally Available Tools | Missing / Partner-Only vs. REST API |
|---|---|---|
| Gmail | Search/read threads, create/list drafts, labels, trash, spam | Send, reply, forward, edit drafts (partner-only); no attachments, filters, or push |
| Drive | Search, read, download, create files/folders, copy, upload revision | Move, rename, share, trash, comments, shared-drive management |
| Docs | Read & edit via any batchUpdate (including suggestion mode) | Near full REST parity |
| Sheets | Read/write values & formulas, insert rows/cols, formatting, charts | Creating spreadsheets (use Drive MCP) & rare batchUpdate calls |
| Slides | Read slides/thumbnails, edit via batchUpdate | Near full REST parity |
| Calendar | List, search, create/update/delete events, suggest times, RSVP | Creating calendars, sharing, settings |
| Chat | List, search, and send messages | Space administration |
| Tasks | Full create, read, update, delete | Near full REST parity |
Gmail Draft Revision Workaround
Because the public Gmail MCP server cannot edit a draft once created, revising an AI-generated reply creates a duplicate draft and orphans the earlier version. Stage iterative edits inside a local Markdown buffer or Google Doc before calling create_draft once.
Migrating to `gwscli`, Admin Controls & 30-Day Ephemeral RAG
Google's official agent CLI gwscli replaces community REST wrappers (like gws or google_workspace_mcp) with curated agent-safe commands routed through the MCP gateway. Workspace administrators manage category permissions, DLP rules, and 90-day user approval expirations under *Admin console -> Security -> API Controls*.
# 1. Verify agentic OAuth client & list curated Workspace MCP tools via gwscli
gwscli auth status --verify-agentic-flag
gwscli mcp tools --server gmail,drive,docs
# 2. Enforce 30-day TTL index on Workspace-derived RAG embeddings (e.g. Postgres pgvector)
psql "$DATABASE_URL" -c "
DELETE FROM workspace_embeddings
WHERE synced_at < NOW() - INTERVAL '29 days';
"To stay compliant with the 30-day retention cap and immediate disconnect deletion clause, partition Workspace vector stores by tenant_id + oauth_grant_id with a hard 29-day TTL reaper rather than mixing Workspace chunks into permanent knowledge bases.
Designing Compliant Workspace Workflows in Smoke Monkey Harness
Google's rationale—blocking prompt-injected email exfiltration where an untrusted message triggers gmail.modify forwarding—aligns directly with Smoke Monkey Harness's deterministic permission architecture.
- Draft-Only Safety Gate: Use the public Gmail MCP server's create-draft ceiling as a feature for internal ops agents: the agent synthesizes research across Drive and Docs, stages a clean draft, and surfaces the draft link in Smoke Monkey Canvas for human click-to-send.
- Quota-Aware Batching: Because
search_threadscosts10of your5,000daily project units on Standard tier, cache thread IDs locally in the session state (<= 30 days) and fetch individual threads rather than pollingsearch_threadson every harness turn. - Early Partner Access Audit: Inventory any required Drive move/share or Gmail reply operations before February 1, 2027, and either apply for Google partner access or split deterministic file-moving scripts onto a separate non-AI backend service.
Frequently Asked Questions
Q:When must AI agents switch to Google Workspace MCP servers?
Under the Workspace AI Tools Addendum, any tool driven by an AI agent, harness, or model must route through Google's official Workspace MCP servers by February 1, 2027, or face Standard-tier REST throttling and potential account suspension.
Q:Why can't the public Gmail MCP server send or reply to emails?
Google restricted Gmail send, reply, forward, and draft-editing tools to partner access only, citing prompt-injection exfiltration risks. Generally available Gmail MCP tools support searching, reading, labeling, trashing, and creating new drafts without attachments.
Q:What does the 30-day Workspace data retention cap cover?
The addendum caps retention of Google Technical Information at 30 days and requires deletion upon user disconnect. This explicitly includes vector embeddings, memory indexes, user profiles, and organizational graphs built from Workspace content.
Q:Can existing OAuth clients be updated for Google Workspace MCP?
No. Google's 'Use this client for an AI-powered agent' checkbox had a cutoff on November 11, 2026; older unmarked OAuth clients stay permanently non-agentic and are rejected by the MCP servers, requiring you to create a new client.
Q:How much do Google Workspace MCP servers cost?
Every project starts on the free Standard tier with 5,000 MCP requests/day per project per product (some search/list calls cost 10 requests). Paid Scaled-tier per-request billing for Gmail, Drive, and Calendar begins April 1, 2027.
Related Alternatives & Comparisons
Claude Code Runtime Alternative: Open Source Stdio MCP Agent Harness
LangChain TypeScript Alternative: Zero Dependencies & Deterministic Loops
Microsoft AutoGen Alternative: Lightweight TypeScript State Machine
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.