MCP, MCP server
Google Workspace Mcp
Give your AI agent real access to Google Workspace — Gmail, Calendar, Drive, Docs, Sheets, Tasks, Meet and Contacts — from one MCP server, across as many accounts as you have.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 9c9f8033a65c, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
src/accounts/credentials.ts, line 74
await fs.unlink(credentialPath(email)); - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
docs/design-notes/adr-103-discovery-dispatcher-spike.mjs, line 14
const res = await fetch(`https://www.googleapis.com/discovery/v1/apis/${service}/${version}/rest`); - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
docs/design-notes/adr-103-discovery-dispatcher-spike.mjs, line 14
const res = await fetch(`https://www.googleapis.com/discovery/v1/apis/${service}/${version}/rest`); - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.gitignore, line 13
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/server/handlers/accounts.ts, line 160
const clientSecret = process.env.GOOGLE_CLIENT_SECRET; - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
docs/api-surface.md, line 1
# The Google API surface
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
src/accounts/credentials.ts, line 74
await fs.unlink(credentialPath(email));
src/server/handlers/workspace.ts, line 199
await fs.unlink(filePath);
src/server/handlers/workspace.ts, line 224
await fs.rm(filePath, { recursive: true });
Show more
src/server/handlers/workspace.ts, line 231
await fs.unlink(filePath);
src/server/scratchpad/adapters/import-doc.ts, line 82
await fs.unlink(tmpPath).catch(() => {});
src/services/drive/patch.ts, line 372
await fs.unlink(tmpPath).catch(() => {});
docs/scripts/adr, line 44
result = subprocess.run(
docs/scripts/adr, line 142
result = subprocess.run(
docs/scripts/adr, line 151
result = subprocess.run(
docs/scripts/adr, line 402
return subprocess.run(cmd, shell=True).returncode
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach www.googleapis.com. The description does not name that host. can reach a host that is not written as a fixed address. can reach gmail.googleapis.com. The description does not name that host. can reach registry.modelcontextprotocol.io. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
docs/design-notes/adr-103-discovery-dispatcher-spike.mjs, line 14
const res = await fetch(`https://www.googleapis.com/discovery/v1/apis/${service}/${version}/rest`);
docs/design-notes/adr-103-discovery-dispatcher-spike.mjs, line 79
const res = await fetch(req.url, {
docs/design-notes/adr-103-media-roundtrip-spike.mjs, line 29
const res = await fetch(`https://www.googleapis.com/discovery/v1/apis/${service}/${version}/rest`);
Show more
docs/design-notes/adr-103-media-roundtrip-spike.mjs, line 58
const init = await fetch(initiateUrl, {
docs/design-notes/adr-103-media-roundtrip-spike.mjs, line 73
const res = await fetch(session, {
docs/design-notes/adr-103-media-roundtrip-spike.mjs, line 124
const gres = await fetch(`${GMAIL}/drafts/${draft.id}?format=full`, {
docs/design-notes/adr-103-media-roundtrip-spike.mjs, line 132
const ares = await fetch(
docs/design-notes/adr-103-media-roundtrip-spike.mjs, line 147
const d = await fetch(`${GMAIL}/drafts/${draft.id}`, {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/server/handlers/accounts.ts, line 160
const clientSecret = process.env.GOOGLE_CLIENT_SECRET;
src/server/handlers/accounts.ts, line 239
const clientSecret = process.env.GOOGLE_CLIENT_SECRET;
.gitignore, line 13
.env
Show more
.gitignore, line 12
# Environment
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
docs/api-surface.md, line 1
# The Google API surface
src/google/descriptor.json, line 1
{
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 9c9f8033a65c. can delete files. can reach www.googleapis.com. The description does not name that host. can reach a host that is not written as a fixed address. can reach gmail.googleapis.com. The description does not name that host. can reach registry.modelcontextprotocol.io. The description does not name that host. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 9c9f8033a65ca482f039e3f4ec8c82db9a7f7782
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.