Blog
Google Workspace AI Agent Security Rules 2027: What the New MCP and CLI Mandate Means
26 November 2026
Starting February 1, 2027, Google will technically require third-party AI agents to connect to Workspace through Google’s official Model Context Protocol (MCP) servers or its command-line interface (CLI). Regular apps can keep using existing REST APIs. The change adds agent-specific identities, human approval for risky actions, and strict limits on how AI tools store and reuse company data.
Why Google Is Changing the Rules for AI Agents
For years, software connected to Gmail, Drive, or Calendar through APIs written for ordinary apps. A regular app follows fixed instructions. An AI agent does not. It reads context, makes decisions, and can chain together many actions on its own, such as reading a thread, drafting a reply, changing a sharing setting, and sending a message.
That autonomy is useful, but it creates real risk. An agent that is tricked by a hidden instruction inside an email, or that is given too much access, can leak files or alter data at a speed no person could match. Google has responded with a set of controls across Google Workspace and Google Cloud. Two senior Google leaders put the principle plainly: policy checks, data boundaries, and human confirmation need to sit directly in the request path, not bolted on afterward.
This guide explains each change in simple terms so IT teams, developers, and business owners can prepare before the deadline.
What Is the Workspace MCP and CLI Requirement?
Under a new Workspace AI Tools Addendum, external AI agents must reach Workspace services through one of two supported doors:
- Workspace MCP servers, which let agents talk to Workspace tools using the Model Context Protocol, an open standard for connecting AI systems to data and apps.
- The Workspace CLI, designed for agents running locally or doing terminal-based automation, protected by scoped OAuth sign-in.
Enforcement starts on February 1, 2027. Traditional applications that are not AI agents can continue using existing REST APIs, so this is not a blanket shutdown of the Workspace API.
The MCP servers cover Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat, and Tasks, and support for Keep is planned. Every agent request is checked against the organization’s permissions, data loss prevention (DLP) rules, and classification labels before anything happens.
Key Dates to Remember
| Date | What happens |
| Now | MCP servers and CLI are generally available |
| February 1, 2027 | Technical enforcement of the MCP/CLI requirement begins |
| April 1, 2027 | Quota-related billing for agent usage is scheduled to start |
| Future release | Time-limited approvals and extra user-level controls |
Dedicated Identities: Telling Agents Apart From Apps
One of the most practical changes is identity. External AI agents must now use their own dedicated OAuth client IDs. This lets administrators and users see at a glance which connections are autonomous agents and which are conventional applications.
Google is also applying least-privilege OAuth scopes, meaning an agent receives only the permissions it needs, along with usage quotas that cap how much it can consume.
Inside Google Cloud, each agent receives an individual identity through Agent Registry. There are no shared or long-lived keys to leak. Access and resource use are governed by identity and access management (IAM) policies and quotas, and revoking an agent’s identity or OAuth grant cuts off its access immediately.
Human Approval for Sensitive Actions
The new controls insist that a person stays in charge of high-impact steps.
In Workspace, the MCP servers and CLI require user confirmation for actions such as:
- Sending emails
- Changing Drive sharing permissions
- Running bulk edits
In Google Cloud, organizations can require multi-factor authentication or human approval before an agent can:
- Access sensitive Cloud Storage buckets
- Change IAM permissions
- Modify production infrastructure
Think of it as a guardrail. The agent can prepare the work, but a human presses the final button on anything that is hard to undo.
Defending Against Prompt Injection
Prompt injection is when malicious text, hidden in a webpage, document, or email, tells an AI agent to ignore its instructions and do something harmful. It is one of the biggest practical threats to agents.
Google Cloud’s new Agent Gateway tackles this at the protocol level for traffic involving LLMs, MCP, and Agent2Agent (A2A) communication. It:
- Verifies agent identities against Agent Registry
- Enforces IAM policies
- Blocks outbound connections by default unless they are explicitly allowed
- Uses Model Armor to screen requests for prompt injection
Google also plans new restrictions that let admins and users stop external agents from retrieving specific emails, files, and folders. These will build on existing DLP and client-side encryption features.
New Limits on How AI Tools Handle Your Data
The addendum also sets firm rules for AI tool providers that connect to Workspace:
- No permanent storage of raw Workspace data
- No training models on that data
- No unauthorized scraping through the API
- A 30-day retention limit on “Technical Information,” a category that includes vector embeddings, memory indexes, user profiles, and organizational graphs (but not the user data itself)
- Deletion on disconnect: when an integration is removed or access is revoked, the provider must delete the related user data and technical information
For companies, this answers a common worry: what happens to my information after I stop using an AI assistant? Under these terms, the answer is that it must be removed.
Visibility and Control for Admins
Workspace administrators can audit agent activity and revoke access from the admin console, and Google plans to extend similar controls to individual users. In Google Cloud, teams can watch agent behavior through Security Command Center, Agent Observability, Cloud Audit Logs, and Wiz.
What Should Businesses Do Before February 2027?
A simple preparation checklist:
- Inventory every connected app and agent in your Workspace admin console.
- Remove anything unused. Old integrations are easy targets.
- Review OAuth scopes and cut permissions that are broader than necessary.
- Configure DLP policies and classification labels so sensitive files are protected automatically.
- Monitor OAuth activity logs for unusual behavior.
- Ask your AI vendors whether their products will connect through MCP or the CLI and how they will meet the data retention rules.
- Budget for quotas. Usage-based billing is scheduled to begin April 1, 2027.
What Developers Should Do
If you build AI agents that touch Workspace, plan to migrate to the supported MCP or CLI interfaces well before the deadline. Add user confirmation steps for risky actions, build in prompt injection protection, request only the scopes you truly need, and design your product so it can delete stored data when a customer disconnects.
Why This Matters for SEO, Content, and Marketing Teams
Marketing teams increasingly use AI agents to pull data from Sheets, draft in Docs, schedule through Calendar, and manage campaign communication through Gmail. If your workflow relies on a third-party AI tool, check that it will keep working after February 2027. Tools that do not migrate may lose access, and tools that keep too much data may break your own compliance promises to clients.
For anyone working in AI-driven search and content, this is also a reminder that trust is becoming a ranking and adoption factor. Clear data handling, visible approvals, and transparent permissions will increasingly decide which AI tools companies are willing to use.
The Bigger Picture
Google’s move signals a wider shift in how the industry treats autonomous software. Agents are no longer being handled like ordinary apps. They get their own identities, narrower permissions, tighter monitoring, and mandatory human checkpoints for anything risky. Expect other major platforms to follow with similar rules.
Frequently Asked Questions
It is a set of terms that governs how third-party AI agents and tools access and handle Workspace data. It requires approved connection methods and sets rules on storage, training, scraping, and retention.
Technical enforcement begins on February 1, 2027.
No. Conventional applications can keep using existing REST APIs. The requirement targets AI agents.
Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat, and Tasks, with Google Keep planned..
It supports locally deployed agents and terminal-based automation, using scoped OAuth authentication.
Sensitive steps such as sending emails, changing Drive sharing permissions, and performing bulk edits require user confirmation. In Google Cloud, policies can demand MFA or approval before agents change IAM permissions or production infrastructure.
No. The addendum prohibits using Workspace data for model training.