Skip to content
gx-55 avatar

Multi Gmail Mcp

gx-55/multi-gmail-mcp

Gives Claude access to multiple Gmail accounts: search, read, send, reply, draft, and label.

CCM score
73 of 100
GitHub stars
19
tools
15
auth
Secret needed
transport
STDIO
env vars
2
last updated
Apr 27, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads with list_accounts, search_emails (full Gmail query syntax), and get_email; mail is fetched by message ID
  • Writes with send_email (To, CC, BCC), reply_to_email keeping thread headers, and create_draft; organizes with add_label, remove_label, archive_email, mark_as_read, and mark_as_unread
  • Requires a Google Cloud OAuth desktop credential and one browser sign-in per account; runs locally over stdio with tokens stored on disk
  • Designed for triaging and replying across personal and work inboxes from within Claude Desktop

Tools

15 tools

Public tool metadata for what this MCP can expose to an agent.

list_accountsList all authenticated Gmail accounts

List all authenticated Gmail accounts

No parameter schema in public metadata yet.

initiate_authStart OAuth flow — returns a URL to open in browser

Start OAuth flow — returns a URL to open in browser

No parameter schema in public metadata yet.

complete_authFinalize auth after completing Google sign-in

Finalize auth after completing Google sign-in

No parameter schema in public metadata yet.

remove_accountRemove an account and its stored credentials

Remove an account and its stored credentials

No parameter schema in public metadata yet.

search_emailsSearch with Gmail syntax (`is:unread`, `from:`, `after:`, etc.)

Search with Gmail syntax (`is:unread`, `from:`, `after:`, etc.)

No parameter schema in public metadata yet.

get_emailFetch full email content by message ID

Fetch full email content by message ID

No parameter schema in public metadata yet.

send_emailSend an email (supports To, CC, BCC)

Send an email (supports To, CC, BCC)

No parameter schema in public metadata yet.

reply_to_emailReply in thread, preserving References headers

Reply in thread, preserving References headers

No parameter schema in public metadata yet.

create_draftSave an email as a draft

Save an email as a draft

No parameter schema in public metadata yet.

list_labelsList all Gmail labels for an account

List all Gmail labels for an account

No parameter schema in public metadata yet.

add_labelAdd one or more labels to a message

Add one or more labels to a message

No parameter schema in public metadata yet.

remove_labelRemove one or more labels from a message

Remove one or more labels from a message

No parameter schema in public metadata yet.

archive_emailRemove from Inbox

Remove from Inbox

No parameter schema in public metadata yet.

mark_as_readRemove the UNREAD label

Remove the UNREAD label

No parameter schema in public metadata yet.

mark_as_unreadAdd the UNREAD label

Add the UNREAD label

No parameter schema in public metadata yet.

Configuration

GOOGLE_CLIENT_ID

Google OAuth2 client ID from your Google Cloud project (alternative to ~/.gmail-mcp-oauth.json)

GOOGLE_CLIENT_SECRETsecret

Google OAuth2 client secret from your Google Cloud project (alternative to ~/.gmail-mcp-oauth.json)

Readme

multi-gmail-mcp

A Model Context Protocol (MCP) server that lets Claude Desktop manage multiple Gmail accounts simultaneously. Listed on the official Anthropic MCP registry and published on npm.

demo


Features

  • Connect unlimited Gmail accounts — personal, work, side projects
  • Search any inbox using full Gmail search syntax
  • Read complete emails with MIME parsing
  • Send, reply in thread, and create drafts
  • Organize with labels: add, remove, list, archive
  • Mark as read / unread
  • Tokens stored locally in ~/.gmail-mcp-tokens.db — never committed to git
  • Auto-refreshes OAuth tokens silently

Requirements

  • Node.js >= 22.5.0
  • A Google Cloud project with the Gmail API enabled
  • Claude Desktop

Installation

npm install -g multi-gmail-mcp

This registers two global commands: gmail-mcp (the MCP server) and gmail-mcp-cli (account manager).


Google Cloud Setup

You only need to do this once.


View the full README on GitHub

Details

Repository
github.com/gx-55/multi-gmail-mcp
Categories
Email & Messaging, Productivity & Notes
Package
multi-gmail-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Questions

Can Claude manage multiple Gmail accounts at once with this MCP server?

Yes, the multi-gmail-mcp server lets Claude Desktop manage several Gmail accounts at once, such as personal, work and side-project inboxes. It can search, read, send, reply to, draft and organize email across them. Accounts are added with the gmail-mcp-cli tool, which opens a browser for Google sign-in.

What can the multi-gmail-mcp server do with my email?

It provides 15 tools, including search_emails using Gmail syntax, get_email for full message content, send_email with To, CC and BCC, reply_to_email that keeps the thread, and create_draft. It also manages labels with add_label and remove_label, archives mail with archive_email, and marks messages read or unread. Tokens are stored locally in a SQLite file.

What do I need to set up multi-gmail-mcp?

You need Node.js 22.5.0 or newer, a Google Cloud project with the Gmail API enabled, and Claude Desktop. Google OAuth credentials can come from a ~/.gmail-mcp-oauth.json file or from the GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET environment variables. The server runs over stdio and opens no network port.

How does multi-gmail-mcp rank among email and messaging MCP servers?

On Claude Marketplaces, multi-gmail-mcp is in the Email & Messaging category and ranks in the top 50 there. Other top servers in the category include Agent-Native Dispatch, WhatsApp, MoeMail, Slack and Commonly. Its focus is Gmail specifically, across several accounts at once.

Similar to Multi Gmail Mcp

More Email & Messaging