Skip to main content
WorkspaceMCP.directory
Verified
  • community
  • archived — not counted
  • 1,168 GitHub stars
  • License: MIT
  • Last push:

GongRzhe/Gmail-MCP-Server

GongRzhe is a community-maintained (GongRzhe) entry covering Gmail with read + write access and DWD: no.

archived repository: Repository archived on GitHub (last push 2025-08-06); kept for historical reference and not counted as an active MCP server. Inspect GitHub archive notice
access mode
act
read+act (search, send, draft, labels, filters, delete)

Verified from upstream tool definitions or official docs.

domain-wide delegation
no
no

Per-user OAuth or non-DWD flow.

is_agentic client
recommended
recommended (own client)

Mark on your OAuth client in Cloud Console before Nov 12, 2026.

edition posture
matrix
works (Business Starter)

All tools work on Business Starter.

APIs covered (1)
Gmail

Deployment readiness

Single-user (0/6 core criteria yes, 0 partial)

Archived single-user stdio server storing plaintext OAuth tokens in ~/.gmail-mcp/credentials.json.

Enterprise deployment guide →
Criterion Value Verified evidence
auth_model
Auth model (service account / DWD vs per-user OAuth)
no
Per-user OAuth 2.0 flow on localhost:3000/oauth2callback.
multi_user
Multi-user tenancy (one deployment serving many users)
no
Single global oauth2Client instance over StdioServerTransport.
admin_controls
Admin controls (allowlist / scope restriction / OU scope)
no
Hardcodes gmail.modify and gmail.settings.basic scopes.
audit_trail
Audit trail (logs which user/agent did what, exportable)
no
No audit logging implemented.
hosting
Hosting posture (Google-hosted / container / streamable HTTP)
no
Local StdioServerTransport only.
secrets_handling
Secrets handling (managed store vs plaintext local disk)
no
Stores plaintext OAuth keys and credentials in ~/.gmail-mcp/credentials.json.
is_agentic_client_support
is_agentic client support (docs on agentic OAuth flag)
no
Archived repository with no is_agentic OAuth client documentation.
MCP client agentic client recommended transport REST / SOAR auth user OAuth Community server tier community access act dwd no Covered APIs 1 Gmail r+w other APIs 0 other APIs 0 calls reads + acts
  • FIG. gongrzhe-gmail-mcp-server
  • auth & API boundary
covered gap

Verified MCP Tools & Capabilities (6)

Pinned commit / docs verification from capabilities.json. Every tool links to its source file and line or official documentation section.

Product / API Capability State MCP Tool Name Source Evidence
users.messages.list/get, users.threads
Search and read own mail
works search_emails src/index.ts:362
users.messages.send
Send mail
works send_email src/index.ts:347
users.drafts.create
Create drafts
works draft_email src/index.ts:352
users.messages.modify, users.labels
Label, archive, mark read
works modify_email src/index.ts:367
users.messages.trash/delete
Trash or delete own mail
works delete_email src/index.ts:372
users.settings.filters
Manage filters
works create_filter src/index.ts:412

Role Tasks This Server Unlocks (4)

All 32 role tasks
partial (1/2)
partial (1/3)
Let an agent draft replies but never send
  • Role: Agent developer
  • task d2
partial (1/1)

Upstream Repository & Feed Status

Changelog
GitHub repository
GongRzhe/Gmail-MCP-Server
Repository state
archived
Last push / stars / open issues
  • 1,168 stars
  • 70 open issues

Security Notes

Archived on GitHub (last push ). Can send mail, modify labels, manage filters, and delete messages. Indirect prompt injection risk from email bodies.

Credential Storage Posture

Local OAuth token file

Agentic OAuth Client Policy (is_agentic)

OAuth client guide

Not enforced, recommended: set it on your own OAuth client; Google recommends marking agent clients before the lock.

Hosted MCP enforcement (OAuth client locks ).

Declared OAuth 2.0 Scopes

