Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
A

alexneamtu/gmail-mcp

Self-hosted, owner-only Gmail MCP connector for multiple accounts over Streamable HTTP and OAuth.

Before you install: no copy-paste command · license MIT · link reachable

First step: nothing runnable here yet - start from the repository: https://github.com/alexneamtu/gmail-mcp

SECURITY.md ✓
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site

We have neither an install command nor a public remote endpoint from this repository, so we do not print a config. A made-up one is worse than none. How each client wires MCP up →

Star count
4 ★ · alexneamtu/gmail-mcp · read from the GitHub search API · (checked 2026-11-13 20:00:50)
Source
collected from the punkpeye/awesome-mcp-servers list · type: MCP server
Harvest history
first seen 2026-10-23 · last seen 2026-11-14 · seen 26× · listed by 23 sources
Score
score 2,300 · 4 ★ · 23 sources · mcp
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository alexneamtu/gmail-mcp;first catalogued 2026-10-23;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# Gmail MCP

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Search, read, and draft across personal and work Gmail accounts through one
self-hosted MCP endpoint. Choose which accounts to connect and whether to enable
sending and label changes. Only your configured Google identity can authorize
access.
Get started · Connect Claude · Connect Codex · Operations · CI
> [!NOTE]
> Early release for technically experienced self-hosters. Requires Node 24,
> Linux with systemd, an HTTPS hostname, and your own Google OAuth project.
> Each deployment supports one owner with multiple Gmail accounts.
## What you can do
| Capability | Tools | Access mode |
| Check connected aliases and local enrollment | listaccounts | Both |
| Search with Gmail queries and read messages | searchmessages, getmessage | Both |
| Read whole threads | getthread | Both |
| List and download attachments (up to 5 MB) | getmessage, getattachment | Both |
| Look up existing labels | listlabels | Both |
| Create plain-text drafts in the selected mailbox | createdraft | Both |
| Send an existing draft | senddraft | Full |
| Apply or remove existing labels | modifymessagelabels | Full |
Every tool takes an explicit account alias, such as personal or work.
Aliases refer to separately enrolled mailboxes. Forwarded addresses are read
through their destination mailbox; forwarding alone does not enable sending
from those addresses.
After connecting, try:
> Search work for unread messages from the past week and summarize the ones
> that need a reply.
> In personal, draft an email to friend@example.com suggesting lunch on Friday.
> Save it as a draft. Do not send it.
> [!IMPORTANT]
> Drafts mode omits the sending and label-modification tools. Google's
> gmail.compose scope still includes sending permission at the Google level.
> In full mode, the client must obtain your approval to send a specific draft;
> the server does not provide a separate human-approval screen for each send.
## How it works
mermaid
flowchart LR
client["Claude or Codex"] -->|HTTPS| tunnel["Cloudflare Tunnel"]
tunnel -->|Loopback HTTP| server["Gmail MCP · /mcp Owner-only OAuth + PKCE"]
server -->|"account: personal"| personal["Personal Gmail"]
server -->|"account: work"| work["Work Gmail"]
The server uses Streamable HTTP. Google authorization enrolls each mailbox;
a separate OAuth consent flow lets Claude or Codex use those enrolled accounts.
Credentials and authorization state live in encrypted SQLite storage on your
server. The service runs as a dedicated non-root user under systemd.
Email content is untrusted input. Message bodies are capped at 60,000 characters
(200,000 per thread) with explicit truncation indicators. Attachments are
capped at 5 MB; images return as image content, other files as embedded resources. Plain text is preferred; HTML-only messages
return labelled HTML text. See the security policy for the trust
boundaries, logging rules, and backup limitations.
## Setup
### Schema inspection for directories
Glama and other stdio inspectors can inspect the tool catalog without private
configuration or Google credentials:
sh
npm ci --ignore-scripts
npm run build
node dist/inspection-main.js
This entrypoint exposes the same nine tool definitions as full access mode. The
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/alexneamtu-gmail-mcp/)
Source
awesome · https://github.com/alexneamtu/gmail-mcp
Browse by field
MCP servers
Traction
4 ★
Listed by
23 independent sources
added
today
Security policy
the repository has SECURITY.md at its root (we checked that the file exists, not what it says)

More like this

All 6,229 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index