Gmail runs on your own machine — the client starts it, so there is no endpoint to ping. 144 installs a week from npm. Last commit 30 Aug 2026.
MCP server for Gmail with OAuth2 (personal) and service account (Workspace) support.
Today is the operative word: we check Gmail every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add gmail -- npx -y gmail-workspace-mcp-server
{
"mcpServers": {
"gmail": {
"args": [
"-y",
"gmail-workspace-mcp-server"
],
"command": "npx"
}
}
}
[mcp_servers.gmail]
command = "npx"
args = ["-y", "gmail-workspace-mcp-server"]
{
"mcpServers": {
"gmail": {
"args": [
"-y",
"gmail-workspace-mcp-server"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"gmail": {
"args": [
"-y",
"gmail-workspace-mcp-server"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
GMAIL_OAUTH_CLIENT_ID (OAuth2 client ID from Google Cloud Console (for personal Gmail accounts).), GMAIL_OAUTH_CLIENT_SECRET (OAuth2 client secret from Google Cloud Console.), GMAIL_OAUTH_REFRESH_TOKEN (Refresh token from the OAuth2 setup script.), GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL (Service account email address (for Google Workspace).), GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY (Service account private key in PEM format (for Google Workspace).), GMAIL_IMPERSONATE_EMAIL (Email address to impersonate (required for service account mode).), GMAIL_ENABLED_TOOLGROUPS (Comma-separated list of tool groups to enable (readonly, readwrite, readwrite_external).).
The author declared them in the registry entry; get the values from the project itself.
Lean Gmail MCP server with auto authentication support
MCP server for Outlook personal accounts (Hotmail/Outlook.com) via Microsoft Graph API
Multi-account email MCP server for Gmail, IMAP, and JMAP: search, send, drafts, labels.
Google Workspace MCP server for Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, and more
Multi-account Google Workspace MCP — Gmail, Calendar, Drive, Sheets, Docs with smart routing.
Unified email MCP server for Gmail, Outlook, iCloud, and IMAP with batch operations
IMAP/SMTP MCP server for Email with composite tools. Multi-account, auto-discovery.
MCP fork of Google Workspace CLI (Gmail, Drive, Calendar, and more)
Answers built from our own checks of this server.