Declared Scope / Posture Risk Level Auditor Rationale
Gmail API OAuth scopes (src/index.ts#L154) Per-Service OAuth Scopes Depends on tool-level or service-level OAuth configuration in your Google Cloud project.

Registry JSON Record

src/data/servers.json
{
  "name": "GongRzhe/Gmail-MCP-Server",
  "short_name": "GongRzhe",
  "slug": "gongrzhe-gmail-mcp-server",
  "url": "https://github.com/GongRzhe/Gmail-MCP-Server",
  "maintainer": "GongRzhe",
  "type": "community",
  "type_detail": "community",
  "status": "archived",
  "status_label": "Archived on GitHub",
  "status_reason": "Repository archived on GitHub (last push 2025-08-06); kept for historical reference and not counted as an active MCP server.",
  "apis": [
    "Gmail"
  ],
  "scopes": [
    "Gmail API OAuth scopes (src/index.ts#L154)"
  ],
  "dwd": "no",
  "dwd_detail": "no",
  "access": "act",
  "access_detail": "read+act (search, send, draft, labels, filters, delete)",
  "credential_storage": "Local OAuth token file",
  "last_commit": "2025-08-06",
  "last_push": "2025-08-06T03:06:45Z",
  "archived": true,
  "archived_source": "https://api.github.com/repos/GongRzhe/Gmail-MCP-Server",
  "stale": true,
  "days_since_push": 437,
  "open_issues": 70,
  "releases_feed": "https://github.com/GongRzhe/Gmail-MCP-Server/releases.atom",
  "commits_feed": "https://github.com/GongRzhe/Gmail-MCP-Server/commits/main.atom",
  "license": "MIT",
  "is_agentic_notes": "Not enforced, recommended: set it on your own OAuth client; Google recommends marking agent clients before the 2026-11-12 lock.",
  "security_notes": "Archived on GitHub (last push 2025-08-06). Can send mail, modify labels, manage filters, and delete messages. Indirect prompt injection risk from email bodies.",
  "featured": false,
  "github_stars": 1168,
  "stars": 1168,
  "verified_on": "2026-10-18",
  "last_verified": "2026-10-18",
  "enterprise": {
    "auth_model": {
      "value": "no",
      "evidence": "Per-user OAuth 2.0 flow on localhost:3000/oauth2callback.",
      "source_url": "https://github.com/GongRzhe/Gmail-MCP-Server/blob/a890d19189bbc1325b8728fab830fc278cfd8804/src/index.ts#L128"
    },
    "multi_user": {
      "value": "no",
      "evidence": "Single global oauth2Client instance over StdioServerTransport.",
      "source_url": "https://github.com/GongRzhe/Gmail-MCP-Server/blob/a890d19189bbc1325b8728fab830fc278cfd8804/src/index.ts#L60"
    },
    "admin_controls": {
      "value": "no",
      "evidence": "Hardcodes gmail.modify and gmail.settings.basic scopes.",
      "source_url": "https://github.com/GongRzhe/Gmail-MCP-Server/blob/a890d19189bbc1325b8728fab830fc278cfd8804/src/index.ts#L153"
    },
    "audit_trail": {
      "value": "no",
      "evidence": "No audit logging implemented.",
      "source_url": "https://github.com/GongRzhe/Gmail-MCP-Server/blob/a890d19189bbc1325b8728fab830fc278cfd8804/src/index.ts#L140"
    },
    "hosting": {
      "value": "no",
      "evidence": "Local StdioServerTransport only.",
      "source_url": "https://github.com/GongRzhe/Gmail-MCP-Server/blob/a890d19189bbc1325b8728fab830fc278cfd8804/src/index.ts#L4"
    },
    "secrets_handling": {
      "value": "no",
      "evidence": "Stores plaintext OAuth keys and credentials in ~/.gmail-mcp/credentials.json.",
      "source_url": "https://github.com/GongRzhe/Gmail-MCP-Server/blob/a890d19189bbc1325b8728fab830fc278cfd8804/src/index.ts#L28"
    },
    "is_agentic_client_support": {
      "value": "no",
      "evidence": "Archived repository with no is_agentic OAuth client documentation.",
      "source_url": "https://github.com/GongRzhe/Gmail-MCP-Server/blob/a890d19189bbc1325b8728fab830fc278cfd8804/src/index.ts#L1"
    }
  }
}

Google Workspace MCP & OAuth audit notes

Factual notes for Google Workspace administrators and IAM engineers: newly verified MCP servers, OAuth scope diffs, API & edition gap changes, and is_agentic policy updates ahead of .