Can you deploy a Google Workspace MCP server company-wide?
Not turnkey across a whole Google Workspace organization today. Out of 12 active MCP servers in our registry (17 total listings), 0 of 12 meet all six core criteria for Org-wide ready, 2 qualify for a Team pilot, and 10—including Google's official hosted Workspace MCP servers in Developer Preview—are Single-user deployments built around per-user OAuth 2.0 consent.
Why don't per-user OAuth MCP servers scale to company-wide deployments?
Most Google Workspace MCP implementations—including Google's official hosted Workspace MCP servers (*.googleapis.com/mcp/v1) and desktop community servers like aaronsb/google-workspace-mcp and isaacphi/mcp-gdrive—expect each end user to complete an interactive OAuth 2.0 consent flow inside their local MCP client. That model works for a single developer testing Claude Desktop, Gemini CLI, or Cursor on their workstation, but breaks down for Google Workspace administrators rolling out AI agents across an organization:
- Workstation stdio and local token sprawl: Seven active community servers run as local
stdiosubprocesses and write long-lived OAuth 2.0 refresh tokens to local disk files (for example.gdrive-server-credentials.jsonor~/.config/). Security teams cannot rotate, encrypt with CMEK, or centrally inspect tokens scattered across endpoints. - Developer Preview hosted endpoints are single-user: Google's hosted endpoints eliminate local server binaries and omit high-risk tools like Gmail send and Drive delete/share, but they remain in Developer Preview, authenticate each user individually via OAuth 2.0 user consent, and do not provide an MCP-layer admin console or per-tool audit export.
- No shared multi-tenant identity out of the box: When an enterprise deploys a centralized web agent, Slack/Chat bot, or SOAR workflow, a single-process
stdioserver bound to oneoauth2Clientinstance either fails concurrently or shares a single user's credentials across every caller.
What are the trade-offs between per-user OAuth 2.0 and service account Domain-Wide Delegation (DWD)?
Admins evaluating an MCP server face an architectural choice between per-user OAuth 2.0 / 2.1 (where the server acts with the calling user's own token) and a Google Cloud service account with Domain-Wide Delegation (DWD) (where the server holds a service account key and calls with_subject(user_email)). Neither model alone satisfies every enterprise requirement:
| Dimension | Per-user OAuth (Desktop / stdio) | Remote OAuth 2.1 / Gateway Proxy | Service Account + DWD |
|---|---|---|---|
| Caller identity | Bound to the local user who consented | Per-session user token isolated by proxy (AsyncLocalStorage / JWT) | Can impersonate any user via with_subject |
| Blast radius | Single user's Drive/Gmail | Scoped to authenticated user session | Tenant-wide across all OUs for delegated scopes |
| OU scoping in Admin Console | Yes (API Controls > App Access Control supports OUs & groups) | Yes (OAuth client ID can be Trusted/Blocked per OU) | No (DWD grants apply to the entire Workspace domain) |
| Example servers | Google hosted, aaronsb | taylorwilsdon, a-bonus | keyserfaty, Tracecat |
Can you restrict an MCP server to a specific Organizational Unit (OU)?
Only when the MCP server authenticates through a standard OAuth 2.0 client ID or enforces its own directory check. In Admin console > Security > Access and data control > API controls > App access control, Workspace administrators can mark a third-party OAuth 2.0 client ID as Trusted for a pilot Organizational Unit (or security group) and Blocked for the rest of the company.
By contrast, Domain-Wide Delegation (DWD) cannot be scoped to an OU in Google Workspace. Authorizing a service account client ID under API controls > Domain-wide delegation grants those scopes across every user in the primary and secondary domains. While taylorwilsdon/google_workspace_mcp adds a DWD_ALLOWED_DOMAINS check (auth/service_decorator.py#L296) and a-bonus/google-docs-mcp verifies the OAuth hd claim against ALLOWED_DOMAINS (src/remoteWrapper.ts#L21), zero MCP servers in our directory verify the caller's Workspace Organizational Unit (orgUnitPath) before executing tools.
What audit trail and is_agentic client settings should admins check?
Before moving any MCP connector beyond an individual sandbox, verify how tool calls are logged and how the OAuth client is registered in Google Cloud:
- Distinguish Google Admin audit logs from MCP tool logs: Google Workspace's Admin SDK Reports API records OAuth token grants and underlying Drive/Admin API mutations, but does not log which MCP prompt, agent session, or MCP tool wrapper triggered the call. If a server uses a single static admin token (keyserfaty or xing5), every action appears under that single service account or super-admin in Google Admin logs.
- Enable per-user telemetry where supported: Among community servers, taylorwilsdon/google_workspace_mcp provides optional OpenTelemetry span export (
OTEL_EXPORTER_OTLP_ENDPOINT) and an opt-inuser.emailspan attribute (WORKSPACE_MCP_OTEL_USER_EMAIL=trueincore/telemetry.py#L37). For security operations, google/mcp-security binds every Workspace action to acase_idinside Chronicle SOAR. - Mark deployer OAuth clients with
is_agenticbefore Nov 11, 2026: None of the 17 upstream repositories or setup guides currently document Google'sis_agenticOAuth client flag in their source docs (is_agentic_client_support: noacross all 17). However, becauseis_agenticis configured on the deployer's OAuth client inGoogle Cloud console > Google Auth Platform > Clients, you must enable it before for Google's hosted MCP servers and before the permanent lock for self-hosted servers. See our is_agentic OAuth client guide.
How are the 7 enterprise criteria and 3 readiness levels computed?
Every server in src/data/servers.json is evaluated against 7 source-verified criteria (yes, partial, no, or unverified), with a direct link to the pinned repository file+line or official Google documentation for every non-unverified value:
Supports Google Cloud service account authentication, Domain-Wide Delegation (DWD), or centralized enterprise OAuth 2.1 rather than only per-user desktop OAuth.
Several users can use one server deployment with distinguishable per-user identity (yes = multi-user OAuth 2.1 sessions plus per-request gateway/DWD subject; partial = per-user OAuth on a shared HTTP server or per-request subject in one transport mode; no = single-user stdio, shared static credential, or a single static impersonated subject).
Provides administrator policy controls such as domain allowlists, read-only enforcement, tool/scope filtering, or organizational unit (OU) scoping.
Emits structured, exportable audit logs or OpenTelemetry traces attributing each MCP tool execution to the calling user and agent.
Can run as a shared remote service (Google-hosted endpoint, stateless container, or streamable HTTP server) rather than a workstation-only stdio subprocess.
Stores OAuth refresh tokens or service account keys in encrypted/managed secret storage (GCS/CMEK, Firestore, Valkey/Redis, OS keyring, or SOAR vault) rather than plaintext disk files.
Documents how to mark the deployer’s Google Cloud OAuth 2.0 client with "Use this client for an AI-powered agent" (is_agentic) ahead of the Nov 11, 2026 enforcement and Nov 12, 2026 lock.
getEnterpriseReadinessLevel in src/types/server.ts)
- Org-wide ready: All 6 core criteria (
auth_model,multi_user,admin_controls,audit_trail,hosting,secrets_handling) equalyes. No server getsOrg-wide readyunless all core criteria areyes. - Team pilot: Not
Org-wide ready, and requiresmulti_user=yesorpartial(wherepartialmeans several users can use one deployment with distinguishable identity—either per-user OAuth on a shared HTTP server, as ina-bonus/google-docs-mcp'shttpStreammode, or per-request DWD subject; a single static impersonated subject or a single shared integration credential ismulti_user = no), plushosting=yesorpartialandauth_model=yesorpartial. - Single-user: All other servers, including any server with
multi_user = no(per-user OAuth stdio processes, single-subject DWD servers such askeyserfatyandxing5, or single-credential SOAR/workflow integrations such asgoogle/mcp-securityandTracecat).
How do all 17 Google Workspace MCP servers compare on deployment readiness?
Click any server below to open its dossier and inspect the 7-row deployment readiness table and pinned commit links.
Active MCP servers (12 active: 0 Org-wide ready, 2 Team pilot, 10 Single-user)
Per-user OAuth 2.0 Developer Preview endpoints with no service account/DWD or multi-user org deployment support.
Executes Workspace actions through Chronicle SecOps SOAR with case-bound logging, but runs over local stdio with one SOAR_APP_KEY and no per-user Workspace caller attribution (multi_user: no).
Runs inside a self-hosted or cloud Tracecat platform with encrypted secrets, but Alert Center workflow templates use one shared google_admin secret or a single static GOOGLE_API_SUBJECT with no per-user Workspace identity (multi_user: no).
Auto-generated OpenAPI scaffold where authentication is stubbed out (UnsuportedSecurityStub).
Uses a service account with DWD (with_subject), but runs as a local single-operator stdio server impersonating one static super-admin email (GOOGLE_WORKSPACE_ADMIN_EMAIL).
Supports OAuth 2.1 multi-user HTTP, trusted-gateway JWT identity, per-request service account DWD with DWD_ALLOWED_DOMAINS, GCS/CMEK token storage, and opt-in OTel spans, but lacks OU-scoped controls and tamper-evident admin audit export.
Local desktop stdio server (Desktop app OAuth client) that manages multiple personal/work accounts for one user on local disk.
Local Java stdio wrapper that spawns the gws CLI as the signed-in desktop user.
Connects via IMAP/SMTP with static per-account XOAUTH2 refresh tokens in env vars and has no built-in caller authentication on its optional HTTP transport.
Shared httpStream server isolates per-user OAuth 2.1 sessions via OAuthProxy and AsyncLocalStorage (src/remoteWrapper.ts#L64) with ALLOWED_DOMAINS (hd claim) and Firestore token storage (while stdio service-account DWD in src/auth.ts#L225 is single-subject), lacking per-tool audit export and OU controls.
Supports service account credentials (SERVICE_ACCOUNT_PATH / CREDENTIALS_CONFIG) or single-user OAuth, but runs as a single-identity server without per-user delegation or multi-user session isolation.
Local single-user stdio server using @google-cloud/local-auth and storing refresh tokens in .gdrive-server-credentials.json.
Excluded & historical listings (5 listings: archived, alias, or CLI)
Alias of Google’s hosted Drive endpoint (drivemcp.googleapis.com/mcp/v1), using per-user OAuth 2.0 in Developer Preview.
Archived stdio server using a single base64-encoded admin OAuth token (GOOGLE_TOKEN_JSON) with no multi-user or audit controls.
Archived local stdio server using Desktop app user OAuth tokens stored in ~/.config/google-workspace-mcp/tokens.json.
Archived single-user stdio server storing plaintext OAuth tokens in ~/.gmail-mcp/credentials.json.
Standalone single-user CLI (gws mcp command and DWD/multi-account support were removed in v0.7.0–v0.8.0).
Sources
- Google Workspace guide: Configure Google Workspace MCP servers (Developer Preview)
- Google Workspace Admin Help: Control which third-party & internal apps access Google Workspace data (Domain-Wide Delegation & App Access Control)
- Admin SDK Reports API: OAuth Token Audit Activity Events
- taylorwilsdon/google_workspace_mcp: DWD & gateway identity implementation (pinned commit 789730452b9c)
- a-bonus/google-docs-mcp: Remote OAuth 2.1 wrapper & ALLOWED_DOMAINS check (pinned commit d9e9bb21a142)