Integrations & Tools
~9 min readUpdated: November 2026

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

Google Workspace MCP Servers architecture showing OAuth agentic client enforcement, 30-day embedding retention boundary, and 8 official MCP endpoints

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.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

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.

Key Architectural Takeaways
Quick Implementation Examplegoogle-workspace-mcp-agent.ts
google-workspace-mcp-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Compliant Workspace agent using official Google gwscli MCP gateway + 30-day TTL memory
const 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 creation
const 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);
Video Guides

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,000 MCP requests/day per project per product, where heavy calls like Gmail search_threads or list_drafts consume 10 units (500 searches/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 ServerGenerally Available ToolsMissing / Partner-Only vs. REST API
GmailSearch/read threads, create/list drafts, labels, trash, spamSend, reply, forward, edit drafts (partner-only); no attachments, filters, or push
DriveSearch, read, download, create files/folders, copy, upload revisionMove, rename, share, trash, comments, shared-drive management
DocsRead & edit via any batchUpdate (including suggestion mode)Near full REST parity
SheetsRead/write values & formulas, insert rows/cols, formatting, chartsCreating spreadsheets (use Drive MCP) & rare batchUpdate calls
SlidesRead slides/thumbnails, edit via batchUpdateNear full REST parity
CalendarList, search, create/update/delete events, suggest times, RSVPCreating calendars, sharing, settings
ChatList, search, and send messagesSpace administration
TasksFull create, read, update, deleteNear 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*.

bash
# 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.

  1. 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.
  2. Quota-Aware Batching: Because search_threads costs 10 of your 5,000 daily project units on Standard tier, cache thread IDs locally in the session state (<= 30 days) and fetch individual threads rather than polling search_threads on every harness turn.
  3. 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.
Google Search Questions & Answers

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

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness