GongRzhe/Gmail-MCP-Server
GongRzhe is a community-maintained (GongRzhe) entry covering Gmail with read + write access and DWD: no.
- access mode act
- read+act (search, send, draft, labels, filters, delete)
- domain-wide delegation no
- no
- is_agentic client recommended
- recommended (own client)
- APIs covered (1)
- Gmail
Verified from upstream tool definitions or official docs.
Per-user OAuth or non-DWD flow.
Mark on your OAuth client in Cloud Console before Nov 12, 2026.
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.
| Criterion | Value | Verified evidence | Source |
|---|---|---|---|
| auth_model Auth model (service account / DWD vs per-user OAuth) | no | Per-user OAuth 2.0 flow on localhost:3000/oauth2callback. | src/index.ts#L128 |
| multi_user Multi-user tenancy (one deployment serving many users) | no | Single global oauth2Client instance over StdioServerTransport. | src/index.ts#L60 |
| admin_controls Admin controls (allowlist / scope restriction / OU scope) | no | Hardcodes gmail.modify and gmail.settings.basic scopes. | src/index.ts#L153 |
| audit_trail Audit trail (logs which user/agent did what, exportable) | no | No audit logging implemented. | src/index.ts#L140 |
| hosting Hosting posture (Google-hosted / container / streamable HTTP) | no | Local StdioServerTransport only. | src/index.ts#L4 |
| secrets_handling Secrets handling (managed store vs plaintext local disk) | no | Stores plaintext OAuth keys and credentials in ~/.gmail-mcp/credentials.json. | src/index.ts#L28 |
| is_agentic_client_support is_agentic client support (docs on agentic OAuth flag) | no | Archived repository with no is_agentic OAuth client documentation. | src/index.ts#L1 |
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 tasksUpstream Repository & Feed Status
Changelog- GitHub repository
- GongRzhe/Gmail-MCP-Server
- Repository state
- archived
- Last push / stars / open issues
- Atom feeds
- releases.atom commits.atom
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.
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"
}
}
}