
gmail MCP server
MCP server for Gmail with OAuth2 (personal) and service account (Workspace) support.
Good fit for
- One-command install
- Runs fully local
- MIT license
Used for
Facts
- Pricing
- Unknown
- Authentication
- API key
- Transport
- stdio
- Hosting
- Local
- Maker
- Unknown
- Access
- Unknown
- Language
- TypeScript
- Install method
- npx
- Operating system
- Unknown
- Client
- Claude Desktop
Install
More clients (15)
Paste into claude_desktop_config.json
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": [
"-y",
"-y",
"gmail-workspace-mcp-server"
]
}
}
}Env vars and secrets
GMAIL_OAUTH_CLIENT_IDEnv varSecretOAuth2 client ID from Google Cloud Console (for personal Gmail accounts).
GMAIL_OAUTH_CLIENT_SECRETEnv varSecretOAuth2 client secret from Google Cloud Console.
GMAIL_OAUTH_REFRESH_TOKENEnv varSecretRefresh token from the OAuth2 setup script.
GMAIL_SERVICE_ACCOUNT_PRIVATE_KEYEnv varSecretService account private key in PEM format (for Google Workspace).
Ratings
Not enough ratings yet
Ratings show once 3 people have rated.
Sign in to rate and comment. Sign in
Comments (0)
Sign in to rate and comment. Sign in
No comments yet.
Alternatives
From the same category
| Name | Pricing | Authentication | Hosting | Stars |
|---|---|---|---|---|
| Inbox Zero | Unknown | OAuth | Remote | 13k |
| obseiOfficial | Free | API key | Local | 1.4k |
| emailmdOfficial | Unknown | None | Local, Remote | 1.4k |
| Microsoft 365 MCP Server | Unknown | Unknown | Local | 1.1k |
| TryPost | Unknown | Unknown | Remote | 765 |
| OpenPost | Unknown | Unknown | Remote | 822 |
Score: 73
- Popularity
- 50
- Maintenance
- 96
- Trust
- 80
- Completeness
- 90
- Community
- 50
Formula version 1
Listed in:
Official MCP Registry.Data from the Official MCP Registry.