Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By chronicqazxcv0.5.0In 1 marketplace
Self-hosted Gmail MCP server (Node, OAuth): search and read threads, create drafts, mark read/unread, archive, star, label, report spam and trash, with a PII guard that masks cards, IDs, keys and codes. No send or permanent delete
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Self-hosted, self-written Gmail MCP server (TypeScript on Node, stdio, no runtime dependencies) using the official Gmail API. No third-party service; your token lives only in ~/.config/gmail-mcp/token.json (mode 0600).
| Tool | Description |
|---|---|
search_threads | Search threads with Gmail syntax (from:bob is:unread newer_than:7d). Max 50 results; snippets are cleaned and capped at 120 characters |
get_unread_count | Exact unread thread/message counts for a label (default INBOX) |
get_thread | Read every message in a thread |
get_message | Read a single message |
list_labels | List labels |
list_drafts | List drafts |
create_draft | Create a draft (optionally as a reply via thread_id). Never sends |
mark_read / mark_unread | Toggle the unread state |
archive / unarchive | Remove from / return to the inbox |
star / unstar | Toggle the star |
report_spam / not_spam | Move to Spam (and out of the inbox) / back to the inbox |
trash / untrash | Move to Trash (recoverable for 30 days) / restore. No permanent delete |
modify_labels | Add or remove labels by id (SPAM, TRASH, DRAFT, SENT are refused) |
create_label / delete_label | Manage labels (deleting a label keeps the messages) |
The mailbox-changing tools take explicit ids (thread ids by default, or message ids with target: "message"), at most 25 per call, and never a search query. trash, report_spam and delete_label are marked destructive so Claude Code asks before running them (unless you have allowlisted them: allowlist the safe ones individually rather than mcp__plugin_gmail-mcp_gmail__*).
Email content is masked before it reaches the model. Cards (Luhn-checked), US SSN, Taiwan national ID, IBAN, API keys and tokens, private keys, password values and one-time codes become placeholders like [REDACTED:CARD]. Ids and the from/to/cc/date headers are left intact, and a PII guard masked: CARDx1 line tells you when it fired. create_draft refuses to save a draft that contains any of these.
Set GMAIL_PII_MODE in the environment that launches Claude Code:
| Value | Effect |
|---|---|
mask (default) | The detectors above |
strict | Also masks email addresses and phone numbers in bodies and subjects |
off | Disabled |
It is best-effort pattern matching: it does not find names or free-text addresses, and it is not a compliance control.
The only scope is gmail.modify. There is deliberately no send tool and no permanent delete, and write tools are limited to a few explicit ids per call, which limits the damage a prompt-injected email can do. Email bodies are untrusted input.
Upgrading from 0.4.x or earlier: add the gmail.modify scope to the OAuth consent screen and sign in again (node dist/auth.js); until then write tools answer "Insufficient permissions".
Requires only node (the server is a committed, bundled dist/). Each user needs their own Google Cloud project:
gmail.googleapis.com).gmail.modify scope (Gmail API). Do not click "Publish app".~/.config/gmail-mcp/client_secret.json.cd plugins/gmail-mcp && node dist/auth.js
In the consent flow click Advanced > Go to app (unsafe) and tick all permission checkboxes. Back/Cancel gives access_denied..mcp.json.In Testing mode the refresh token expires every 7 days. When tools report "Not authenticated" or "Token expired", run the gmail-reauth skill (or node dist/auth.js).
If you previously registered a user-scope gmail server, remove it to avoid a duplicate: claude mcp remove gmail --scope user.
npm install, then npm run typecheck and npm run build (bundles to dist/, which is committed so the plugin works without npm install). Env: GMAIL_MCP_DIR overrides the config dir (default ~/.config/gmail-mcp).
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub chronicqazxc/wayne-marketplace --plugin gmail-mcpPlugins from other owners that cover similar ground