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
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • 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. Google Mail MCP
G
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Google Mail 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 RepositoryVisit Website

Gmail over MCP from your own account: search, read threads and messages, labels and drafts.

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.

One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON â–¾
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for google-mail-mcp, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Directory Badge Claim listing Alternatives💬 More in Communication

Documentation Overview

google-mail-mcp

CI Latest release Go Reference License: Apache 2.0

Gmail as MCP tools. Read your mail without letting it read your assistant.

A single Go binary that speaks MCP over stdio. It runs as a subprocess of your client, on your own machine, against your own Google account. There is no server to host and no service account: you create a Google OAuth client, log in once, and the refresh token stays in your OS keyring.

It works inside a mailbox. A calendar invitation's event, a linked Drive file and a Chat space belong to servers built on those APIs.

Why google-mail-mcp

Every message was written by somebody other than you, and some of it is written to steer an AI assistant. So mail comes back inside blocks marked with a per-call boundary token; text a reader of the mail would not have seen — hidden styles, zero-width characters, text colored like its background — is removed and counted; nothing a message links to or embeds is fetched; and a link whose text names a different site from its target is flagged.

The writes that would make a persuaded assistant dangerous are not there. Forwarding, filters that forward and delegation are not implemented. Sending is not registered unless you turn it on, and then only a draft can be sent. Removal is trash; permanent deletion is not registered unless you turn it on, and is the only thing that asks Google for full mail access.

Reads are bounded. A thread comes back newest first within a character budget, with quoted replies and signatures collapsed to a line saying how much was hidden, and every omission says how to continue. Non-ASCII subjects, names and filenames decode in any charset.

Install

bash
go install github.com/mmedum/google-mail-mcp/cmd/google-mail-mcp@latest

Or take an archive from the latest release — Linux, macOS and Windows, on amd64 and arm64 — and verify it before you run it:

bash
sha256sum -c checksums.txt --ignore-missing

# The checksum file is signed with a keyless Sigstore certificate tied to
# the release workflow's identity.
cosign verify-blob checksums.txt \
  --bundle checksums.txt.bundle \
  --certificate-identity-regexp 'https://github\.com/mmedum/google-mail-mcp/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

# And the archive itself carries build provenance.
gh attestation verify google-mail-mcp_*.tar.gz --repo mmedum/google-mail-mcp

Every archive ships an SBOM. Builds are reproducible: rebuilding a tag gives the same bytes.

Claude Desktop

Every release also carries a .mcpb bundle. Open it and Claude Desktop installs the server and asks for your OAuth client JSON. It covers macOS, Windows and Linux on both architectures. Its SHA-256 is in the same signed checksums.txt.

The bundle does not log you in. Install the binary as well, run google-mail-mcp login --client-secret <your client JSON> once, and the bundle uses the same credentials.

Set up Google

docs/gcp-setup.md has the whole of it: a Cloud project with the Gmail API enabled, a consent screen, the scopes for how you will run the server, and a Desktop app OAuth client. Then:

bash
google-mail-mcp login --client-secret ~/path/to/client_secret.json
google-mail-mcp doctor

Every Gmail scope that reads mail is one Google calls restricted. For your own use that costs nothing, but an External client in Testing gets refresh tokens that expire after seven days; docs/runbook.md says what that looks like.

Logging in over SSH

The callback goes to the remote host's loopback address while your browser is local, so forward the port. Run google-mail-mcp login --no-browser: it prints the authorization URL and the exact ssh -L line for the port it picked. Run that line in a second local terminal, then open the URL locally.

Connect a client

Claude Code:

Terminal
claude mcp add google-mail -- google-mail-mcp

Or, in a client config file:

config.json
{
  "mcpServers": {
    "google-mail": {
      "command": "google-mail-mcp"
    }
  }
}

Every setting is a GMAIL_* environment variable, listed in docs/configuration.md. The ones worth knowing now: GMAIL_READ_ONLY=true registers only the read tools and asks for read-only access; GMAIL_LOCAL_DIR is the one directory attachments may be saved to; GMAIL_PROFILE lets one machine hold several accounts.

Tools

