Gmail
Connects AI agents to Gmail for OAuth-authenticated email search, messaging, labels, batch actions, and CSV export.
Install Gmail
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"gmail-3": {
"command": "npx",
"args": [
"-y",
"@mcp-z/cli"
],
"env": {
"GOOGLE_CLIENT_ID": "YOUR_VALUE_HERE",
"GOOGLE_CLIENT_SECRET": "YOUR_VALUE_HERE",
"AUTH_MODE": "YOUR_VALUE_HERE",
"GOOGLE_SERVICE_ACCOUNT_KEY_FILE": "YOUR_VALUE_HERE",
"REDIRECT_URI": "YOUR_VALUE_HERE",
"TOKEN_STORE_URI": "YOUR_VALUE_HERE",
"DCR_STORE_URI": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
npx -y @mcp-z/cliNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 15d ago.
Overview
Use cases
- Search and read Gmail messages
- Send or reply to email
- Organize messages with labels
- Export messages to CSV
- Run Gmail access over HTTP
Key features
- OAuth and service-account authentication
- Message search and retrieval
- Email sending and replies
- Label and message-state management
- CSV message export
- Stdio and HTTP transports
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 13d ago via OSV.dev · @mcp-z/cli (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Gmail works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Gmail
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gmail-3)<a href="https://allmcps.com/mcp/gmail-3"><img src="https://allmcps.com/api/badge/gmail-3?style=directory" alt="Gmail on AllMCPs" /></a>