Google Workspace MCP server security

Google's official Workspace MCP servers inherit the signed-in user's permissions and can be screened with Model Armor at project level. Read-only enforcement on the official servers is not documented in the sources reviewed, so confirm it before approval.

On this page

Can the Google Workspace MCP server security controls meet our approval bar?

Approve the official Google Workspace MCP servers only after you confirm which controls your tenant will actually use. The official servers, one per product, became generally available in November 2026, and Google states that they inherit the same permissions and data governance controls as the signed-in user, so a connected agent can reach no more mail, files or calendars than that user can. Screening is available: Model Armor floor settings at project level can inspect and block MCP tool calls and responses, and those project settings also apply to the Workspace CLI. The community workspace-mcp server documents a read-only flag that requests readonly scopes and hides write tools, along with per-service permission levels.

Three gaps need written answers from Google before sign-off. No supplied fact confirms how SSO is configured for the official servers, whether the official servers offer a read-only mode, or whether an admin can allowlist individual tools. Ask Google in writing how sign-in is governed by your Workspace identity policies, whether any official server can be limited to read-only operations, and where an admin sets tool-level restrictions, if they exist. Until those answers arrive, do not record read-only protection as a control for the official servers. The answers determine whether the approval can rest on administrative enforcement or only on user consent and the scopes the agent requests.

The result depends on three variables: which server is connected, which OAuth scopes are granted, and which project settings apply. For Gmail, the setup guide lists gmail.readonly, gmail.compose and gmail.modify, with gmail.settings.basic needed only for create_filter, so the scope decision alone can remove write capability before any tool runs. Treat gmail.compose and gmail.modify as write grants in your review. Google Cloud warns that some MCP actions are non-reversible and that Agent-Only mode is vulnerable to prompt injection, so Google advises an agent identity with only the IAM roles needed. Test each combination in a pilot project, record the scopes and Model Armor settings in the approval, and read the Workspace MCP security guide before deciding.

Which security capabilities are built in, paid or outside components

This table sorts the Google Workspace MCP security capabilities covered by the supplied sources into four groups: built in, needs an outside component, community only, or not documented in the sources. Read each row against the status column before you assume a control exists in your tenant. The main takeaway is that read and write permissions follow the signed-in user, while prompt screening and the strongest write limits depend on Model Armor or your own solution.

CapabilityStatusWhat the reader should confirm
Read actions: searching email, retrieving files, listing eventsBuilt inConfirm which read tools are enabled for your organization and which user accounts can connect
Write actions: creating draft emails, uploading files, scheduling meetingsBuilt inConfirm whether drafts, uploads and meeting creation are allowed for each user group
Gmail OAuth scopes: gmail.readonly, gmail.compose, gmail.modifyBuilt inConfirm which scope set each OAuth client requests and whether gmail.modify is needed at all
gmail.settings.basic scope, only for create_filterBuilt inConfirm whether filter creation is needed, since this scope is requested only for that tool
Model Armor floor settings to inspect and block tool calls and responses at project levelNeeds an outside component (Model Armor)Confirm that floor settings are enabled in the project and which inspection rules apply
Project-level Model Armor settings also applied to the Workspace CLINeeds an outside component (Model Armor)Confirm with Google that CLI traffic is covered in your project and that no separate setting is required
Community workspace-mcp read-only flag and per-service permission levelsCommunity onlyTreat as a non-Google project; confirm its behavior in your own test before relying on it
Standard versus Scaled usage tiers and daily free allowancesBuilt inConfirm current quotas and the April 1, 2027 charge start date with Google before budgeting
Admin enforcement of MCP access, audit logging and data residency for MCP callsNot documented in the sourcesAsk Google for the admin console controls, log fields and residency terms for the official servers

How the official servers enforce user permissions and screening

