Multi-Account Gmail MCP server
Multi-account Gmail MCP server — read, search, draft, and label across every inbox.
3 stars48 downloads/wk
Reviews
Write oneNobody has reviewed Multi-Account Gmail yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Multi-Account Gmail tools (4, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
create_draftwrite actionCreate a draft email (not sent). Returns the draft id.
list_draftsList draft messages in the account (returns draft ids).
list_labelsList the account's labels (id and name).
read_threadRead every message in a thread, in order.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan8 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 30 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Multi-Account Gmail compares
Against every graded Email MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 916 Email servers
- Tools
- 4
- the typical Email server has 7
- Tools that change things
- 25%
- typical: 25%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 78% of 493 Email servers
- Downloads a week
- 48
- more than 36% of 235 Email servers with a package
What its tools let an agent do: 3 read · 1 create
Install Multi-Account Gmail in Claude Code, Cursor or VS Code
claude mcp add multi-account-gmail-mcp -- uvx multi-account-gmail-mcp
What the publisher says
From the Multi-Account Gmail repository's README, as published. We do not edit it. Read it on GitHub
gmail-mcp
<!-- mcp-name: io.github.cunicopia-dev/multi-account-gmail-mcp -->
An MCP 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. gmail-mcp keeps any number of accounts authorized at once. One Google Cloud client authorizes them all, each lands as a row in a local SQLite file, and every tool takes an account argument that routes to the right mailbox. searchallaccounts sweeps all of them in a single query.
Python 3.12+ · MIT · stdio MCP server + auth CLI · local SQLite token store
It's built to be owned completely: runs in-process over stdio, stores tokens in one SQLite file you can inspect, copy, or delete, talks only to Google and your MCP client, and hardcodes no secrets.
It reads, searches, drafts, and labels. It doesn't send — create_draft leaves a draft for you to send yourself. That's a deliberate default (reasoning in Security model), not a hard stance; if you want autonomous send, it's a small addition or a different server.
Contents
- The idea in 30 seconds
- Design notes
- Tools
- Architecture
- Identity & auth model
- The OAuth model
- The multi-account model
- Token lifecycle
- The headless auth path
- Security model
- Install
- Quickstart
The idea in 30 seconds
Authorize N accounts once via the CLI. Then every tool takes an account, and searchallaccounts hits all of them at once:
search_all_accounts(query="invoice newer_than:30d")
── personal@gmail.com ───────────────────────────────
from: billing@acme.com subject: Invoice #4821 (id 18f...)
── work@company.com ─────────────────────────────────
from: ap@vendor.io subject: March invoice (id 19a...)One query, every inbox, each result tagged with its account and carrying the message id — so the agent can chain readmessage(account, id) or createdraft(...) next.
Design notes
One OAuth client, many inboxes. A single Google Cloud project and one client_secret.json authorize every account. Adding the tenth inbox is the same one-command flow as the first.
Boring storage. Tokens live in one SQLite file under ~/.gmail-mcp/. No daemon, no keyring dependency, no cloud. Back it up by copying it; revoke an account by deleting a row; inspect it with any SQLite tool.
Least privilege. Four granular scopes — gmail.readonly, gmail.compose, gmail.modify, gmail.settings.basic — never the full-mailbox https://mail.google.com/. It can read, draft, label, and manage filters; it never sends mail, and filters it creates can't forward mail off-account.
Headless-friendly. The auth flow assumes the server may have no browser: it prints a consent URL, binds a fixed port, and you SSH-forward the redirect. Works fine on a desktop too.
Tools
Every tool except listaccounts and searchall_accounts takes an account (the email address). Unknown accounts return an error listing the authorized ones.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Multi-Account Gmail: common questions
- Is Multi-Account Gmail MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Multi-Account Gmail safety report
- How do I install Multi-Account Gmail?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Multi-Account Gmail need an API key?
- No secret keys are declared. It reads 3 settings from the environment.
- Is Multi-Account Gmail maintained?
- The last commit was 68 days ago (2026-08-28). The latest release is v0.3.0.
- What can I use instead of Multi-Account Gmail?
- Servers from other publishers that do the same job: Inbox Zero MCP server, Google Workspace MCP server and Mailbox MCP server. Compare all Multi-Account Gmail alternatives.
- How does Multi-Account Gmail compare with other Email MCP servers?
- safety score 92/100 (higher than 90% of 916 Email servers); tools 4 (the typical Email server has 7); tools that change things 25% (typical: 25%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Multi-Account Gmail
Same job from other publishers: the closest match first, then the best rated.
Inbox ZeroSearch Gmail and Outlook, save drafts, manage email rules, and view email stats.not reviewedEstablishedA- Google WorkspaceGive AI agents access to Gmail, Calendar, Drive, and more — multi-account, manifest-drivennot reviewedEstablishedA
- MailboxMulti-account email MCP server for Gmail, IMAP, and JMAP: search, send, drafts, labels.not reviewedGrowingB
- Multi GmailManage multiple Gmail accounts in Claude Desktop — search, send, reply, draft, and organize.not reviewedGrowingB
- EmailIMAP/SMTP email MCP server — 52 tools, stdio + HTTP, IMAP IDLE push, multi-account, AI triage.not reviewedEstablishedB