MCP server · Audited from source
Google Workspace MCP server
by aaronsb/google-workspace-mcpApache-2.0 licenceAudited 6 Oct 2026 · source 94411bc95ff7
Is it safe? No — BLOCK, grade D (69/100). It exposes 10 tools: 5 read, 4 write and 1 destructive. The audit recorded 25 findings (0 critical, 1 high, 2 medium, 22 low). Maintainer's description: A Model Context Protocol (MCP) server that provides authenticated access to Google Workspace APIs, offering integrated Authentication, Gmail, Calendar, and Drive functionality
Cite
Cite this page
ModelsAtlas. “Google Workspace MCP server (aaronsb/google-workspace-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/aaronsb/google-workspace-3
Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Code injection at src/accounts/oauth.ts:349. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
5 MCP servers are called Google Workspace. You are viewing aaronsb/google-workspace-mcp. Compare all 5 →
- j3k0/mcp-google-workspace★ 32✓SAFE
- epaproditus/google-workspace-mcp-server★ 31✓SAFE
- dguido/google-workspace-mcp★ 38!CAUTION
- aaronsb/google-workspace-mcp★ 190✕BLOCK
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
25 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared3 observations
- ShellDeclared6 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (25)
Sorted by severity
HIGHCode injectioncode.eval_exec · src/accounts/oauth.ts:349
exec(`cmd /c start "" "${url}"`, onError);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
MEDIUMNetwork egressnet.raw_ip · src/accounts/oauth.ts:306
redirectUri = `http://127.0.0.1:${addr.port}/callback`;- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
no-delete
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.eval_exec · docs/design-notes/adr-103-differential-harness.mjs:49
const { stdout } = await exec(GWS, args, {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWInsecure cryptocrypto.weak_hash · src/__tests__/factory/generator.test.ts:62
return createHash('sha1').update(message).digest('hex').slice(0, 12);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInformation disclosuredisclose.log_secret · docs/design-notes/adr-103-media-upload-spike.mjs:142
console.log(`token acquired for ${EMAIL} (not printed)\n`);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · docs/design-notes/adr-103-differential-harness.mjs:28
import { getAccessToken } from '../../build/accounts/token-service.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · docs/design-notes/adr-103-differential-harness.mjs:189
const { loadManifest } = await import('../../build/factory/generator.js');- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · docs/design-notes/adr-103-media-roundtrip-spike.mjs:19
import { getAccessToken } from '../../build/accounts/token-service.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · docs/design-notes/adr-103-media-upload-spike.mjs:23
import { getAccessToken } from '../../build/accounts/token-service.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · docs/design-notes/api-descriptor/check-conformance.mjs:20
import { loadManifest } from '../../../build/factory/generator.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.rtl_override · src/__tests__/server/formatting/html-sanitize.test.ts:215
const out = sanitizeHtmlForAgent('<p>visiblehidden</p>', { source: 'gmail' });- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.rtl_override · src/__tests__/server/formatting/html-sanitize.test.ts:216
expect(out).not.toContain('');- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.zero_width · src/__tests__/server/formatting/html-sanitize.test.ts:208
const dirty = 'hello';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, sanitize-html, yaml, @types/node, @types/sanitize-html, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
- Why
- 10 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.authority_framing · docs/architecture/auth/ADR-201-own-oauth-flow-with-token-service.md:42
A `SERVICE_SCOPE_MAP` constant maps service names to OAuth scope URLs. `scopesForServices("gmail,drive,meet")` produces deduplicated scope URLs plus base scopes (`openid`, `userinfo.email`). Default a- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.authority_framing · docs/architecture/auth/ADR-202-per-account-access-level-enforced-at-call-time.md:86
- `drive` and `sheets` have GET methods with no read-only scope, so read access to those two allows less than full access but still slightly more than reading. The consent step must say so rather than
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.credential_read · docs/architecture/auth/ADR-201-own-oauth-flow-with-token-service.md:46
An in-memory `Map<email, {accessToken, expiresAt}>` caches short-lived access tokens for the MCP session lifetime. `getAccessToken(email)` returns a cached token if >60 seconds remain, otherwise excha- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · docs/architecture/auth/ADR-202-per-account-access-level-enforced-at-call-time.md:133
The policy **fails open** on every uncertainty: no credential, unreadable credential, no
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.transfer_instruction · RELEASE-NOTES-v4.3.0.md:30
Google is asked for the narrower scopes, so the token itself cannot send, edit or delete — not a rule this server enforces on top of a broad token. Where a service has no read-only scope, you're told
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/api-surface.md:193
| `users.settings.cse.keypairs.create`<br>*POST* | Creates and uploads a client-side encryption S/MIME public key certificate chain and private key metadata for the authenticated user. For administrat
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/architecture/api/ADR-301-scratchpad-buffer-for-service-agnostic-content-authoring.md:14
The GWS MCP server currently treats every content operation as a direct API call. `manage_docs write` appends text to a live document. `manage_email send` streams the full body in a single tool call.
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/architecture/auth/ADR-201-own-oauth-flow-with-token-service.md:46
An in-memory `Map<email, {accessToken, expiresAt}>` caches short-lived access tokens for the MCP session lifetime. `getAccessToken(email)` returns a cached token if >60 seconds remain, otherwise excha- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/architecture/core/ADR-103-generate-a-google-api-descriptor-retire-the-gws-facade.md:327
**Wait for Google's official Workspace MCP server.** Announced, but reportedly single-user by design. Our multi-account model — an `email` parameter on every call rather than a session-bound identity
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
10 declared in source · 1 destructive
1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | What it does | Risk |
|---|---|---|
no-delete | Block permanent deletion — trash is allowed, delete is not | destructive |
audit-log | Log all write operations to stderr — no blocking | write |
draft-only-email | Block outbound email — agents can read but not send | write |
manage_scratchpad | Compose, edit, and deliver text content. Use for any multi-line content: emails, documents, descriptions. Compose in the scratchpad, edit by line or JSON path, attach files, then send to any target. For short one-liners, use the service tool directly instead. | write |
read-only | Block all write operations — observation only | write |
account-access | Refuse writes from a read-only account, naming the account and the fix | read |
bulk_operations | Do many things in one call, two ways. mode: | read |
manage_accounts | Manage Google Workspace account lifecycle: list, authenticate, check status, refresh credentials, update scopes, or remove accounts. | read |
manage_orphan | a service with an unroutable operation | read |
manage_workspace | Manage files and directories in the workspace sandbox. Supports nested paths (e.g. | read |
Safer alternatives
All calendar & office servers →tanaikech/toolsformcpserver
The Gemini CLI confirmed that the MCP server built with Google Apps Script (GAS), a low-code platform, offers immense possibilities. If you've created snippets for GAS, these could be revitalized and/or leveraged in new ways by using them as the MCP server. The Gemini CLI and other MCP clients will
Abdulreh4874/gdocs-comments-mcp
Master modern software development through Stanford's CS146S assignments, featuring hands-on Python projects, Poetry workflows, and Conda environment setup for building production-ready skills.
verygoodplugins/mcp-evernote
MCP server for Evernote integration with note management and synchronization
Audit history
- ✕BLOCK D 69 / 100
First audit ·
94411bc95ff7
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Google Workspace MCP server
What is the Google Workspace MCP server?
What tools does Google Workspace expose?
Is Google Workspace safe to connect to an agent?
What credentials does Google Workspace need?
How does Google Workspace run?
How current is this page?
Which Google Workspace MCP server is the right one?
I already installed Google Workspace. What should I do?
Can the verdict change?
Sources
- aaronsb/google-workspace-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 94411bc95ff7Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Google Workspace MCP server?
- What tools does Google Workspace expose?
- Is Google Workspace safe to connect to an agent?