# mcp-google-gmail

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

- **Type:** MCP server
- **Trust:** 60/100 (B), scored on the package rubric
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 1.0.0
- **Author:** io.github.A1-x-Tech
- **License:** MIT
- **npm:** mcp-google-gmail
- **Source:** https://github.com/A1-x-Tech/mcp-google-gmail
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

60/100 (B), scored on the package rubric
- Publisher verified: no
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 14 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-09-21T10:39:28.959Z
- **Version scanned:** 0.2.0
- **CVEs:** none found by OSV at scan time

## Tools

18 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `create_draft`
- `list_drafts` — Lists the mailbox's drafts: draft id plus the underlying message's id and threadId (no subjects — read one with get_draft). query filters with Gmail query synta
- `get_draft` — Fetches one draft with its message decoded like get_message: headers (to, cc, subject, ...), text body, HTML only on request, attachment metadata. Use it to sho
- `update_draft` — REPLACES a draft's entire message — the Gmail API has no partial draft edit, so omitted fields are dropped, not kept. Read the current content with get_draft fi
- `send_draft`
- `delete_draft` — PERMANENTLY deletes a draft — drafts skip the trash, so there is no undo and no manage_trash recovery. Confirm with get_draft before deleting anything the user 
- `list_labels` — Without label_id: lists every label in the mailbox — system labels (INBOX, SENT, DRAFT, SPAM, TRASH, UNREAD, STARRED, IMPORTANT, CATEGORY_*) and user labels wit
- `manage_labels`
- `list_messages`
- `get_message`
- `send_message`
- `modify_message` — Changes a message's state via Gmail labels: read=true/false marks read/unread, starred=true/false stars/unstars, archived=true removes it from the inbox (archiv
- `manage_trash`
- `get_profile` — Returns the authenticated mailbox's profile: emailAddress (the user's own address — useful for send-to-self checks and for recognizing the user's messages in th
- `raw_request`
- `list_threads` — Searches conversations (threads) with the same Gmail query syntax as list_messages and returns id, snippet (of the latest message) and historyId per thread. Use
- `get_thread`
- `modify_thread` — Applies the same normalized state changes as modify_message — read/unread, starred, archived, add_label_ids/remove_label_ids — to EVERY message in a conversatio

## Install

**Verdict: review** — Installable, but 1 thing to check first: No publisher has proved control of this listing; it is indexed, not vouched for.
**Cautions** (coverage gaps and advisories — never blocking)
- No publisher has proved control of this listing; it is indexed, not vouched for.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"mcp-google-gmail\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-google-gmail\"\n      ],\n      \"env\": {\n        \"GOOGLE_GMAIL_CLIENT_SECRET\": \"<YOUR_GOOGLE_GMAIL_CLIENT_SECRET>\",\n        \"GOOGLE_GMAIL_REFRESH_TOKEN\": \"<YOUR_GOOGLE_GMAIL_REFRESH_TOKEN>\",\n        \"GOOGLE_GMAIL_ACCESS_TOKEN\": \"<YOUR_GOOGLE_GMAIL_ACCESS_TOKEN>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `GOOGLE_GMAIL_CLIENT_SECRET` — Google Gmail Client Secret (optional)
- `GOOGLE_GMAIL_REFRESH_TOKEN` — Google Gmail Refresh Token (optional)
- `GOOGLE_GMAIL_ACCESS_TOKEN` — Google Gmail Access Token (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 3 credentials (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Critical blast radius — deletes data; holds an oauth grant.
- Floor 60, ceiling 60 (tier: critical)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/mcp-google-gmail
- Install plan: https://forgeregistry.com/api/v1/packages/mcp-google-gmail/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/mcp-google-gmail
- HTML page: https://forgeregistry.com/registry/mcp-google-gmail
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
