Last updated: November 30, 2026 · Reviewed by Alessandro Pignati
What is Google Workspace MCP, and how do you give an AI agent access to Gmail and Drive without giving it everything? Google Workspace MCP is Google's set of hosted Model Context Protocol servers, one per product. They let AI agents read and act on Gmail, Drive, Docs, Sheets, Calendar and other Workspace apps. Google made them generally available on November 24, 2026, and from February 1, 2027, agents will have to use these servers or the Workspace CLI instead of calling Workspace REST APIs directly.
That makes Gmail and Drive the two most common doors agents will open into company data. This guide covers what Google shipped, how we scope each Gmail and Drive tool, what Google's own controls already handle, and which tools each type of agent should get.
What changed for Google Workspace MCP in November 2026
Google first announced a Workspace MCP server at Cloud Next '26 and opened it to public developer preview on May 1, 2026 (Google Workspace Updates). The November 24 release moved it to general availability with three changes that matter to security teams (Google Workspace Updates):
| Change | What it means |
|---|---|
| MCP servers generally available | Google-hosted servers for Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat and Tasks, with Keep listed as coming soon |
| New usage tiers | A free Standard tier with published rate limits, and a Scaled tier with higher limits that starts charging on April 1, 2027, beginning with Gmail, Drive and Calendar |
| Mandatory path for agents | From February 1, 2027, "AI agents or similar access tools must use Workspace MCP servers or the Workspace CLI" rather than Workspace REST APIs |
Google also published a Workspace AI Tools Addendum that restricts some agent behavior, such as storing certain API-derived data for long periods. The practical effect is simple. Any agent your teams build or buy that touches Gmail or Drive will run through these servers within months. The access model you set now is the one you will live with.
How we scope Gmail and Drive in the TrustGate catalog
We added Gmail and Google Drive to the MCP catalog in the Agent Gateway (TrustGate), and the way we mapped their tools is the most practical part of this guide. Two rules apply to both. Connecting a server is not the unit of access: each tool is granted on its own. And any tool you have not enabled is never exposed to the agent.
Gmail: 11 tools in 4 groups (catalog entry)
| Group | Tools | Access | Suggested starting policy |
|---|---|---|---|
| Messages | get_message | Read | Limit to the connected mailbox |
| Threads | get_thread, search_threads | Read | Limit to the connected mailbox |
| Drafts | list_drafts, create_draft | Read / Write | Review drafts before sending |
| Labels | list_labels, create_label, label_message, label_thread, unlabel_message, unlabel_thread | Read / Write | Audit label changes |
Five of the 11 tools only read, and six change something. None of the 11 catalog tools sends email: the agent writes a draft and a person sends it. Keep it that way for most agents, and treat any future send tool as a separate, approval-gated grant.
Google Drive: 8 tools in 3 groups (catalog entry)
| Group | Tools | Access | Suggested starting policy |
|---|---|---|---|
| Files | get_file_metadata, read_file_content, download_file_content, list_recent_files, create_file, copy_file | Read / Write | Scope folders; require approval before moving files to trash |
| Sharing | get_file_permissions | Read | Require approval before sharing outside the organization |
| Search | search_files | Read | Limit access to intended folders |
The catalog has no tool that shares, moves or trashes files. Those approval rules apply if you add such a tool later. Drive's risk is less about what an agent writes and more about what it can reach: search_files and download_file_content together can reach any file the connected user can open, so folder scoping matters more than any single tool decision.
What Google's controls cover, and where tool-level control still helps
Google did not ship these servers without guardrails. According to its setup guide and the November announcement:
- Agent identity. Each agent needs an OAuth client marked "Use this client for an AI-powered agent". Requests from user-delegated clients without that setting are rejected.
- Admin access control. Admins manage external AI tools, MCP servers and the CLI under Security > API Controls, the same place they manage other apps.
- User confirmation. Admins can require users to confirm sensitive actions, such as reading external files or sharing data. Google's guide states that "a user approval never overrides an administrator or platform policy block."
- DLP and audit. Existing Workspace DLP rules apply when an agent acts, and admin audit logs record agent actions and user confirmations.
- Prompt screening. Google names indirect prompt injection as a risk, advises screening prompts and responses with its Model Armor service or your own solution, and tells developers to "only use trusted tools".
Those controls are strong inside Workspace. Three needs appear once agents scale beyond a single pilot:
- Tool-level access per agent. Scopes such as
gmail.composeandgmail.modifyare granted per OAuth client, not per tool, so an agent holding a scope can generally call every tool it covers. Google's admin rules can still require confirmation for sensitive actions, but a per-tool allowlist keeps each agent to its job. - A check on every tool result. Gmail is an inbox, and anyone can write to it. In January 2026, Radware showed how a malicious email read through ChatGPT's Gmail connector made the assistant leak data, an attack OpenAI fixed in December 2025. Screening every email and file an agent reads for injected instructions addresses the risk the OWASP MCP Top 10 and MCP tool poisoning describe.
- One policy across every MCP server. The same agent may also call GitHub, Salesforce or Notion. Workspace audit logs cover Workspace. A gateway adds one allowlist, one log and one set of rules across all of them, as we describe in our guide to an enterprise MCP registry and allowlist.
Security and governance: controls for Gmail and Drive agents
Behind any Workspace agent, four controls cover the usual risks:
- Indirect prompt injection. AI Runtime Security (TrustGuard) inspects tool results, such as an email body or a document, for injected instructions before the model reads them.
- Data leakage. TrustGuard can redact personal data inline, alongside the Workspace DLP rules Google already applies.
- Over-privileged agents. TrustGate grants tools per agent and handles credentials per user, so agents never hold raw Gmail or Drive credentials.
- Accountability. Every call is logged against the agent and the tool that made it, and the logs can be forwarded to your own monitoring. Our MCP audit logging guide covers what to keep.
Connecting takes four steps and under ten minutes per server: sign in and open Connect your tools, choose your agent (for example Claude Code, Codex, Cursor, Windsurf, Copilot or your own code), connect Gmail or Google Drive with only the tools that agent needs, and add the generated config to the agent. You do not host the Gmail or Drive MCP server yourself: the gateway connects to Google's server and sits in front of it, and tools Google adds later stay denied until you enable them. Keep the Google-side settings in place too, since the OAuth agent client and API Controls work together with the gateway.
Which Google Workspace MCP tools should each agent get?
Most Workspace agents fall into one of four profiles. Start each one with the smallest set of tools it needs and widen access only when the logs show a real need.
| Agent profile | Gmail tools | Drive tools | Extra controls |
|---|---|---|---|
| Inbox triage bot | search_threads, get_thread, list_labels, label_thread | None | Injection checks on every message read |
| Drafting assistant | get_thread, create_draft, list_drafts | read_file_content, search_files in approved folders | Data loss prevention on draft content |
| Document researcher | None | search_files, read_file_content, get_file_metadata | Folder scoping; no download_file_content |
| File organizer | None | Files group with copy_file and create_file | Folder scoping; approval if a trash or share tool is ever enabled |
If you run a single internal agent on Workspace only, with read-only scopes, Google's controls with API Controls and user confirmations may be enough. Once several agents share the same mailbox or Drive, read external email, or also call other MCP servers, per-agent tool grants and a check on every tool result become the difference between a pilot and a production rollout.
Conclusion
Google Workspace MCP turns Gmail and Drive into standard tools for any agent, and Google's February 2027 rule makes it the default path. Google's controls handle agent identity, admin approval, DLP and audit inside Workspace. What they leave to you is per-agent tool access, a dedicated check on every email and file an agent reads, and one policy across your other MCP servers. Start each agent read-only, add write tools one at a time, and let the logs decide the rest.
Secure Google Workspace MCP in Production with NeuralTrust
Connect Gmail and Drive to your agents through one gateway, tool by tool, with every call inspected and logged.
Related Comparisons
- How To Secure GitHub MCP
- MCP Security Best Practices: A 2026 Checklist for Servers and Clients
- MCP Authentication: OAuth 2.1 Done Right for AI Agents
- Google ADK Security: A Production Guide
FAQs about Google Workspace MCP
1. What is Google Workspace MCP?
Google Workspace MCP is a set of Google-hosted remote MCP servers, one per Workspace product, that let AI agents call pre-built tools in Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat and Tasks. Google made them generally available on November 24, 2026. Agents connect over Streamable HTTP and authenticate with an OAuth client marked as an AI-powered agent.
2. Is Google Workspace MCP required for AI agents?
Yes, from February 1, 2027. Google's new terms say AI agents or similar access tools must use Workspace MCP servers or the Workspace CLI to access Workspace data, rather than calling Workspace REST APIs directly. Technical enforcement begins on that date, so agents built on direct API calls need to move before then.
3. Can a Gmail MCP agent send email?
Not with the 11 Gmail tools in our catalog. Google's guide documents draft creation and has the user send from Gmail, but it does not list every tool, so check Google's current tool list. That is a sensible default for most agents. If a send capability is added later, treat it as a separate grant with approval.
4. How do you stop prompt injection through Gmail MCP?
Treat every email and file an agent reads as untrusted input. Google advises screening prompts and responses and using only trusted tools. In practice, that means checking each tool result for hidden instructions before the model reads it, limiting which agents can read external email, and keeping write tools behind approval.
5. Do I have to host the Gmail or Drive MCP server myself?
No. Google hosts the Workspace MCP servers. If you route them through a gateway, it connects to Google's servers and sits in front of them. Your agents only talk to the gateway URL and never hold Gmail or Drive credentials directly.
About the Author
Roger Howroyd is Head of Global SEO and AI at NeuralTrust, where he leads the company's search strategy across SEO, AEO, GEO, and LLM optimization. He specializes in AI-powered search, content strategy, and SEM. Connect on LinkedIn.
Reviewed by Alessandro Pignati, Lead AI Security Researcher at NeuralTrust.
NeuralTrust is the leading platform for securing and scaling AI agents. Named a Pioneer in the Gartner Emerging Market Quadrant for AI Application Security 2026, recognized across four Gartner Hype Cycle reports in 2026, and featured in the Gartner Market Guide for Guardian Agents 2026, the Gartner Market Guide for AI Gateways 2025 and the KuppingerCole Leadership Compass for Generative AI Defense 2025. Headquartered in Barcelona with offices in London and New York. ISO 27001 certified.
Sources
- Google, Simplifying agent access while keeping organizations in control: MCP servers, CLI, standardized usage tiers, and admin policies, Google Workspace Updates, November 24, 2026.
- Google, New: Agent tools and security updates for Google Workspace developers, Google Workspace Updates, May 1, 2026.
- Google for Developers, Configure the Google Workspace MCP servers, checked November 30, 2026.
- Radware, ZombieAgent: New ChatGPT Vulnerabilities Let Data Theft Continue (and Spread), January 8, 2026.
)
)
)
)
)
)
)