Skip to content
mcp/skillhub

Gmail Attachments MCP Server

by zayansalmanio.github.zayansalman/gmail-attachments-mcpv0.1.0

Minimal MCP server for downloading Gmail attachments to disk. Read-only OAuth by default.

3Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Slowing4mo ago

Install Gmail Attachments MCP server

Install in Claude Code

claude mcp add gmail-attachments -e GMAIL_MCP_TOKEN='<gmail-mcp-token>' -- uvx gmail-attachments-mcp serve

Configuration

VariableRequiredSecretDescription
GMAIL_MCP_CREDENTIALS——Path to the Google OAuth client secret JSON. Default: $XDG_CONFIG_HOME/gmail-attachments-mcp/credentials.json.
GMAIL_MCP_TOKEN—yesPath to the cached Gmail OAuth refresh token. Default: $XDG_CONFIG_HOME/gmail-attachments-mcp/token.json.
GMAIL_MCP_DEFAULT_DEST_DIR——Default directory where downloaded attachments are saved when the tool call does not specify dest_dir. Default: ~/Downloads.
GMAIL_MCP_SCOPES——Comma-separated Google OAuth scopes. Default: https://www.googleapis.com/auth/gmail.readonly.

Freshness

Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-06-09 · 4mo ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-06-22 · 4mo ago · official registry · v0.1.0

FAQ

›How do I install the Gmail Attachments MCP server in Claude Code?

Run: claude mcp add gmail-attachments -e GMAIL_MCP_TOKEN='<gmail-mcp-token>' -- uvx gmail-attachments-mcp serve. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Gmail Attachments require an API key?

Yes. It expects GMAIL_MCP_TOKEN, of which 1 is a secret.

›Can I use Gmail Attachments as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Gmail Attachments in the official MCP registry?

Yes, as io.github.zayansalman/gmail-attachments-mcp.

Alternatives to Gmail Attachments

Other email MCP servers.

View all