The key design point is that an official Google Workspace MCP server does not hold its own authority over your data. An agent acts through an MCP client, the remote server for one Workspace product (Gmail, Drive, Calendar and so on) receives the tool call, and the server calls the Workspace API on behalf of the signed-in user. Google states that the servers inherit the same permissions and data governance controls as that user, so an action such as creating a draft or uploading a file is limited by what the user could already do by hand. For a reviewer, this means the effective reach of an agent is the user's reach, and the first check is whether the users who connect agents hold access they should not be exposing to an automated caller, such as broad Drive sharing or mailboxes delegated to them by others.

Model Armor sits in the request and response path and is where Google's security guide asks you to screen prompts and responses for malicious content or prompt injection, or to use a documented alternative of your own. Its floor settings are configured at project level, and those project settings also apply to the Workspace CLI, so a single policy can cover both MCP and terminal access. Confirm in your own environment which project holds these settings, who can change them, and whether the CLI path is covered before you rely on that statement. Google also advises creating a dedicated agent identity and granting only the IAM roles it needs. Used this way, least privilege narrows what the agent can reach at the cloud project level, independent of the user's own grants.

Google's AI security and safety page is direct about the limits. It warns that MCP actions can include non-reversible changes, such as sent mail or deleted content, so screening alone does not undo an action. It also describes Agent-Only mode as exposed to prompt injection and insecure tool chaining, where one tool's output steers the next call. Before approving a rollout, decide which actions require a human to confirm, and test whether an injected instruction hidden in an email or document can trigger a write. Those decisions shape the admin and client controls covered elsewhere on this page.

Where a Workspace agent request is screened and authorized

The flow starts when a user approves an OAuth grant for the agent client, which fixes the scopes the agent can use. Each prompt and tool call then passes through Model Armor, which is configured at project level and also applies to the CLI. The official Workspace MCP server checks the granted scope and the signed-in user's permissions before the Workspace API reads or writes data, and the response returns through Model Armor. Check the two decision points: whether the scope was granted at all, and whether screening blocks or passes each message. This is a simplified illustration, not a complete architecture.

Simplified illustration of screening and authorization for one Workspace agent request.

Decisions the organization must make before approving the servers

Each decision below changes how much an agent can touch, who appears in the audit log, and how much an attacker gains through a manipulated prompt. Settle them together, because a broad scope granted to a shared user identity with no confirmation step multiplies the exposure of every other choice.

Which products and servers to enable

Google provides one official remote MCP server per product, covering Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat, Tasks and the People API. Each enabled server adds its own tools, so enabling only the products a team needs keeps the blast radius small. Ask which servers are switched on per organizational unit, and confirm that the CLI and the MCP servers share the same project-level settings before expanding the list.

Configure the MCP servers

Read-only scopes or compose and modify

The Gmail setup lists gmail.readonly, gmail.compose and gmail.modify, and gmail.settings.basic only for creating filters. A read-only grant lets an agent search and retrieve mail but not draft or change it. Granting gmail.modify to a whole team exposes every mailbox the user can reach to a manipulated prompt. Start each team on the narrowest scope that covers its work, and review scope requests during rollout.

Gmail MCP scopes

Dedicated agent identity or user identity

Google advises creating an agent identity and granting only the IAM roles it needs, following least privilege. Agents that act as the signed-in user inherit that user's full Workspace permissions, so audit entries and data access look like the person's own activity. A dedicated identity narrows what the agent can reach and separates agent actions in logs, but it adds administration to create, scope and review. Confirm which identity each deployment uses and how logs attribute actions.

AI security and safety

Enforce Model Armor at project level

Google's security guide recommends screening prompts and responses for prompt injection, using Model Armor or a documented own solution. Model Armor floor settings can inspect and block MCP tool calls and responses at project level, and those settings also apply to the CLI. Enforcing them centrally means individual developers cannot switch screening off, but the project becomes a shared control point that needs an owner and change control. Confirm the floor settings are locked before the first team connects.

Configure MCP security

Allow the community server or not

