Google's Gmail and Drive MCP servers went GA on Nov 24, 2026. Here's how to wire Gmail MCP into Claude Code before the Feb 1, 2027 REST API throttling deadline.
Vamsi Tallapudi
Manager, Architect Technology at Cognizant
Google's Gmail, Drive, Calendar, Docs, Sheets, Slides, Chat, and Tasks MCP servers went generally available on November 24, 2026, along with a companion CLI called gwscli. Starting February 1, 2027, any AI agent that keeps calling the old Workspace REST APIs directly gets capped at free Standard Tier quotas, no matter what plan you're paying for. If you're running Claude Code against Gmail or Drive right now, you've got about nine weeks to move. Here's how to actually do it, and where the setup falls short of what you'd expect.
Google published a new Workspace AI Tools Addendum to its Google APIs Terms of Service. The short version: any tool "that is or is driven by an AI agent, harness, or model" has to reach Workspace data through Google's own MCP servers or gwscli, not the REST endpoints developers have used for the past decade. Chandu Thota, who runs engineering for Workspace, framed it plainly on X: REST APIs were built for human-paced apps, and agents need a path with policy checks and human-in-the-loop controls built in.
Eight hosted MCP servers shipped at GA: Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat, and Tasks. Keep is supposedly next. Each one is a remote server Google runs, not something you self-host, and each inherits the signed-in user's existing permissions plus whatever DLP rules and admin audit logging a Workspace admin already has configured. That part is genuinely useful if you're deploying agents inside a company that already locks down Workspace access.
Google isn't shutting off the REST APIs. It's doing something smarter (and more annoying): after February 1, agents that call the REST APIs directly get held to Standard Tier quotas regardless of which billing tier your Cloud project is on. Pay for Scaled Tier all you want — if your agent is still hitting gmail.googleapis.com instead of gmailmcp.googleapis.com, Google treats it like a free-tier app.
Then on April 1, 2027, actual billing enforcement kicks in for the MCP path too. Standard Tier gives you 5,000 free requests a day per project, per product. Past that, Scaled Tier charges by billing unit — composite calls like search_threads cost 10 units, at $0.50 per 1,000 units. Do the math and a single search call runs half a cent. Cheap at low volume, but it adds up fast if you've got an agent polling your inbox every few minutes.
Assuming you want the official Google-hosted server rather than a third-party npm package, here's the setup:
gmailmcp.googleapis.com).gmail.readonly, gmail.compose, gmail.modify, and gmail.settings.basic if you want filter management.claude mcp add --transport http gmail https://gmailmcp.googleapis.com/mcp/v1
/mcp inside Claude Code, select the gmail server, and sign in through the browser window that opens. If Claude Code's dynamic client registration doesn't line up with your OAuth client's redirect URI, you'll need to re-add the server with --client-id, --client-secret, and a matching --callback-port pointed at http://localhost:<port>/callback.Google's own docs list https://claude.ai/api/mcp/auth_callback as the redirect URI for "Claude," but that's the callback for Claude's hosted web connector, not the Claude Code CLI running on your machine. I'd plan for the localhost flow and treat the claude.ai redirect as a fallback if the CLI flow gives you trouble.
Here's the thing that blew up on Hacker News: the public Gmail MCP server can search, read threads, manage labels, and create drafts, but it can't send, reply to, or forward anything. Those tools exist in the schema — send_message, reply, forward, update_draft are all documented — they're just gated behind Google "partner access" that ordinary developers don't have. Only big platforms get that flag flipped, and Anthropic is one of them, which is why Claude's own built-in Google Workspace connector (the one under Settings > Connectors in Claude.ai and Claude Desktop) can send mail with human approval while your own OAuth client against the raw Gmail MCP server cannot.
That's an important distinction for anyone reading "connect Gmail to Claude." Claude's native connector and the Gmail MCP server you wire up yourself through Claude Code are two different integrations with two different permission levels, even though they both say "Gmail" and both say "MCP."
The HN thread split roughly where you'd expect. Some people think this is reasonable anti-spam protection, since a Gmail account firing off agent-composed emails at scale is exactly the kind of thing that gets flagged and banned (one commenter said it took four months and a GDPR request to get an account back after triggering automated email flags). Others think it's Google using "safety" language to protect its own Gemini agents from competition. I land somewhere in the middle: the DLP and audit logging genuinely matter for enterprise deployments, but locking send capability to a short list of approved vendors while mandating migration for everyone else is a convenient way to make your own ecosystem the only fully-functional one.
Both satisfy the February mandate. They're not the same tool.
| Gmail MCP server | gwscli | |
|---|---|---|
| Interface | MCP endpoint your client calls | Command-line binary |
| Best for | Claude Code, Codex, any MCP-native client | Agents running in a terminal, VM, or sandboxed container |
| Setup | Google Cloud OAuth client + MCP registration | Single binary, "1-click Personal mode" with no billing card needed |
| Send email | No (without partner access) | Same restriction applies |
| Context cost | Full tool schema loads into context (~538 KB across all 8 servers) | Discovers commands at runtime, lighter footprint |
If you're already living in Claude Code's MCP ecosystem, stick with the hosted MCP server — adding one more claude mcp add line is less friction than standing up a separate CLI. If you're scripting something that runs unattended outside an MCP client, gwscli is the better fit, and Google ships it with pre-packaged agent skills that teach the model how to call it safely.
Honestly, both, in different proportions depending on who you are. If you're an enterprise admin who's been nervous about agents running loose against Workspace, the DLP checks, audit logs, and human-in-the-loop confirmations are a real improvement over raw API keys with broad scopes. If you're an independent developer trying to build something like an autonomous inbox-management agent, you're stuck with read-and-draft until Google decides you're big enough to warrant partner access — and Google hasn't published criteria for that.
My advice: migrate the read-side workflows now, since that part is free, works today, and protects you from the Standard Tier throttling in February. For anything that needs to actually send mail, don't architect a product around the public Gmail MCP server yet. Use Claude's native connector if that fits your workflow, keep a REST-based fallback for your own account if you're the only user, or wait and see whether Google opens up partner access before April 2027, when the billing enforcement actually bites.
Google's own walkthrough covers the MCP servers and gwscli side by side:
Chandu Thota's announcement and Philipp Schmid's breakdown of the Personal mode setup are worth reading in full:
New AI tools, automation workflows, and course drops — straight to your inbox. Join 2,400+ builders.
Claude Code now installs natively on Windows via PowerShell, no WSL or Node.js needed. Here's the native vs WSL install, step by step, with real fixes for PATH and Defender errors.
1Password confirmed a breach after an employee's GitHub account was compromised. Here's exactly what data was taken, what wasn't, and what to actually do now.
fast-anything profiles your Python or Node app, has Claude Code port the slowest function to Rust, and verifies it against 500 real calls before swapping it in.
Comments