MCP server · Audited from source
Gmail AutoAuth MCP server
by gongrzhe/gmail-mcp-serverMIT licenceAudited 25 Sep 2026 · source 9bfc202e5c24
Is it safe? Yes — SAFE, grade B (89/100). It exposes 20 tools: 7 read, 9 write and 4 destructive. The audit recorded 3 findings (0 critical, 0 high, 1 medium, 2 low). Maintainer's description: A Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.
Cite
Cite this page
ModelsAtlas. “Gmail AutoAuth MCP server (gongrzhe/gmail-mcp-server)”. Retrieved 25 Sep 2026. https://modelsatlas.com/mcp/gongrzhe/gmail-autoauth
Trust audit
Audit 0.4.1 · full source read 25 Sep 2026
3 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
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS 1 finding |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
gongrzheUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@gongrzhe/server-gmail-autoauth-mcpat version 1.1.11 - LicenceMITFrom the repository, as read at the audited commit.
- Last pushArchivedThe repository is archived: it will not be updated.
- Source commit read9bfc202e5c24The audit covers exactly this commit, read on 25 Sep 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory20 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (3)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
batch_delete_emails, delete_email, delete_filter, delete_label
- Why
- 4 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, @types/mime-types, google-auth-library, googleapis, mcp-evals, mime-types, nodemailer, open
- Why
- 13 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · README.md:733
The evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the npx command. Full documentatio
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
20 declared in source · 4 destructive
4 tools 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 | Risk | What it does |
|---|---|---|
batch_delete_emails | destructive | Permanently deletes multiple emails in batches |
delete_email | destructive | Permanently deletes an email |
delete_filter | destructive | Deletes a Gmail filter |
delete_label | destructive | Deletes a Gmail label |
batch_modify_emails | write | Modifies labels for multiple emails in batches |
create_filter | write | Creates a new Gmail filter with custom criteria and actions |
create_filter_from_template | write | Creates a filter using a pre-defined template for common scenarios |
create_label | write | Creates a new Gmail label |
get_or_create_label | write | Gets an existing label by name or creates it if it doesn |
modify_email | write | Modifies email labels (move to different folders) |
send_email | write | Sends a new email |
send_emailEval | write | Evaluates sending a new email |
update_label | write | Updates an existing Gmail label |
download_attachment | read | Downloads an email attachment to a specified location |
draft_email | read | Evaluates the tool ability to draft an email |
get_filter | read | Gets details of a specific Gmail filter |
list_email_labels | read | Retrieves all available Gmail labels |
list_filters | read | Retrieves all Gmail filters |
read_email | read | Retrieves the content of a specific email |
search_emails | read | Searches for emails using Gmail search syntax |
Install
Package version 1.1.11 · audited commit 9bfc202
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.1.11. The audit covers commit 9bfc202 only.
claude mcp add server-gmail-autoauth-mcp --env GMAIL_CREDENTIALS_PATH=${GMAIL_CREDENTIALS_PATH} --env GMAIL_OAUTH_PATH=${GMAIL_OAUTH_PATH} -- npx -y @gongrzhe/[email protected]{
"mcpServers": {
"server-gmail-autoauth-mcp": {
"command": "npx",
"args": [
"-y",
"@gongrzhe/[email protected]"
],
"env": {
"GMAIL_CREDENTIALS_PATH": "${GMAIL_CREDENTIALS_PATH}",
"GMAIL_OAUTH_PATH": "${GMAIL_OAUTH_PATH}"
}
}
}
}The command pins the package version recorded in the source (1.1.11); the audit covers commit 9bfc202e5c24. Transport: stdio. Reads these environment variables: GMAIL_CREDENTIALS_PATH, GMAIL_OAUTH_PATH. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
9bfc202e5c24
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/gongrzhe/gmail-autoauth/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Gmail AutoAuth MCP server
What is the Gmail AutoAuth MCP server?
What tools does Gmail AutoAuth expose?
Is Gmail AutoAuth safe to connect to an agent?
What credentials does Gmail AutoAuth need?
How does Gmail AutoAuth run?
How current is this page?
Sources
- gongrzhe/gmail-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 25 Sep 2026
- ModelsAtlas trust audit — SAFE verdict for commit 9bfc202e5c24Observed · 25 Sep 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 Gmail AutoAuth MCP server?
- What tools does Gmail AutoAuth expose?
- Is Gmail AutoAuth safe to connect to an agent?