The community workspacemcp.com project is not a Google product. It documents a read-only flag that requests readonly scopes and hides write tools, and per-service permission levels. That flag can cut write exposure, but the server is a third-party codebase with its own maintainers, update cadence and data path. Decide whether it is permitted at all, require a pinned version reviewed by security, and confirm the read-only flag is enforced rather than left to each user.

Human confirmation for write actions

Google Cloud warns that MCP actions can include non-reversible changes, and it describes Agent-Only mode as exposed to prompt injection and insecure tool chaining. Requiring a person to approve each send, upload or meeting invitation in the client gives a checkpoint before an injected instruction takes effect. The cost is interruption and a risk of approval fatigue, so limit confirmation-free writes to actions that can be undone. Ask which client controls can require approval for each tool.

AI security and safety

How the answer changes by use case and team size

A research or support team mostly needs to find and summarize information in mail, files and calendars, not change it. The fit is the narrowest set of read permissions the workflow actually needs. Where the official server is used, ask which read scopes the chosen product's setup requires, and avoid granting compose or modify scopes that the team will never use. Community servers document a read-only flag that requests readonly scopes and hides write tools, which is one way to enforce read-only behavior, but confirm how it behaves with your Google Cloud project and client registration before relying on it.

  • Server and scopes: Start with the read scopes for the product in use, such as the readonly Gmail scope for searching mail, and leave out modify or compose scopes.
  • Model Armor: Inspect tool responses so that instructions hidden in retrieved email or documents are screened before the model acts on them.
  • Write tools: Confirm that no tool that creates drafts, uploads files or schedules meetings is reachable through the chosen client.
  • Community read-only mode: If you use a community server, verify its read-only flag in a test tenant and confirm which write tools disappear.
  • Confirm with Google: Ask how admins can restrict scopes for the team's OAuth client and where those restrictions are set in the Admin console.

Before approval, test the read-only setup with a message that contains an embedded instruction to send or change data, and confirm that no write action occurs.

Where the official servers leave gaps and how teams usually cover them

The official Google Workspace MCP servers inherit the signed-in user's permissions, and the supplied documentation does not describe a read-only mode for them. The cards below set out each gap, the control teams usually put in front of it, and who should own that control. Several gaps depend on how the client is approved, so security, IT and the Workspace administrator should review them together.

No documented read-only mode

The supplied documentation does not describe a read-only mode for the official servers, so read-only use depends on which scopes are granted and on confirmation from Google. Teams usually limit the OAuth scopes to read-only variants where a product offers them, and they test each server with a non-production account before approving it. The Workspace administrator owns the scope decision, and security should confirm the behavior in writing with Google before relying on it. Ask Google whether any future setting can restrict write tools at the server level.

Configure the MCP servers

Inherited user permissions

Google states that the MCP servers inherit the same permissions and data governance controls as the signed-in user. An agent working for a narrow task can therefore reach everything that user can open, including mailboxes, shared drives and calendars the task never needs. Teams usually create a dedicated agent identity with only the IAM roles the task requires, following the least privilege advice in Google's AI security guidance. The identity owner is the platform or security team, and the user's manager signs off on the access list.

AI security and safety

Non-reversible actions

Google Cloud warns that MCP actions can include non-reversible changes. A tool that sends mail, uploads a file or schedules a meeting cannot always be undone once it runs, and drafts are the only step that a person can review before sending. Teams usually require a human approval step in the client for any action that sends, shares or deletes, and they keep the write-capable scopes such as gmail.modify limited to the users who need them. The client approval policy is owned by the IT or security team that manages the agent tool.

Agent-Only mode exposure

Google Cloud describes Agent-Only mode as vulnerable to prompt injection and insecure tool chaining, where one tool's output steers a later tool call. A document or email the agent reads can carry instructions that the agent then acts on with the user's full permissions. Teams usually avoid Agent-Only mode for connections that read untrusted content, keep a person in the loop for each write, and review which tools can be chained. Security engineering owns the threat model and the test cases that cover these chains.

