Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Google Workspace MCP server

by aaronsb/google-workspace-mcpApache-2.0 licenceAudited 6 Oct 2026 · source 94411bc95ff7

npm @aaronsb/google-workspace-mcp 4.6.0stdio★ 190
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · 94411bc

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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 →

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
0 critical1 high2 medium22 low0 info

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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
redirectUri = `http://127.0.0.1:${addr.port}/callback`;
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
LOWInventory / provenanceinv.hidden_file · mcpb/.mcpbignore
F-13 Inventory / provenanceCWE-1104Layer L0
.mcpbignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.eval_exec · docs/design-notes/adr-103-differential-harness.mjs:49
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
const dirty = 'hello';
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- `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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| `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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**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

5 read4 write1 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.

ToolWhat it doesRisk
no-deleteBlock permanent deletion — trash is allowed, delete is notdestructive
audit-logLog all write operations to stderr — no blockingwrite
draft-only-emailBlock outbound email — agents can read but not sendwrite
manage_scratchpadCompose, 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-onlyBlock all write operations — observation onlywrite
account-accessRefuse writes from a read-only account, naming the account and the fixread
bulk_operationsDo many things in one call, two ways. mode:read
manage_accountsManage Google Workspace account lifecycle: list, authenticate, check status, refresh credentials, update scopes, or remove accounts.read
manage_orphana service with an unroutable operationread
manage_workspaceManage files and directories in the workspace sandbox. Supports nested paths (e.g.read

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 94411bc95ff7

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

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?
A Model Context Protocol (MCP) server that provides authenticated access to Google Workspace APIs, offering integrated Authentication, Gmail, Calendar, and Drive functionality
What tools does Google Workspace expose?
10 in total: 5 read-only, 4 that write, and 1 that can delete or overwrite (no-delete). Every one is listed on this page with its risk.
Is Google Workspace safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Google Workspace need?
It reads GOOGLE_CLIENT_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Google Workspace run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @aaronsb/google-workspace-mcp at 4.6.0.
How current is this page?
The grade is for one exact copy of the source (94411bc95ff7), read on 2026-10-06. The repository is watched and re-audited when it changes.
Which Google Workspace MCP server is the right one?
j3k0/mcp-google-workspace. 5 servers share the name; see the side-by-side comparison.
I already installed Google Workspace. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

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.