Gmail MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 442 installs a week from npm. Last commit 5 Nov 2026.
MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.
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-google-gmail -- npx -y mcp-google-gmail
{
"mcpServers": {
"mcp-google-gmail": {
"command": "npx",
"args": [
"-y",
"mcp-google-gmail"
]
}
}
}
[mcp_servers.mcp-google-gmail]
command = "npx"
args = ["-y", "mcp-google-gmail"]
{
"mcpServers": {
"mcp-google-gmail": {
"command": "npx",
"args": [
"-y",
"mcp-google-gmail"
]
}
}
}
{
"servers": {
"mcp-google-gmail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-google-gmail"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
GOOGLE_GMAIL_CLIENT_ID (Google OAuth2 client id (refresh-token flow)), GOOGLE_GMAIL_CLIENT_SECRET (Google OAuth2 client secret (refresh-token flow). Treat it as a secret), GOOGLE_GMAIL_REFRESH_TOKEN (Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret), GOOGLE_GMAIL_ACCESS_TOKEN (Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing), GOOGLE_GMAIL_OAUTH_PORT (Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login), GOOGLE_GMAIL_API_BASE (API root override), GOOGLE_GMAIL_TIMEOUT_MS (Per-request timeout in milliseconds), GOOGLE_GMAIL_MAX_RETRIES (Retries on transient errors (429 always; 5xx/network for reads)).
We read the source, 3 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
/(?<key>(?:login|password|secret|token|api[_-]?key|authorization)\s*[:=]\s*["']?|(?:bearer|basic)\s+)(?<val>[^,;]+)|[^\s,;]*(?:@|:\/\/|%3A|\p{L}\.\p{L})[^\s,;]*|(?<key2>\b(?:token|secret|password|api[_-]?key|access_token|refresh_token|client_secret)\s+)(?!(?:expired|invalid|is|…
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
MCP server for Google search results via SERP API
18 Google Maps tools for AI agents — geocode, search, directions, weather, and more.
Live web search, scraping and crawling API for AI. Get structured, LLM-ready data from any site.
MCP server for Google Gemini AI - text, image, video, research, and more
MCP server for web search and page extraction across the free tiers of several providers
MCP server for the Google Health API, with a local SQLite cache and trend analysis.
MCP server for DeepSeek tools: scored web search, page-to-Markdown fetch, OCR, ASR and TTS
Fully local MCP server and CLI for web research
Answers built from our own checks of this server.