Screening depends on Model Armor

Google's security guide says to screen prompts and responses for malicious content or prompt injection, using Model Armor or a documented own solution. Model Armor floor settings can inspect and block MCP tool calls and responses at project level, and those settings also apply to the CLI. If the organization uses neither Model Armor nor its own screening, the Workspace connection has no documented inspection layer. The cloud platform team owns the project settings, and security should test whether the floor settings block the content it cares about.

Configure MCP security

Community server is not a Google product

The workspace-mcp project documented at workspacemcp.com is a community server, not a Google product, and it is separate from the official servers. It documents a read-only flag that requests readonly scopes and hides write tools, plus per-service permission levels. Adopting it means the organization owns the code it runs, its updates and its security review, and Google's support and admin controls do not cover it. Teams that accept the risk usually pin a reviewed version and run a read-only build only where their policy allows it. The engineering owner and the security reviewer share this decision.

Community project docs

Order of work to put the controls in production

This sequence moves a Google Workspace MCP rollout from an inventory of needed actions to tested, reviewed and logged controls, so each control is verified before staff connect agents to mail, files and calendars.

  1. Inventory the Workspace products and actions needed

    The security lead and the business owners for each team list which Workspace products the agents need (Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat, Tasks or the People API) and which actions matter for each, such as searching mail, reading files, creating drafts, uploading files or scheduling meetings. Mark every action that changes data or sends something outside the organization. The output is a written list per team that names each product, each read action and each write action. Confirm the list with the team leads before any configuration starts, since every later step depends on it.

  2. Choose server and scopes for each team

    Using the inventory, the identity or IT lead decides, team by team, whether the official Google Workspace MCP server or a community server is in scope, and which OAuth scopes each product needs. Google's Gmail setup guide lists the Gmail scopes, and the Gmail-specific settings scope applies only where filter creation is needed. Teams that only read content should not receive compose or modify scopes. The check is a scope sheet that matches each team's inventory and lists any broader scope with a stated reason. Ask Google or your admin team to confirm the current scope names in your tenant before approving.

  3. Set up the agent identity and least-privilege IAM roles

    The cloud or identity team creates a dedicated agent identity for the MCP connection and grants only the IAM roles that the documented use case needs, following Google's least-privilege guidance for AI agents. Staff sessions should not share a broad administrative identity. The check is an IAM review that lists each role, the principal it is bound to and the reason for it, with no owner or editor roles unless a documented need exists. Confirm with Google's current AI security guidance that the role set still matches the product list from step one.

  4. Enable Model Armor floor settings and test them

    The security engineer enables Model Armor floor settings at project level so that MCP tool calls and responses are inspected and blocked where malicious content or prompt injection is found. Because the project settings also apply to the Workspace CLI, the same test set covers both paths. The engineer then runs a set of prompt injection samples, such as instructions hidden in an email body or a Drive document, and confirms that the tool call is blocked or flagged. The output is a test log showing each sample, the expected result and the actual result. Any sample that gets through returns the work to this step.

  5. Approve or block the community server

    The security and IT leads decide whether any community Workspace MCP server is allowed. The community workspace-mcp project is not a Google product, so the review covers its source, maintenance status, how it authenticates and whether its read-only flag, which requests readonly scopes and hides write tools, works as documented in a test tenant. If the community server is approved, it is limited to the read-only mode for teams that do not need writes. If not approved, the decision is recorded and the official server is the only option. The output is a signed approval or block record, with the version and date reviewed.

  6. Set review points for write actions and confirm logging

    The owners of each team set review points for any action that changes data, such as sending mail, creating files or scheduling meetings, so that a person confirms the action before it happens or within an agreed review step. Google warns that some MCP actions cannot be reversed. The final check is a live test in which a write action is performed, and the entry is found in the user's audit trail, with the scope and the connected client recorded. If a write action does not appear in the logs, the rollout is not ready and the logging gap is fixed before staff are onboarded.

