Gmail MCP Server
by domdomeggio.github.domdomegg/gmail-mcpv2.4.0
Allow AI systems to read, send, archive, and manage emails via Gmail.
context tax
pending
security
92/100
cold start
pending
freshness
Active23d ago
Our reading of Gmail, from the data
Gmail is a email MCP server from domdomegg, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 23 days ago (2026-10-18). For comparison, 74% of email servers are active or maintained.
With 12 GitHub stars it ranks #77 of 932 email servers we index.
It runs either locally over stdio or as a hosted endpoint and needs 2 secrets (GOOGLE_ACCESS_TOKEN, GOOGLE_CLIENT_SECRET); use a scoped, least-privilege key.
Install Gmail MCP server
Install in Claude Code
claude mcp add gmail-domdomegg -e GOOGLE_ACCESS_TOKEN='<google-access-token>' -- npx -y gmail-mcpInstall in Cursor
{
"mcpServers": {
"gmail-domdomegg": {
"command": "npx",
"args": [
"-y",
"gmail-mcp"
],
"env": {
"GOOGLE_ACCESS_TOKEN": "<google-access-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"gmail-domdomegg": {
"command": "npx",
"args": [
"-y",
"gmail-mcp"
],
"env": {
"GOOGLE_ACCESS_TOKEN": "<google-access-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"gmail-domdomegg": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gmail-mcp"
],
"env": {
"GOOGLE_ACCESS_TOKEN": "<google-access-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"gmail-domdomegg": {
"command": "npx",
"args": [
"-y",
"gmail-mcp"
],
"env": {
"GOOGLE_ACCESS_TOKEN": "<google-access-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test gmail-mcp --env GOOGLE_ACCESS_TOKEN
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GOOGLE_ACCESS_TOKEN | yes | yes | Google OAuth access token with Gmail scopes. |
| MCP_TRANSPORT | yes | — | Transport type. |
| GOOGLE_CLIENT_ID | yes | — | Google OAuth client ID. |
| GOOGLE_CLIENT_SECRET | yes | yes | Google OAuth client secret. |
Security signals
92/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No license detected-5
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 23d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-18 · 23d ago · GitHub
Latest release
2026-10-18 · 23d ago · GitHub · v2.4.1
Package published
no data · npm/PyPI
Registry entry updated
2026-07-27 · 4mo ago · official registry · v2.4.0
How it compares in Email
Against the most-starred email servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Gmail (this) | 12 | — | not measured | Active | local + hosted |
| Inbox Zero | 12,649 | — | not measured | Active | hosted |
| Plunk | 5,524 | 42 | 14,491 | Active | local |
| Google Workspace | 3,370 | — | not measured | Active | — |
| OpenOSINT | 1,776 | — | not measured | Active | local |
| emailmd | 1,382 | 3 | 954 | Active | local + hosted |
FAQ
›How do I install the Gmail MCP server in Claude Code?
Run: claude mcp add gmail-domdomegg -e GOOGLE_ACCESS_TOKEN='<google-access-token>' -- npx -y gmail-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Gmail require an API key?
Yes. It expects GOOGLE_ACCESS_TOKEN, MCP_TRANSPORT, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, of which 2 are secrets.
›Can I use Gmail as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Gmail in the official MCP registry?
Yes, as io.github.domdomegg/gmail-mcp.
Sources and method
- Official MCP Registry entry
- updated 2026-07-27
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Gmail
Other email MCP servers.
Comparing Google servers? All Google MCP servers, official and community.