Google Workspace MCP Server & gwscli GA Guide
Practical guide to Google Workspace MCP servers & gwscli (GA Nov 24, 2026): Streamable HTTP setup, free Standard Tier (5,000/day), and Feb 1, 2027 rules.

Table of Contents
- 1. What Changes on February 1, 2027: The AI Agent REST API Mandate
- 2. Remote MCP Servers vs. Local gwscli & Standard vs. Scaled Tiers
- 3. Choose the Right Google Workspace Integration Pattern
- 4. gwscli Install, Least-Privilege OAuth & Remote MCP Setup
- 5. 4-Step Migration Plan Before Feb 1, 2027 & Policy Gotchas
- 6. Frequently Asked Questions (FAQ)
1. What Changes on February 1, 2027: The AI Agent REST API Mandate
Until now, developers connecting AI agents to Gmail, Drive, or Calendar typically wired up custom OAuth wrappers or community stdio MCP servers that hit raw Google Workspace REST APIs directly. As autonomous agent traffic surged, broad OAuth scopes, missing audit trails, and aggressive polling created growing security and quota challenges.
On November 24, 2026, Google formalized the agent layer with three coordinated releases:
- Managed Google Workspace MCP servers (GA) and
gwscli(GA) covering Gmail, Drive, Calendar, Docs, Sheets, Slides, Chat, and Tasks (plus People ingwscli). - February 1, 2027 (Technical Enforcement): Under the Workspace AI Tools Addendum, software classified as an AI agent, model, or agent harness must interact with Workspace via Google's official MCP servers or
gwscli. AI agents that continue calling raw Workspace REST APIs directly will be strictly throttled to free Standard Tier caps regardless of project billing status and risk policy suspension. - April 1, 2027 (Scaled Tier Billing): Paid billing officially starts for projects opted into the high-volume Scaled Tier above free baseline quotas.
- Traditional non-AI apps exempt: Deterministic backend scripts and standard software integrations without AI components can continue using raw REST APIs unchanged.