What a security reviewer asks to see and where it comes from

This table maps each control question a security reviewer should ask to the evidence to request and the place in the Workspace or Google Cloud environment where that evidence lives. Use it as a request list before approving the official servers or a community server. Where the supplied sources do not name an audit log location or retention period, the table tells you to confirm it with Google directly.

Control questionEvidence to requestWhere it comes from
Which OAuth scopes does each user or agent hold?List of granted scopes per user and per agent client, with the Gmail scopes gmail.readonly, gmail.compose and gmail.modify, and whether gmail.settings.basic is presentOAuth consent and grant records for the Workspace MCP client, reviewed alongside the Gmail MCP server setup guide
Which Workspace MCP servers are enabled?Written inventory of enabled servers (Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat, Tasks, People) and who may enable themGoogle Workspace admin settings for MCP servers, and the configuration guide for the official servers
Do Model Armor floor settings inspect and block MCP traffic?Screenshot or export of floor settings showing tool call and response inspection, the project they apply to, and the date they were last changedModel Armor configuration at the Google Cloud project level, which also applies to the Workspace CLI
Does the agent have its own identity and least-privilege IAM roles?Agent identity name, IAM role bindings on the project, and a justification for each roleIAM policy for the project, checked against Google's least-privilege guidance for AI agents
What did prompt injection testing find?Test plan, test cases covering tool responses and email or document content, results, fixes and retest datesInternal or third-party test reports for the agent setup; DeployOpen tests and reports these in an AI agent rollout review
Why was a community server approved or rejected?Decision record naming the server, its maintainer, the read-only flag and per-service permission levels used, and an owner for updatesCommunity workspace-mcp documentation and the organization's own change record; community servers are not Google products
Which usage tier and quota apply?Current tier (Standard or Scaled), quota figures in use, and expected usage against daily free allowancesUsage tiers and quotas page for Google Workspace APIs and MCP servers, and the Workspace Updates post on tiers
What is logged, and how long is it kept?Audit log source, event types covering MCP calls, retention period and export methodConfirm with Google; the supplied sources do not state the audit log source or retention period for these servers

Questions buyers and reviewers ask before approving the Workspace servers

Are Google Workspace MCP servers covered by our existing data governance controls?

Yes, in the sense that Google states the MCP servers inherit the same permissions and data governance controls as the signed-in user. An agent can reach only what that user can already reach, so your existing sharing settings, group membership and access rules shape what it sees. A user with broad Drive access gives the agent the same broad access. Confirm with Google how governance settings such as data loss prevention and retention apply to MCP tool calls in your edition, because the supplied guidance does not spell out each control. Have your Workspace admin test the path with a pilot account that holds a representative but limited data set before widening access.

What does the Standard tier cost and when do Scaled charges start?

The Standard tier is free and comes with published quotas, according to Google's Workspace Updates blog for November 2026. The Scaled tier is for higher quotas, and charges apply to usage above daily free allowances starting April 1, 2027, per the same post. Your cost depends on which tier matches your projected usage, how many users and agents call the servers, and how often daily allowances are exceeded, so volume against quota is the main driver. The supplied sources do not give per-unit rates, so ask Google or your reseller for current pricing and ask which quota applies to your planned agent activity. DeployOpen quotes follow a written scope, and we do not publish a price list.

Can we restrict AI agents to read-only access in Google Workspace?

Partly, and the answer depends on which server you use. The community workspace-mcp project documents a read-only flag that requests readonly scopes and hides write tools, along with per-service permission levels. For the official servers, the main control is the OAuth scope set you grant. The Gmail setup lists gmail.readonly, gmail.compose and gmail.modify, plus gmail.settings.basic only for create_filter, so a grant without compose or modify limits what the agent can change. The official servers can also create draft emails, upload files and schedule meetings, so decide per product. The supplied guidance does not establish an official read-only switch, so confirm which scopes each official server requests and whether admins can remove write scopes.

