Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Descripción del creador (original en inglés)
Minimal MCP server for downloading Gmail attachments to disk. Read-only OAuth by default.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
GMAIL_MCP_CREDENTIALS, GMAIL_MCP_TOKEN, GMAIL_MCP_DEFAULT_DEST_DIR, GMAIL_MCP_SCOPESLos valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"gmail-attachments": {
"command": "uvx",
"args": [
"gmail-attachments-mcp",
"serve"
],
"env": {
"GMAIL_MCP_CREDENTIALS": "your-value",
"GMAIL_MCP_TOKEN": "your-value",
"GMAIL_MCP_DEFAULT_DEST_DIR": "your-value",
"GMAIL_MCP_SCOPES": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add gmail-attachments --env GMAIL_MCP_CREDENTIALS=your-value --env GMAIL_MCP_TOKEN=your-value --env GMAIL_MCP_DEFAULT_DEST_DIR=your-value --env GMAIL_MCP_SCOPES=your-value -- uvx gmail-attachments-mcp serveCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"gmail-attachments": {
"command": "uvx",
"args": [
"gmail-attachments-mcp",
"serve"
],
"env": {
"GMAIL_MCP_CREDENTIALS": "your-value",
"GMAIL_MCP_TOKEN": "your-value",
"GMAIL_MCP_DEFAULT_DEST_DIR": "your-value",
"GMAIL_MCP_SCOPES": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"gmail-attachments": {
"type": "stdio",
"command": "uvx",
"args": [
"gmail-attachments-mcp",
"serve"
],
"env": {
"GMAIL_MCP_CREDENTIALS": "your-value",
"GMAIL_MCP_TOKEN": "your-value",
"GMAIL_MCP_DEFAULT_DEST_DIR": "your-value",
"GMAIL_MCP_SCOPES": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
GMAIL_MCP_CREDENTIALS envGMAIL_MCP_DEFAULT_DEST_DIR envGMAIL_MCP_SCOPES envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 8 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub zayansalman, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
Debes completar: GMAIL_MCP_TOKEN
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (0.1.0) llegó al registro hace 5 meses.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
En la misma categoría: Vexa, emailmd, MCP WhatsApp Cloud
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
A focused Model Context Protocol server (and standalone CLI) for downloading Gmail attachments to disk. Three tools, read-only OAuth scope, no extra surface area.
Built because the hosted claude.ai Gmail connector in Claude Desktop returns attachment IDs and metadata only — not the actual bytes. This server fills that gap for any MCP client (Claude Code, Claude Desktop, Cursor, Cline, etc.), and also works as a plain CLI for cron jobs and shell scripts.
If you used @GongRzhe/Gmail-MCP-Server (1.1k★, archived 2026-03-03) for its attachment-download workflow, this is a minimal successor focused on that single capability.
gmail_search, gmail_download_thread_attachments, gmail_download_latest_matching. That's the whole API.gmail.readonly) — can't send, delete, or modify mail.GMAIL_MCP_CREDENTIALS, GMAIL_MCP_TOKEN, GMAIL_MCP_DEFAULT_DEST_DIR.pip install gmail-attachments-mcp
uv tool install gmail-attachments-mcp
You need a Google Cloud OAuth client. The server runs entirely on your machine; nothing leaves it.
gmail-attachments-mcp setup --import-credentials ~/Downloads/client_secret_*.json
A browser window opens for OAuth consent. After consent, a refresh token is cached at ~/.config/gmail-attachments-mcp/token.json (or $XDG_CONFIG_HOME/gmail-attachments-mcp/).
Verify:
gmail-attachments-mcp status
gmail-attachments-mcp search "has:attachment newer_than:7d" --max 3
See docs/setup-google-oauth.md for screenshots and troubleshooting.
claude mcp add --scope user gmail-attachments gmail-attachments-mcp -- serve
Then in any Claude Code session:
Use the gmail-attachments MCP to download the latest CV from
careers@example.comto~/CVs.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": { "gmail-attachments": { "command": "gmail-attachments-mcp", "args": ["serve"] } } }
Restart Claude Desktop. See docs/claude-desktop.md for details.
Any MCP client that supports stdio servers. Point it at the same gmail-attachments-mcp serve command. See docs/other-clients.md.
# Search
gmail-attachments-mcp search "from:noreply@stripe.com has:attachment newer_than:30d"
gmail-attachments-mcp thread 19db831fab15b507 --dest ~/Invoices
gmail-attachments-mcp latest "from:hr@example.com has:attachment" --dest ~/CVs --ext .pdf,.docx
Cron example — pull CV attachments hourly:
0 * * * * /usr/local/bin/gmail-attachments-mcp latest "to:careers@example.com has:attachment newer_than:2d" --dest ~/CVs --ext .pdf,.docx >> ~/.cache/gmail-attachments-mcp.log 2>&1
gmail_search(query, max_results=10)Returns thread summaries with attachment filenames. Use Gmail's standard query syntax.
[
{ "thread_id": "19db831fab15b507", "subject": "Folon Q3 2026 Quarterly Product Recap", "sender": "Manon Muhtasin Rahman ", "date": "Thu, 23 Apr 2026 08:35:00 +0600", "snippet": "Hi everyone, Attached is...", "message_count": 1, "attachment_count": 1, "attachment_filenames": ["Folon Quarterly Report Q3 2026.pdf"] } ]
gmail_download_thread_attachments(thread_id, dest_dir?, extensions?)Downloads every attachment in a thread to disk. Returns path, size_bytes, mime_type, original_filename per file.
gmail_download_latest_matching(query, dest_dir?, extensions?)Convenience: search + download from the single most recent match, in one call.
All paths can be overridden via environment variables.
| Variable | Default | What |
|---|---|---|
GMAIL_MCP_CREDENTIALS | ~/.config/gmail-attachments-mcp/credentials.json | OAuth client secret JSON |
GMAIL_MCP_TOKEN | ~/.config/gmail-attachments-mcp/token.json | Cached refresh token |
GMAIL_MCP_DEFAULT_DEST_DIR | ~/Downloads | Default download destination |
GMAIL_MCP_SCOPES | https://www.googleapis.com/auth/gmail.readonly | OAuth scopes (comma-separated) |
XDG_CONFIG_HOME | ~/.config | Standard XDG override |
~/.config/gmail-attachments-mcp/token.json with mode 0600. Anyone with shell access to your account can read your Gmail. Treat the file like a password.gmail.readonly. Cannot send, delete, or modify mail. If you change $GMAIL_MCP_SCOPES, you're on the hook for the consequences..gitignore blocks the common filenames.`No valid Gmail token` when invoked from Claude Desktop / cron The first OAuth flow requires a browser. Run gmail-attachments-mcp setup once in a terminal where a browser can open. Subsequent runs use the cached refresh token.
`Token has been expired or revoked` Refresh tokens stay valid as long as you use them at least every 6 months and don't revoke them at myaccount.google.com/permissions. Re-auth:
gmail-attachments-mcp setup --reauth
`Access blocked: This app's request is invalid` On personal Gmail, your OAuth consent screen needs your address listed under Test users. Workspace users should select Internal audience to avoid this.
`HttpError 403: Request had insufficient authentication scopes` You changed $GMAIL_MCP_SCOPES without re-authorizing. Run gmail-attachments-mcp setup --reauth.
| Server | Scope | Tools | Maintenance |
|---|---|---|---|
Anthropic hosted claude.ai Gmail | Read/write, hosted | many | Active, but no attachment bytes |
| GongRzhe/Gmail-MCP-Server | Full mailbox | 19 | Archived 2026-03-03 |
| shinzo-labs/gmail-mcp | Full mailbox | ~30 | Active |
| gmail-attachments-mcp (this) | read-only | 3 | Active |
Pick this one if you want a tiny, focused, read-only tool. Pick a fuller one if you also need to send mail, manage labels, drafts, threads, etc.
There are no API keys and no shipped secrets. The server authenticates to *your* Google account with an OAuth client *you* create, and caches a refresh token locally. The author has zero access to your data.
gmail.readonly) can't be redistributed in a shared app, and an unverified shared app is capped at 100 users. "Bring your own OAuth client" is the standard pattern for personal-data MCP servers.~/.config/gmail-attachments-mcp/token.json (mode 0600). Delete it to revoke locally; revoke fully at myaccount.google.com/permissions.Part of a small family of focused, local MCP servers for Google Workspace data the hosted connectors don't expose:
They can share one OAuth login or stay isolated — see each repo's setup.
MIT. See LICENSE.
Issues and PRs welcome. Run pytest and ruff check src tests before submitting.
git clone https://github.com/zayansalman/gmail-attachments-mcp
cd gmail-attachments-mcp pip install -e ".[dev]" pytest