gmail-attachments-mcp
Minimal MCP server for downloading Gmail attachments to disk. Read-only OAuth by default.
Documentation & Preview
{ "mcpServers": { "mcp-gmail-attachments-mcp-13ed7158ec7ff9a2e8a3": { "command": "uvx", "args": [ "--from", "gmail-attachments-mcp==0.1.0", "gmail-attachments-mcp", "serve" ], "env": { "GMAIL_MCP_CREDENTIALS": "${ENV_GMAIL_MCP_CREDENTIALS}", "GMAIL_MCP_TOKEN": "${ENV_GMAIL_MCP_TOKEN}", "GMAIL_MCP_DEFAULT_DEST_DIR": "${ENV_GMAIL_MCP_DEFAULT_DEST_DIR}", "GMAIL_MCP_SCOPES": "${ENV_GMAIL_MCP_SCOPES}" } } }, "setup": { "fields": [ { "id": "ENV_GMAIL_MCP_CREDENTIALS", "label": "GMAIL_MCP_CREDENTIALS", "description": "Path to the Google OAuth client secret JSON. Default: $XDG_CONFIG_HOME/gmail-attachments-mcp/credentials.json.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GMAIL_MCP_TOKEN", "label": "GMAIL_MCP_TOKEN", "description": "Path to the cached Gmail OAuth refresh token. Default: $XDG_CONFIG_HOME/gmail-attachments-mcp/token.json.", "required": false, "secret": true, "default": "" }, { "id": "ENV_GMAIL_MCP_DEFAULT_DEST_DIR", "label": "GMAIL_MCP_DEFAULT_DEST_DIR", "description": "Default directory where downloaded attachments are saved when the tool call does not specify dest_dir. Default: ~/Downloads.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GMAIL_MCP_SCOPES", "label": "GMAIL_MCP_SCOPES", "description": "Comma-separated Google OAuth scopes. Default: https://www.googleapis.com/auth/gmail.readonly.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Python 与 uv / uvx" ] }, "provenance": { "registryServer": "io.github.zayansalman/gmail-attachments-mcp", "registryVersion": "0.1.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.zayansalman%2Fgmail-attachments-mcp/versions/0.1.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "pypi", "identifier": "gmail-attachments-mcp", "version": "0.1.0", "wheelSha256": "340157aa2b6ef65914d6dbd6dcb29e67514a1730e5f1ab8740d582ddb5553b94", "registryNameMatched": "io.github.zayansalman/gmail-attachments-mcp", "checkedAt": "2026-11-04T17:41:21.082Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }