Gmail
local MCP serverInstallation
Terminal
claude mcp add gmail-mcp -e GOOGLE_ACCESS_TOKEN=... -- npx -y gmail-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"gmail-mcp": {
"command": "npx",
"args": [
"-y",
"gmail-mcp"
],
"env": {
"GOOGLE_ACCESS_TOKEN": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
Allow AI systems to read, send, archive, and manage emails via Gmail.
Questions
Gmail is a local MCP server distributed as the npm package gmail-mcp.
Run: claude mcp add gmail-mcp -e GOOGLE_ACCESS_TOKEN=... -- npx -y gmail-mcp
Run: codex mcp add gmail-mcp --env GOOGLE_ACCESS_TOKEN=... -- npx -y gmail-mcp
Similar MCP servers
NameStars
- gmailai.waystation/gmail63
- google-gmailcom.mcparmory/google-gmail31
- mailersendcom.mcparmory/mailersend31
- mailtrapcom.mcparmory/mailtrap31
- resendcom.mcparmory/resend31
- multi-gmail-mcpio.github.gx-55/multi-gmail-mcp19
- gmailcom.mintmcp/gmail9
- mcp-servercom.puter/mcp-server44K