Skip to contentgmail MCP Server — Install for Claude, Cursor & VS Code | MCPpediaGgmail MCP Server
MCP server for Gmail with OAuth2 (personal) and service account (Workspace) support.
50FairInstall
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"pulsemcp-gmail": {
"command": "npx",
"args": [
"-y",
"gmail-workspace-mcp-server@0.4.12"
],
"env": {
"GMAIL_OAUTH_CLIENT_ID": "YOUR_GMAIL_OAUTH_CLIENT_ID",
"GMAIL_OAUTH_CLIENT_SECRET": "YOUR_GMAIL_OAUTH_CLIENT_SECRET",
"GMAIL_OAUTH_REFRESH_TOKEN": "YOUR_GMAIL_OAUTH_REFRESH_TOKEN",
"GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL": "",
"GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY": "YOUR_GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY",
"GMAIL_IMPERSONATE_EMAIL": "",
"GMAIL_ENABLED_TOOLGROUPS": ""
}
}
}
}
Related servers
XReal-time data-breach lookup and analytics for emails and domains from XposedOrNot.
Environment
| Name | Required | Notes |
|---|
| GMAIL_OAUTH_CLIENT_ID | No | OAuth2 client ID from Google Cloud Console (for personal Gmail accounts). Secret. |
| GMAIL_OAUTH_CLIENT_SECRET | No | OAuth2 client secret from Google Cloud Console. Secret. |
| GMAIL_OAUTH_REFRESH_TOKEN | No | Refresh token from the OAuth2 setup script. Secret. |
| GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL | No | Service account email address (for Google Workspace). |
| GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY | No | Service account private key in PEM format (for Google Workspace). Secret. |
| GMAIL_IMPERSONATE_EMAIL | No | Email address to impersonate (required for service account mode). |
| GMAIL_ENABLED_TOOLGROUPS | No | Comma-separated list of tool groups to enable (readonly, readwrite, readwrite_external). |
Tools show up when the registry metadata or the repository README lists them. GitHub enrichment fills this in when a token is configured.
About
MCP server for Gmail with OAuth2 (personal) and service account (Workspace) support.
FAQ
- What is gmail?
- MCP server for Gmail with OAuth2 (personal) and service account (Workspace) support.
- How do I install gmail?
- Pick a client above and copy the generated config. Cursor and VS Code also have a deep link when the server can run locally or remotely.
- Is gmail official?
- No. Registry-listed is not the same as vendor-official. Read the methodology for the difference.
- How is the trust score calculated?
- This listing scores 50 (Fair). The formula is published on the methodology page.
Reviews
0 published · no average
Sign in to review this server.
Good
Secure MCP access to Onyx search, chat, projects, and administration.
AQA-tests your site analytics, ad and consent tags (GA4, GTM, Ads, Meta, TikTok) from chat.
HGroup chat for people and AI agents: join a room by invite link, read, reply, whisper, wait.
FRead, search, draft, send, and organize email through Gmail, Outlook, and IMAP/SMTP mailboxes.
MMailoo — email MCP server for IMAP, SMTP, and ManageSieve. Multi-account, per-folder profiles.