Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ฌ Communication
  3. Gmail MCP
Gmail MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 10:47:32 PM

Gmail MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe havenโ€™t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time โ€” check back soon.
View Repository8 GitHub StarsTotal stargazers on GitHub for the source repository (8 stars).Visit Website

Multi-account Gmail on a Cloudflare Worker you deploy yourself: read, send, reply, labels, threads

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Remote HTTP
Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gmail-mcp-2": {
      "url": "https://img.shields.io/badge/license-MIT-blue)](./LICENSE"
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿ’ฌ More in Communication

Documentation Overview

gmail-mcp

Gmail for your AI assistant โ€” several accounts at once, on a server you own.

MIT Cloudflare Workers MCP OAuth 2.1 27 tools tests

ๆ—ฅๆœฌ่ชž็‰ˆ ยท ็ฎ€ไฝ“ไธญๆ–‡

An assistant searches a work and a personal mailbox, then replies to a thread with an attachment

gmail-mcp connects Gmail to Claude and any other MCP client. It can search and read mail, send and reply-all with quoted history, forward, handle attachments and inline images, and manage drafts, labels, and threads โ€” across several Google accounts at the same time.

It runs as a remote server on your own Cloudflare Worker, so the same connection answers from Claude Code on a laptop, claude.ai in a browser, and Claude on a phone. Each connection signs in to one Google account, and the Google refresh token stays in your Cloudflare account.

Two things push people here. The Gmail connectors built into Claude and Google read mail and write drafts, but cannot send, and hold one Google account per assistant account. Servers that can send are usually local processes โ€” fine at a desk, invisible from a phone.


How it compares

gmail-mcp compared with built-in connectors, google_workspace_mcp, and Gmail-MCP-Server

A longer comparison โ€” six projects, twelve rows
gmail-mcpClaude ยท Google built-intaylorwilsdon/
google_workspace_mcp
ArtyMcLabin/
Gmail-MCP-Server
shinzo-labs/
gmail-mcp
aaronsb/
google-workspace-mcp
Where it runsCloudflare Workersvendor-hostedyour server or locallocallocallocal
Reachable from a phoneโœ…โœ…โœ…โŒโŒโŒ
Several mailboxes at onceโœ… bound per connectionโŒโœ… chosen per callโŒ aliases onlyโŒโœ… chosen per call
Send mailโœ…โŒโœ…โœ…โœ…โœ…
Attachments ยท inline cid: imagesโœ…undocumentedโœ…โœ…โŒโœ…
Reply-all with quoted historyโœ…โŒdrafts onlyno quotingโŒโœ…
Forwardโœ…โŒโœ…โŒโŒโœ…
Honors each part's charsetโœ…โ€”โŒ UTF-8 assumedโŒ UTF-8 assumedโŒโŒ
Rejects CRLF header injectionโœ…โ€”โœ… frameworkโœ… stripsโŒ noneโœ…
Mailbox settings (filters, vacation)โŒ out of scopeโŒfiltersfiltersโœ…โŒ
Tool count2411โ€“1614 (Gmail)306411
Who holds your refresh tokenyouvendoryouyouyouyou

google_workspace_mcp is the most complete project here. It covers all of Workspace rather than Gmail alone, and it appends your Gmail signature and pulls attachments straight from a URL, neither of which gmail-mcp does. shinzo-labs/gmail-mcp reaches vacation responders, delegates, and S/MIME through its 64 tools; those live under gmail.settings.*, a scope gmail-mcp never requests, so they stay beyond its reach whatever happens to a grant.

Two design differences decide most of the rest. Routing accounts by a call argument lets one grant touch every connected mailbox, while binding the mailbox to the connection means a wrong argument reaches nothing. And on reading, the local servers decode every part as UTF-8: ISO-2022-JP and Shift_JIS mail arrives garbled, and long messages that Gmail stores as attachment blobs come back with an empty body.


Deploy it

About ten minutes. You need a Cloudflare account, bun, and a Google account. A domain on the Cloudflare account is optional โ€” without one the Worker answers on workers.dev.

1 ยท Create a Google OAuth client

sh
PROJECT="gmail-mcp-$(openssl rand -hex 3)"
gcloud auth login
gcloud projects create "$PROJECT" --name="gmail-mcp"
gcloud config set project "$PROJECT"
gcloud services enable gmail.googleapis.com