2. Remote MCP Servers vs. Local gwscli & Standard vs. Scaled Tiers
Both the remote endpoints and gwscli talk to the same Google-managed MCP backend (gmailmcp.googleapis.com, drivemcp.googleapis.com, calendarmcp.googleapis.com, etc.), enforcing enterprise controls like DLP, audit logging, and Human-in-the-Loop (HITL) checks.
Standardized Usage Tiers at a Glance
| Dimension | Standard Tier (Free Baseline) | Scaled Tier (Paid Production) |
|---|---|---|
| Activation | Enabled by default on all new and existing Google Cloud projects (no billing account or card required) | Explicit opt-in by linking a Google Cloud Billing account |
| Daily MCP Quota | Up to 5,000 requests/day per project, per product (with standard rate limits) | Higher capacity quotas tailored for multi-user enterprise agents |
| Pricing & Billing Date | Completely free (Google estimates this covers >99% of active individual developers) | Paid billing begins April 1, 2027 for usage above free allowances |
| Best Fit | Individual developers, Claude Code/Cursor local agents, small internal workflows | Production SaaS agents, org-wide deployments, high-volume pipelines |
Remote Streamable HTTP vs. Local gwscli
- Remote MCP Servers (Streamable HTTP): Google-hosted endpoints such as
https://gmailmcp.googleapis.com/mcp/v1andhttps://drivemcp.googleapis.com/mcp/v1communicate via Streamable HTTP (JSON-RPC 2.0 over HTTPS with OAuth 2.0/2.1 bearer tokens). Zero local sidecar processes are needed—ideal for cloud and web-hosted agents. - Local CLI (
gwscli): A unified binary for developer laptops, VMs, and containers offering structured JSON output (jq-friendly), incremental read-only OAuth (--bundle=readonly), built-in HITL CLI confirmation for sensitive writes (such as sending Chat messages), and packaged agent skill installation (gwscli skills install).
3. Choose the Right Google Workspace Integration Pattern
Official Workspace CLI (gwscli)Unified JSON CLI for laptops, VMs, containers & terminal agents
“Incremental OAuth · HITL · Agent skills”
- Strengths
- jq-friendly JSON output, --bundle=readonly least-privilege auth, built-in Claude Code skill install
- Auth Flow
- gwscli auth setup + browser OAuth via dedicated agent OAuth client
- Quota
- Free Standard Tier (5,000/day per product) covers >99% of individual devs
- Best For
- Claude Code, Codex, local developer productivity, containerized agents
Managed Remote MCP ServersGoogle-hosted Streamable HTTP endpoints over OAuth 2.0/2.1
“*.googleapis.com/mcp/v1 · Zero sidecar”
- Strengths
- Direct HTTPS connection from cloud agents and modern MCP clients without local processes
- Auth Flow
- Dedicated agent OAuth 2.0/2.1 client in Google Cloud Console with per-user delegation
- Quota
- Start free on Standard Tier; opt into Scaled Tier when scaling enterprise traffic
- Best For
- Cloud assistants, web-based agent harnesses, multi-tenant enterprise SaaS
Keep Standard Workspace REST APIsStrictly for deterministic non-AI backend integrations
“Exempt from Feb 1, 2027 AI mandate”
- Strengths
- No unnecessary rewrite for classic deterministic ETL or reporting scripts
- Constraint
- The moment an AI model or agent drives the calls, MCP/gwscli becomes mandatory
- Caution
- Mixing AI agent traffic into a legacy REST OAuth client risks throttling and policy flags
- Best For
- Pure non-AI server syncs, deterministic billing and ERP pipelines
4. gwscli Install, Least-Privilege OAuth & Remote MCP Setup
The tabs below collect the verified gwscli installation commands, least-privilege incremental OAuth workflow, Claude Code skill registration, and remote Streamable HTTP MCP endpoint reference.
# Recommended quick install (macOS / Linux -> ~/.local/bin/gwscli)
curl -fsSL https://dl.google.com/workspace-cli/install.sh | bash
# Alternative 1: npm global install (Node.js 18+)
npm install -g @googleworkspace/cli
# Alternative 2: Build from source with Rust/Cargo
cargo install --git https://github.com/googleworkspace/cli --locked
# Verify installation
gwscli version5. 4-Step Migration Plan Before Feb 1, 2027 & Policy Gotchas
With roughly two months before the February 1, 2027 enforcement date, engineering teams can migrate cleanly in four steps:
- 1Step 1 — Inventory All AI Agent Calls to Workspace REST APIs
Audit gmail.googleapis.com / drive.googleapis.com agent wrappersMap every LLM tool, custom LangGraph/Claude Code helper, or community MCP server calling raw Workspace REST APIs directly, and separate them from pure non-AI backend jobs.
- 2Step 2 — Provision Dedicated Agent OAuth Clients in Google Cloud
Google Cloud Console > Agent OAuth Client + Enable APIsCreate dedicated OAuth client IDs specifically for AI agent usage rather than reusing web-app credentials, enabling Workspace Admin console trust/block policies and per-agent audit logs.
- 3Step 3 — Migrate Local Agents to gwscli & Cloud Agents to Remote MCP
gwscli auth login --bundle=readonly / Streamable HTTP /mcp/v1Switch local developer and container workflows to gwscli with read-only bundles first, and point cloud agents at Google's hosted /mcp/v1 Streamable HTTP endpoints.
- 4Step 4 — Optimize Daily Call Volume Against Standard Tier (5,000/day)
Load-test before Feb 1, 2027 -> Decide on Scaled Tier before Apr 1, 2027Eliminate noisy agent polling loops so light/medium projects stay completely free under Standard Tier. For high-volume enterprise agents, link a billing account to enroll in Scaled Tier ahead of April 1, 2027 billing.
Migration Caveats & Compliance Explorer
- Can a paid Google Cloud project keep calling raw Workspace REST APIs from AI agents?Feb 1, 2027· 2027 Policy & Deadlines
Under the Workspace AI Tools Addendum, AI agents bypassing official MCP servers or gwscli are strictly throttled to Standard Tier quotas regardless of billing status and risk policy enforcement.
Official Rule:No — starting Feb 1, 2027, raw REST agent calls are capped at free Standard limits and risk suspensionPractical Mitigation:Complete migration to managed Streamable HTTP MCP endpoints or gwscli by mid-January 2027. - Do traditional non-AI cron jobs or ERP syncs also need to migrate to gwscli?Exemption· 2027 Policy & Deadlines
The mandate applies specifically to AI agents, models, and agent harnesses. Classic deterministic backend scripts are unaffected.
Official Rule:No — deterministic software without AI components can stay on raw REST APIsPractical Mitigation:Keep non-AI integrations isolated on separate OAuth clients so future agent features never contaminate legacy pipelines. - Can we reuse our existing web-app OAuth client ID for AI agents?OAuth Policy· Security & OAuth
Workspace Admin trust/block controls, granular audit logs, and HITL governance rely on distinguishing agent OAuth clients from standard interactive apps.
Official Rule:No — Google requires dedicated OAuth clients designated for AI agent usagePractical Mitigation:Create a separate agent OAuth client in Google Cloud Console and start gwscli with --bundle=readonly. - Does the free Standard Tier (5,000 requests/day) require a credit card?Free Baseline· Quotas & Billing
Every project gets up to 5,000 MCP requests per day per Workspace product for free. Paid Scaled Tier billing begins April 1, 2027 only for projects that opt in.
Official Rule:No — Standard Tier is active by default with zero billing account requiredPractical Mitigation:Use targeted search queries (--query) and local caching rather than polling full inboxes to stay within free limits. - Why doesn't Claude Code recognize gwscli right after running gwscli skills install?Local Tip· Security & OAuth
gwscli skills install --dir ~/.claude/skills writes skill definitions to disk, which active agent sessions only pick up on reload.
Official Rule:You must restart or reload the agent session to parse newly installed skillsPractical Mitigation:Restart Claude Code after running skills install and gwscli auth login to verify tool discovery.
6. Frequently Asked Questions (FAQ)
Q1. Which Google Workspace apps are supported by the GA MCP servers?
Q2. What happens to community REST-based Workspace MCP servers after February 1, 2027?
Q3. How do Standard Tier and Scaled Tier differ?
Q4. What is the safest way to authorize gwscli for local coding agents?
Q5. How is Streamable HTTP MCP different from traditional stdio MCP servers?
Format gwscli JSON Outputs & OAuth Configs with Hafuture JSON Formatter
Inspect gwscli JSON payloads, MCP client manifests, and OAuth schemas locally in your browser with zero server uploads.
Related Articles
Claudia Guide: Manage Claude Code Settings & MCP in a GUI
Set up Claudia (v0.2.0), the MIT-licensed Go tray app for Claude Code. Manage 180 settings.json keys, CLAUDE.md, auto memory, MCP servers, and skills per project.
Gortex vs Graphify: Code Exploration Token Benchmark
Benchmark of Gortex v0.64.12 vs Graphify v0.9.124 on a 726-file Next.js repo: 74.4%–97.9% token cuts, CLI latency, disk/RAM footprints, and setup fixes.
Pydantic AI Pax Coding Agent & Harness Beta Guide
Hands-on guide to Pydantic AI Pax (pydantic-ai-pax) & Harness beta (Nov 25, 2026): uvx launch, --agent custom harnesses, Coder() embedding & cost benchmarks.