Gmail runs on your own machine — the client starts it, so there is no endpoint to ping. 3 018 installs a week from npm.
Gmail integration with OAuth authentication, message search, batch operations, and Sheets export
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 mcp-gmail -e 'GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>' -- npx -y @mcp-z/mcp-gmail
{
"mcpServers": {
"mcp-gmail": {
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-gmail"
],
"env": {
"GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>"
}
}
}
}
[mcp_servers.mcp-gmail]
command = "npx"
args = ["-y", "@mcp-z/mcp-gmail"]
env = { GOOGLE_CLIENT_ID = "<GOOGLE_CLIENT_ID>" }
{
"mcpServers": {
"mcp-gmail": {
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-gmail"
],
"env": {
"GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>"
}
}
}
}
{
"servers": {
"mcp-gmail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-gmail"
],
"env": {
"GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>"
}
}
}
}
Put your own value in place of
<GOOGLE_CLIENT_ID> (Google OAuth client ID (required for OAuth authentication modes)).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
GOOGLE_CLIENT_SECRET (Google OAuth client secret (optional for public clients)), GOOGLE_SERVICE_ACCOUNT_KEY_FILE (Path to service account JSON key file (required for service-account auth mode)), AUTH_MODE (Authentication mode), HEADLESS (Disable browser auto-open, return auth URL instead (true/false)), REDIRECT_URI (OAuth redirect URI (optional, default: ephemeral loopback)), DCR_MODE (Dynamic Client Registration mode), DCR_VERIFY_URL (External verification endpoint URL (required for external DCR mode)), DCR_STORE_URI (DCR client storage URI (for self-hosted DCR mode)), RESOURCE_STORE_URI (Resource store URI for CSV export files (file://)), PORT (HTTP server port (overrides --port)), BASE_URL (Base URL for HTTP transport (used for OAuth/DCR endpoints and file links)), LOG_LEVEL (Logging level).
Outlook integration with OAuth, message search, batch operations, and calendar management
Lean Gmail MCP server with auto authentication support
Unified email MCP server for Gmail, Outlook, iCloud, and IMAP with batch operations
Email inboxes for AI agents. Send, receive, and read email with a trust report on every message.
Telegram message mirror, search, sending, and moderation tools.
Hosted Gmail MCP server: read, search, and manage messages. Google OAuth2 handled by NordicMCP.
Email over IMAP and SMTP: search and read messages and attachments; draft and send when switched on
Catch conversations going quiet — watch outcomes and search Gmail, Slack, and meetings. One MCP.
Answers built from our own checks of this server.