pypi · gmail-attachments-mcp
$uvx gmail-attachments-mcp==0.1.0 GMAIL_MCP_CREDENTIALS — Path to the Google OAuth client secret JSON. Default: $XDG_CONFIG_HOME/gmail-attachments-mcp/credentials.json.
GMAIL_MCP_TOKEN · secret — Path 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.