Does Model Armor block prompt injection by itself?

No. Google's security guidance asks you to screen prompts and responses for malicious content or prompt injection, using Model Armor or a documented solution of your own, so Model Armor is one screening layer and does not provide complete protection. Floor settings can be set at project level to inspect and block MCP tool calls and responses, and those project settings also apply to the Workspace CLI. Google Cloud warns that MCP actions can include non-reversible changes and describes Agent-Only mode as vulnerable to prompt injection and insecure tool chaining. Pair screening with narrow OAuth scopes, a least-privilege agent identity, approval steps for sends and deletions where your client supports them, and logging of tool calls. Ask Google what Model Armor inspects in your configuration and test what it misses.

What effort does a Workspace MCP rollout take and what can our team do alone?

The effort depends on how many Workspace products you enable, how many clients and users connect, and how much of the control set you configure. Your team can usually handle the admin-side decisions alone: choosing which products and scopes to allow, setting project-level Model Armor floor settings, creating a dedicated agent identity with only the IAM roles it needs, and writing a policy for which write actions require approval. Work that often benefits from outside help includes OAuth client setup for each user group, testing prompt injection paths, and assembling evidence for an internal security review. Before work starts, ask any partner for a written list of deliverables, the staff roles involved, and the dependencies on your admins and identity team. Google's setup pages describe the steps, so check them against your edition.

What does an outside security review of our Workspace agent setup cover?

DeployOpen runs AI agent rollout security reviews before or after a rollout. The review tests the setup for prompt injection, tool and file permissions, data exposure, credential handling, and SSO and admin settings, then delivers a findings report with fixes and a retest. For Workspace MCP servers, that means checking which OAuth scopes are granted, what a manipulated prompt could make an agent read or send, how Model Armor screening is configured, and whether admin settings match your written policy. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The review prepares evidence for your assessors but does not produce an audit report, attestation or certification, which independent auditors and certification bodies issue.

How should we set up the agent identity and its permissions?

Google advises creating an agent identity and granting only the IAM roles needed, following least privilege. Ownership usually sits with the platform team that manages the Google Cloud project, working with the Workspace admin who controls user grants and the security team that approves them. Start by listing each product and action the agent needs, then grant only those roles and scopes. Review the grant each time you add a product, because every added Workspace app widens what the agent can reach. Record who approved each scope so an assessor can trace the decision later. The supplied guidance does not list required IAM roles per product, so ask Google which roles each server needs before you grant them.

How DeployOpen helps teams roll out Workspace agents safely

DeployOpen plans, tests and hardens self-hosted platforms inside the client's own infrastructure, and runs security testing for AI systems and agents. For Google Workspace MCP server security, that means mapping which Workspace data an agent can reach, testing the controls that limit it, and handing over documented evidence for the security and compliance reviewers who approve the rollout.

How we scope

  • Inventory which Workspace servers, OAuth scopes and user groups the rollout would use, written into the agreed scope
  • Define which read and write tools are in scope for testing, including Gmail draft and file upload actions
  • Agree in writing what is tested, what is excluded and the deliverables before any work starts

How we build

  • Test prompt injection, tool permissions and data exposure against the configured Workspace MCP setup
  • Review admin settings, Model Armor floor settings and IAM roles granted to the agent identity
  • Check whether read-only configurations, including community server options, actually hide write tools as documented

How we hand over

  • Deliver a findings report with severity, reproduction steps and specific fixes for each control gap
  • Retest after fixes are applied and document the results for the security review file
  • Document the configuration decisions so your administrators can explain and maintain them

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer as Workspace tools and policies change
  • Prepare evidence for AI security questionnaires that customers or auditors ask about
  • Support rollout reviews when new Workspace MCP servers, scopes or client tools are added

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.