Google exposes no API for the next two steps, so they happen in the Cloud console:

  • OAuth consent screen โ†’ External, then under Audience press Publish app. Left in Testing, Google expires every refresh token after 7 days and each connection dies with its token. Published, the app shows an unverified-app warning at sign-in and serves up to 100 accounts.
  • Credentials โ†’ Create credentials โ†’ OAuth client ID โ†’ Web application, with https://<your-host>/callback as an authorized redirect URI. Keep the client ID and secret.

<your-host> is the domain you point at the Worker, or the workers.dev hostname it gets otherwise. Deploying first and coming back to fill this in works โ€” the guide the Worker serves at / shows the exact value.

2 ยท Deploy the Worker

Deploy to Cloudflare

The button copies the repository into your GitHub account, creates the KV namespace and the Durable Object, and asks for the four secrets. It deploys to workers.dev; a custom domain is attached afterwards under Settings โ†’ Domains & Routes.

From a terminal instead:

sh
git clone https://github.com/mkpoli/gmail-mcp && cd gmail-mcp
bun install
bun run setup

bun run setup asks which domain to answer on, creates or reuses the OAUTH_KV namespace, takes the client ID and secret, generates a cookie key, and deploys. Those first two answers land in wrangler.local.jsonc, which git ignores โ€” wrangler.jsonc names no account's namespace and no one's domain, so a clone deploys anywhere. Re-running setup to rotate a single secret is safe.

3 ยท Connect a client

Leave the client ID and secret fields empty โ€” MCP clients register themselves.

Terminal
claude mcp add --transport http gmail-personal https://<your-host>/mcp
claude mcp add --transport http gmail-work     https://<your-host>/mcp/work

Run /mcp in Claude Code to sign each connection in to its Google account. In claude.ai it is Settings โ†’ Connectors โ†’ Add custom connector with the same URL. Any single-segment label works after /mcp/, which is how one deployment serves several mailboxes to clients that reject two servers sharing a URL.

Your deployment serves this guide at https://<your-host>/.


What it can do

๐Ÿ“– Readโœ๏ธ Write๐Ÿท Organize

whoami
search_messages
get_message
get_thread
get_attachment

send_message
reply_all
forward_message
create_draft
update_draft
send_draft
delete_draft
list_drafts
stage_attachment_begin
stage_attachment_append
stage_attachment_finish

list_labels
create_label
update_label
delete_label
modify_labels
modify_thread_labels
batch_modify_messages
trash_message ยท untrash_message
trash_thread ยท untrash_thread

Messages leave the way a mail client sends them: plain text with an HTML alternative, file attachments, and inline images referenced by cid:, nested as multipart/mixed โ€บ multipart/related โ€บ multipart/alternative. Subjects and display names use RFC 2047, filenames use RFC 2231, so Japanese, Chinese, and emoji survive the trip.

reply_all reads the original's Reply-To, From, To, and Cc, drops your own address and any address you send mail as, answers from the one the sender wrote to, carries the References chain, and quotes the original in whichever parts you send. forward_message reproduces the forwarded envelope and can re-attach the original's files.

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Communication View all alternatives
  • Faithk7 Gmail MCP logoFaithk7 Gmail MCP

    Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organizโ€ฆ

    ๐Ÿ’ฌ Communication2 views
    Compare vs Faithk7 Gmail MCP โ†’
  • G
    Gmail MCP

    MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.

    ๐Ÿ’ฌ Communication0 views
    Compare vs Gmail MCP โ†’
  • DragApp MCP Server logoDragApp MCP Server

    Manage your Gmail shared inbox from Claude, Cursor, or ChatGPT โ€” read, reply, search, organize.

    ๐Ÿ’ฌ Communication0 views
    Compare vs DragApp MCP Server โ†’
  • Imap MCP Server logoImap MCP Server

    IMAP/SMTP MCP server to search, read, organize, send, reply & forward email for AI assistants

    ๐Ÿ’ฌ Communication0 views
    Compare vs Imap MCP Server โ†’

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Gmail MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "gmail-mcp": { "command": "npx", "args": ["-y", "gmail-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGmail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gmail-mcp-2?style=directory)](https://allmcps.com/mcp/gmail-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/gmail-mcp-2"><img src="https://allmcps.com/api/badge/gmail-mcp-2?style=directory" alt="Gmail MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ฌCommunication
More technical detailsExpand โ–พ
TransportSSE (Remote)
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars8
GitHub Star CountTotal stargazers on GitHub representing community popularity (8 stars).
39Quality signal: Fair ยท 39/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity3/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ฌ Communication โ†’Best MCP servers for Slack & Communication โ†’Alternatives to Gmail MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code