Gmail Multi
FreeNot checkedA Gmail MCP server with native multi-account support, enabling management of multiple Gmail accounts from a single server instance.
About
A Gmail MCP server with native multi-account support, enabling management of multiple Gmail accounts from a single server instance.
README
A Gmail MCP server with native multi-account support. Manage multiple Gmail accounts from a single server instance.
Unlike other Gmail MCPs that require running separate server instances per account, this one lets you specify which account to use on each tool call—making it easy to manage personal and work inboxes from Claude Code, Cursor, or any MCP client.
Features
- Multi-account support - Single server instance, unlimited Gmail accounts
- Account aliases - Use friendly names like "work" or "personal" instead of email addresses
- Full Gmail API - Search, read, send, label, and manage emails
- Batch operations - Bulk modify or delete emails efficiently
- Auto token refresh - Handles OAuth token refresh automatically
Installation
npm install -g gmail-mcp-multi
Or run directly with npx:
npx gmail-mcp-multi
Quick Start
1. Set up Google Cloud OAuth
You'll need OAuth credentials from Google Cloud Console:
- Go to Google Cloud Console
- Create a new project (or use existing)
- Enable the Gmail API
- Create OAuth 2.0 credentials (Desktop app type)
- Download the credentials JSON
2. Configure the MCP
Create ~/.gmail-mcp/oauth-keys.json with your OAuth credentials.
3. Add to your MCP client
Claude Code (~/.claude/settings.json):
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": ["gmail-mcp-multi"]
}
}
}
4. Authenticate accounts
Once the MCP is running, use the authenticate tool:
authenticate({ alias: "work", email: "[email protected]" })
authenticate({ alias: "personal", email: "[email protected]" })
5. Use it!
search_emails({ account: "work", query: "in:inbox is:unread" })
search_emails({ account: "personal", query: "from:mom" })
Tools
All tools that interact with Gmail require an account parameter (alias or email).
Account Management
| Tool | Description |
|---|---|
list_accounts |
List all configured accounts and auth status |
authenticate |
Add or re-authenticate an account |
Email Operations
| Tool | Description |
|---|---|
search_emails |
Search emails using Gmail query syntax |
read_email |
Get full content of an email by ID |
send_email |
Send a new email |
draft_email |
Create a draft |
modify_email |
Add/remove labels, mark read/unread |
delete_email |
Trash or permanently delete |
batch_modify_emails |
Bulk label operations |
batch_delete_emails |
Bulk delete |
Label Management
| Tool | Description |
|---|---|
list_labels |
Get all labels for an account |
create_label |
Create a new label |
delete_label |
Delete a label |
Configuration
Credentials are stored in ~/.gmail-mcp/:
~/.gmail-mcp/
├── config.json # Account aliases and settings
├── oauth-keys.json # Your Google OAuth app credentials
└── accounts/
├── work/
│ └── credentials.json
└── personal/
└── credentials.json
Development
git clone https://github.com/dmorrill/gmail-mcp-multi.git
cd gmail-mcp-multi
npm install
npm run build
npm run dev
Contributing
Contributions welcome! Please see CONTRIBUTING.md for guidelines.
License
MIT
Installing Gmail Multi
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/dmorrill/gmail-mcp-multiFAQ
Is Gmail Multi MCP free?
Yes, Gmail Multi MCP is free — one-click install via Unyly at no cost.
Does Gmail Multi need an API key?
No, Gmail Multi runs without API keys or environment variables.
Is Gmail Multi hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Gmail Multi in Claude Desktop, Claude Code or Cursor?
Open Gmail Multi on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) — no setup required, bring your own API key
by Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
by arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
by hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
by profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
by waystation-aiCompare Gmail Multi with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
