navbuildz/gmail-mcp-server
Open-source Gmail MCP server. Multi-account, read, write, archive, label, auto-unsubscribe. Works with Claude, OpenClaw, Cursor, Windsurf, Cline, and any MCP-compatible AI agent or assistant.
Platform-specific configuration:
{
"mcpServers": {
"gmail-mcp-server": {
"command": "npx",
"args": [
"-y",
"gmail-mcp-server"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
An open-source Model Context Protocol (MCP) server that gives AI agents and assistants full read and write access to Gmail. Connect multiple Gmail accounts, search emails, archive, label, and auto-unsubscribe. All through one server.
Works with Claude, OpenClaw, Cursor, Windsurf, Cline, Continue, and any MCP-compatible client.
[](https://railway.com/new/template?template=https://github.com/navbuildz/gmail-mcp-server)
---
Most AI tools ship with a Gmail integration that can only read emails from a single account. No archiving. No labeling. No unsubscribing. And if you use multiple Gmail accounts? You're out of luck.
This MCP server fixes that. One server, all your accounts, full read and write access.
| Feature | Built-in Gmail (Claude) | Gmail MCP Server | |---|---|---| | Read emails | Yes | Yes | | Write / modify emails | No | Yes | | Multiple Gmail accounts | No | Yes | | Archive emails | No | Yes | | Apply labels | No | Yes | | Auto-unsubscribe | No | Yes | | Works with OpenClaw | No | Yes | | Works with Cursor | No | Yes | | Works with Windsurf | No | Yes | | Works with Cline | No | Yes | | Open source | No | Yes |
---
Model Context Protocol (MCP) is an open standard that lets AI agents and assistants connect to external tools and data sources. An MCP server exposes tools that any compatible client can call. Think of it as a plugin system for AI.
This Gmail MCP server turns any MCP-compatible AI client into a full-featured email agent.
---
Loading reviews...