Gortex vs Graphify: Code Exploration Token BenchmarkRead Guide: Gortex vs Graphify: Code Exploration Token Benchmark
hafuture Home

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.

Hafuture Engineering Team
Google WorkspaceMCPgwscliAI AgentsClaude CodeStreamable HTTPOAuthDeveloper Tools
Google Workspace MCP Server and gwscli GA guide cover image: Streamable HTTP remote MCP, local gwscli CLI, free Standard Tier 5,000 requests per day, and February 1, 2027 enforcement deadline

Table of Contents


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 in gwscli).
  • 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.
Comparison diagram of Google Workspace remote Streamable HTTP MCP servers versus local gwscli CLI, alongside Standard Tier free 5,000 daily requests, Scaled Tier paid quotas, and the 2027 policy enforcement timeline
Remote Google Workspace MCP vs. Local gwscli architecture (left) and Standard/Scaled Tiers + 2027 deadlines (right)

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

DimensionStandard Tier (Free Baseline)Scaled Tier (Paid Production)
ActivationEnabled 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 QuotaUp to 5,000 requests/day per project, per product (with standard rate limits)Higher capacity quotas tailored for multi-user enterprise agents
Pricing & Billing DateCompletely free (Google estimates this covers >99% of active individual developers)Paid billing begins April 1, 2027 for usage above free allowances
Best FitIndividual developers, Claude Code/Cursor local agents, small internal workflowsProduction 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/v1 and https://drivemcp.googleapis.com/mcp/v1 communicate 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

Pick the Right Google Workspace Agent Integration
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 Servers

Google-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 APIs

Strictly 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.

bash
# 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 version
The official shell script installs the binary to ~/.local/bin/gwscli. You can also install via npm (Node.js 18+) or Cargo.

5. 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:

  1. 1
    Step 1 — Inventory All AI Agent Calls to Workspace REST APIsAudit gmail.googleapis.com / drive.googleapis.com agent wrappers

    Map 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.

  2. 2
    Step 2 — Provision Dedicated Agent OAuth Clients in Google CloudGoogle Cloud Console > Agent OAuth Client + Enable APIs

    Create 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.

  3. 3
    Step 3 — Migrate Local Agents to gwscli & Cloud Agents to Remote MCPgwscli auth login --bundle=readonly / Streamable HTTP /mcp/v1

    Switch 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.

  4. 4
    Step 4 — Optimize Daily Call Volume Against Standard Tier (5,000/day)Load-test before Feb 1, 2027 -> Decide on Scaled Tier before Apr 1, 2027

    Eliminate 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

Google Workspace MCP & gwscli Gotcha Explorer5items
  • 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?
The November 24, 2026 GA release covers Gmail, Google Drive, Google Calendar, Docs, Sheets, Slides, Google Chat, and Google Tasks (with People also accessible via gwscli).
Q2. What happens to community REST-based Workspace MCP servers after February 1, 2027?
Any AI agent calling raw Workspace REST APIs through unofficial wrappers will be strictly throttled to free Standard Tier caps regardless of paid project settings and may face policy suspension. Migrating to Google's managed MCP endpoints or gwscli is strongly recommended.
Q3. How do Standard Tier and Scaled Tier differ?
Standard Tier is free by default with no billing account required and includes up to 5,000 MCP requests/day per project, per product. Scaled Tier requires linking a Google Cloud Billing account for higher enterprise quotas, with paid billing kicking off April 1, 2027.
Q4. What is the safest way to authorize gwscli for local coding agents?
Start with gwscli auth login --bundle=readonly to grant read-only scopes across core services, then incrementally approve narrow write actions such as gwscli auth login "gmail create_draft" only when required.
Q5. How is Streamable HTTP MCP different from traditional stdio MCP servers?
Instead of spawning a local Node or Python sidecar process over standard I/O, Streamable HTTP connects directly to Google-hosted HTTPS endpoints (e.g., https://gmailmcp.googleapis.com/mcp/v1) using JSON-RPC 2.0 and OAuth 2.0/2.1 bearer tokens.

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.

Open JSON Formatter