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

MCP server · Audited from source

Gmail AutoAuth MCP server

by gongrzhe/gmail-mcp-serverMIT licenceAudited 25 Sep 2026 · source 9bfc202e5c24

npm @gongrzhe/server-gmail-autoauth-mcp 1.1.11stdio★ 1,165
✓SAFEGrade B · 89/100 · 25 Sep 2026 · 9bfc202
1,165GitHub stars

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.

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

Trust score89/100✓SAFE B
0 critical0 high1 medium2 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainPASS 1 finding
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

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-mcp at 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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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

7 read9 write4 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.

ToolRiskWhat it does
batch_delete_emailsdestructivePermanently deletes multiple emails in batches
delete_emaildestructivePermanently deletes an email
delete_filterdestructiveDeletes a Gmail filter
delete_labeldestructiveDeletes a Gmail label
batch_modify_emailswriteModifies labels for multiple emails in batches
create_filterwriteCreates a new Gmail filter with custom criteria and actions
create_filter_from_templatewriteCreates a filter using a pre-defined template for common scenarios
create_labelwriteCreates a new Gmail label
get_or_create_labelwriteGets an existing label by name or creates it if it doesn
modify_emailwriteModifies email labels (move to different folders)
send_emailwriteSends a new email
send_emailEvalwriteEvaluates sending a new email
update_labelwriteUpdates an existing Gmail label
download_attachmentreadDownloads an email attachment to a specified location
draft_emailreadEvaluates the tool ability to draft an email
get_filterreadGets details of a specific Gmail filter
list_email_labelsreadRetrieves all available Gmail labels
list_filtersreadRetrieves all Gmail filters
read_emailreadRetrieves the content of a specific email
search_emailsreadSearches 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]

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

  1. ✓SAFE B 89 / 100

    First audit · 9bfc202e5c24

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/gongrzhe/gmail-autoauth/badge.svg)](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?
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.
What tools does Gmail AutoAuth expose?
20 in total: 7 read-only, 9 that write, and 4 that can delete or overwrite (batch_delete_emails, delete_email, delete_filter, delete_label). Every one is listed on this page with its risk.
Is Gmail AutoAuth safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 4 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Gmail AutoAuth need?
It reads GMAIL_CREDENTIALS_PATH and GMAIL_OAUTH_PATH 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 Gmail AutoAuth run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @gongrzhe/server-gmail-autoauth-mcp at 1.1.11.
How current is this page?
The grade is for one exact copy of the source (9bfc202e5c24), read on 2026-09-25. The repository is watched and re-audited when it changes.

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.