Multi-account Gmail MCP server — unified search/read/draft/labels across N Google accounts. Read + draft only by design (prompt-injection resistant).
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"gmail-mcp": {
"command": "uvx",
"args": [
"gmail-mcp"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add gmail-mcp uvx gmail-mcp
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"gmail-mcp": {
"command": "uvx",
"args": [
"gmail-mcp"
]
}
}
}
📋 Copy
Or install with pip: pip install gmail-mcp
README Excerpt
<!-- mcp-name: io.github.cunicopia-dev/multi-account-gmail-mcp --> **An [MCP](https://modelcontextprotocol.io) server that reads across _all_ your Gmail accounts from one connection.** Most Gmail integrations — including the native connectors — bind a single account per OAuth grant: connect a second inbox and you disconnect the first.
Tools (20)
GMAIL_MCP_CLIENT_SECRET GMAIL_MCP_DB GMAIL_MCP_MAX_BODY_CHARS GMAIL_MCP_OAUTH_PORT bulk_action count_messages create_draft create_filter delete_filter list_accounts list_drafts list_filters list_labels modify_labels read_message read_messages read_thread search_all_accounts search_messages trash
Topics
claude gmail gmail-api llm-tools mcp model-context-protocol oauth2 prompt-injection