ToolWhat it does
get_profileThe signed-in account, its totals and the current history id
search_threadsFind conversations with a Gmail search
search_messagesFind single messages with a Gmail search
get_threadRead a conversation, newest first, within a budget
get_messageRead one message, by id or by its Message-ID header
list_labelsEvery label, optionally with counts
list_draftsUnsent drafts
get_draftRead one draft
list_changesWhat changed since a history id, and when that cursor has expired
get_settingsForwarding, vacation reply, send-as addresses, IMAP and POP, read-only
list_filtersThe account's filters, with any that forward mail flagged
download_attachmentSave an attachment into GMAIL_LOCAL_DIR, never overwriting; only when that is set
create_draftSave a new draft or a reply, threaded by the server; nothing is sent
update_draftChange only the fields given, refusing a draft that changed since it was read
delete_draftDelete a draft for good, with confirm: true
modify_labelsAdd and remove labels on up to 100 messages or threads, reported per item
trashMove up to 100 messages or threads to the trash, kept 30 days
restoreTake messages or threads out of the trash
create_labelCreate a user label
update_labelRename a user label or change how it shows
send_draftSend a draft, naming every recipient who has not written in the thread; only with GMAIL_ENABLE_SEND=true
delete_permanentlyDelete up to 100 messages or threads for good, with confirm: true; only with GMAIL_ENABLE_DESTRUCTIVE=true
delete_labelDelete a user label, with confirm: true; only with GMAIL_ENABLE_DESTRUCTIVE=true
update_signatureSet the signature of one of the account's addresses; only with GMAIL_ENABLE_SETTINGS=true
create_filterCreate a filter for mail that arrives from now on; it cannot forward; only with GMAIL_ENABLE_SETTINGS=true
delete_filterDelete a filter, with confirm: true; only with GMAIL_ENABLE_SETTINGS=true
set_vacationTurn the vacation reply on for contacts or the domain, or off; only with GMAIL_ENABLE_SETTINGS=true and GMAIL_ENABLE_SEND=true

Searches take Gmail's own search language in q, plus after and before as real instants — Gmail reads a date written inside q as midnight Pacific time. Every result states the quota it spent. Every write takes dry_run, names what it touches by id, and says what it changed, read from Gmail's answer. GMAIL_READ_ONLY=true leaves the writes out. The last seven tools are not registered at all unless their setting is on.

For clients that attach rather than call, gmail://threads/{id}, gmail://messages/{id} and gmail://labels carry the same text as get_thread, get_message and list_labels.

Safety

  • Mail is data. It arrives marked, with what was hidden removed and counted, and no tool description tells a model to act on it.
  • Nothing reaches another person by default. Drafts wait in Gmail to be sent, and by default no tool changes a setting. Forwarding is shown, never set.
  • Settings are opt-in. With GMAIL_ENABLE_SETTINGS=true the server can set a signature and create or delete filters. A filter cannot forward, and one that trashes mail needs confirm: true. The vacation reply answers other people, so it also needs GMAIL_ENABLE_SEND=true, it only ever answers contacts or the account's domain, and turning it on needs confirm: true.
  • Sending is opt-in and goes through a draft. With GMAIL_ENABLE_SEND=true, send_draft sends a draft exactly as it is stored. Every recipient not already in the thread must be written out in confirm_recipients, and a send Gmail does not confirm is never repeated.
  • Removal is trash. Gmail keeps trashed mail for 30 days, and restore brings it back. By default the only permanent removal is delete_draft, which needs confirm: true. delete_permanently and delete_label exist only with GMAIL_ENABLE_DESTRUCTIVE=true, which also asks for the one scope that can delete; each call needs confirm: true.
  • Files go to one directory. download_attachment writes only into GMAIL_LOCAL_DIR, under a name made safe, and never over an existing file.
  • Logs never carry mail. No address, subject, body, label name or query; ids are cut to six characters. A test drives every tool with marker values and fails if one reaches a log, which is what makes a debug log safe to paste.
  • Everything above is enforced in the server. Tool annotations are set, but they are hints a client may ignore.

docs/security.md has the whole of it.

Getting help

Read the full README →View source on GitHub →

Related MCP Servers

View all in Communication View all alternatives
  • F
    Faithk7 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.

    💬 Communication1 views
    Compare vs Gmail MCP →
  • M
    Mail Index

    Local-first, read-only MCP server for recall over your Gmail: search, contacts, threads, digests.

    💬 Communication1 views
    Compare vs Mail Index →
  • S
    Sebastianall1977 Gmail MCP

    Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…

    💬 Communication1 views
    Compare vs Sebastianall1977 Gmail MCP →

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Google Mail MCP

We don't have a confirmed install command for google-mail-mcp yet, so we don't publish a generated one — a guessed package name would point at the wrong package or none at all. Follow the project's own README or setup instructions (https://github.com/mmedum/google-mail-mcp) for the current steps.

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 PreviewGoogle Mail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/google-mail-mcp?style=directory)](https://allmcps.com/mcp/google-mail-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/google-mail-mcp"><img src="https://allmcps.com/api/badge/google-mail-mcp?style=directory" alt="Google Mail MCP on AllMCPs" /></a>

Technical Specs & Signals

Category💬Communication
More technical detailsExpand â–¾
Last updatedSep 28, 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.
27Quality signal: Emerging · 27/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 ownership8/20
Documentation & tools11/30
Adoption & activity1/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.

★ Featured
M

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

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 →Best Google Workspace MCP servers →Best Gmail MCP servers →Alternatives to Google Mail MCP →Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients