Proton Mail (unofficial)
Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP
Documentation & Preview
{ "mcpServers": { "mcp-proton-mail-mcp-d1b65164804713aa1ab1": { "command": "npx", "args": [ "-y", "--package", "proton-mail-mcp@2.0.1", "proton-mail-mcp" ], "env": { "PROTONMAIL_USERNAME": "${ENV_PROTONMAIL_USERNAME}", "PROTONMAIL_PASSWORD": "${ENV_PROTONMAIL_PASSWORD}", "PROTONMAIL_PASSWORD_FILE": "${ENV_PROTONMAIL_PASSWORD_FILE}", "PROTONMAIL_PASSWORD_COMMAND": "${ENV_PROTONMAIL_PASSWORD_COMMAND}", "PROTONMAIL_HOST": "${ENV_PROTONMAIL_HOST}", "PROTONMAIL_PORT": "${ENV_PROTONMAIL_PORT}", "PROTONMAIL_SECURE": "${ENV_PROTONMAIL_SECURE}", "IMAP_HOST": "${ENV_IMAP_HOST}", "IMAP_PORT": "${ENV_IMAP_PORT}", "IMAP_SECURE": "${ENV_IMAP_SECURE}", "IMAP_USERNAME": "${ENV_IMAP_USERNAME}", "IMAP_PASSWORD": "${ENV_IMAP_PASSWORD}", "READONLY": "${ENV_READONLY}", "RESTRICT_OUTBOUND_TO_SELF": "${ENV_RESTRICT_OUTBOUND_TO_SELF}", "ALLOW_FILE_DOWNLOAD_DIR": "${ENV_ALLOW_FILE_DOWNLOAD_DIR}", "ALLOW_FILE_ATTACH_DIR": "${ENV_ALLOW_FILE_ATTACH_DIR}", "ALLOW_EMPTY_FOLDER": "${ENV_ALLOW_EMPTY_FOLDER}", "DEBUG": "${ENV_DEBUG}" } } }, "setup": { "fields": [ { "id": "ENV_PROTONMAIL_USERNAME", "label": "PROTONMAIL_USERNAME", "description": "Your Proton Mail email address", "required": true, "secret": false, "default": "" }, { "id": "ENV_PROTONMAIL_PASSWORD", "label": "PROTONMAIL_PASSWORD", "description": "The Proton Mail Bridge password (not your login password); with smtp.protonmail.ch, an SMTP token. Set exactly one of PROTONMAIL_PASSWORD, PROTONMAIL_PASSWORD_FILE or PROTONMAIL_PASSWORD_COMMAND", "required": false, "secret": true, "default": "" }, { "id": "ENV_PROTONMAIL_PASSWORD_FILE", "label": "PROTONMAIL_PASSWORD_FILE", "description": "Alternative to PROTONMAIL_PASSWORD: path to a file containing the password", "required": false, "secret": false, "default": "" }, { "id": "ENV_PROTONMAIL_PASSWORD_COMMAND", "label": "PROTONMAIL_PASSWORD_COMMAND", "description": "Alternative to PROTONMAIL_PASSWORD: shell command that prints the password, e.g. a macOS Keychain lookup", "required": false, "secret": false, "default": "" }, { "id": "ENV_PROTONMAIL_HOST", "label": "PROTONMAIL_HOST", "description": "SMTP host. Defaults to Proton Mail Bridge; use smtp.protonmail.ch for Proton's SMTP submission service (the default before 2.0.0)", "required": false, "secret": false, "default": "127.0.0.1" }, { "id": "ENV_PROTONMAIL_PORT", "label": "PROTONMAIL_PORT", "description": "SMTP port. When unset: 1025 (Bridge) for a host on this machine, 587 for any other host such as smtp.protonmail.ch", "required": false, "secret": false, "default": "" }, { "id": "ENV_PROTONMAIL_SECURE", "label": "PROTONMAIL_SECURE", "description": "false: STARTTLS (Bridge's default). true: TLS from the first byte (Bridge's SSL mode, or port 465)", "required": false, "secret": false, "default": "false" }, { "id": "ENV_IMAP_HOST", "label": "IMAP_HOST", "description": "Proton Mail Bridge IMAP host (required for read/search tools)", "required": false, "secret": false, "default": "127.0.0.1" }, { "id": "ENV_IMAP_PORT", "label": "IMAP_PORT", "description": "Proton Mail Bridge IMAP port", "required": false, "secret": false, "default": "1143" }, { "id": "ENV_IMAP_SECURE", "label": "IMAP_SECURE", "description": "Use TLS for IMAP", "required": false, "secret": false, "default": "false" }, { "id": "ENV_IMAP_USERNAME", "label": "IMAP_USERNAME", "description": "Proton Mail Bridge username (falls back to PROTONMAIL_USERNAME)", "required": false, "secret": false, "default": "" }, { "id": "ENV_IMAP_PASSWORD", "label": "IMAP_PASSWORD", "description": "Proton Mail Bridge password (falls back to PROTONMAIL_PASSWORD)", "required": false, "secret": true, "default": "" }, { "id": "ENV_READONLY", "label": "READONLY", "description": "Disable all mutating tools (send, move, delete, flags, labels, bulk ops, folder/label management)", "required": false, "secret": false, "default": "false" }, { "id": "ENV_RESTRICT_OUTBOUND_TO_SELF", "label": "RESTRICT_OUTBOUND_TO_SELF", "description": "Refuse live sends to any recipient other than PROTONMAIL_USERNAME (for throwaway/QA accounts)", "required": false, "secret": false, "default": "false" }, { "id": "ENV_ALLOW_FILE_DOWNLOAD_DIR", "label": "ALLOW_FILE_DOWNLOAD_DIR", "description": "Allowlist directory enabling download_attachment.saveTo; when unset, attachments return as inline base64", "required": false, "secret": false, "default": "" }, { "id": "ENV_ALLOW_FILE_ATTACH_DIR", "label": "ALLOW_FILE_ATTACH_DIR", "description": "Folder send_email and save_draft may read attachments from by path; when unset, attachments must be passed as base64", "required": false, "secret": false, "default": "" }, { "id": "ENV_ALLOW_EMPTY_FOLDER", "label": "ALLOW_EMPTY_FOLDER", "description": "Register the empty_folder tool (not recommended)", "required": false, "secret": false, "default": "false" }, { "id": "ENV_DEBUG", "label": "DEBUG", "description": "Enable verbose logging to stderr", "required": false, "secret": false, "default": "false" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.sethbang/proton-mail-mcp", "registryVersion": "2.0.1", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.sethbang%2Fproton-mail-mcp/versions/2.0.1", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "proton-mail-mcp", "version": "2.0.1", "integrity": "sha512-BkILE/mP4TtWPFdRgEu35Yd8GtaY536W73OQZ2ZcZEF9nZFWxHRmMZJz9wmxXYV++Ss4voaq71Ibh/6xdnmI9A==", "registryNameMatched": "io.github.sethbang/proton-mail-mcp", "checkedAt": "2026-12-01T06:30:48.147Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }