Proton Mail (unofficial) MCP Server
Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP
Proton Mail (unofficial) scores 44 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 35 tools. Filed under Communication. GitHub shows 11 stars. Package registries report about 98 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
44 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade D
50/100 for listing completeness. Lost points: no README, 35 of 35 tools barely described, short summary.
How quality is graded
Where the 44 comes from
0 + 20 + 7 + 10 + 4 + 3 = 44. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sethbang-proton-mail-mcp": { "command": "npx", "args": [ "-y", "proton-mail-mcp@2.0.1" ], "env": { "PROTONMAIL_USERNAME": "", "PROTONMAIL_PASSWORD": "YOUR_PROTONMAIL_PASSWORD", "PROTONMAIL_PASSWORD_FILE": "", "PROTONMAIL_PASSWORD_COMMAND": "", "PROTONMAIL_HOST": "127.0.0.1", "PROTONMAIL_PORT": "", "PROTONMAIL_SECURE": "false", "IMAP_HOST": "127.0.0.1", "IMAP_PORT": "1143", "IMAP_SECURE": "false", "IMAP_USERNAME": "", "IMAP_PASSWORD": "YOUR_IMAP_PASSWORD", "READONLY": "false", "RESTRICT_OUTBOUND_TO_SELF": "false", "ALLOW_FILE_DOWNLOAD_DIR": "", "ALLOW_FILE_ATTACH_DIR": "", "ALLOW_EMPTY_FOLDER": "false", "DEBUG": "false" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
PROTONMAIL_USERNAME | Required | Your Proton Mail email address |
PROTONMAIL_PASSWORDSecret | Optional | 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 |
PROTONMAIL_PASSWORD_FILE | Optional | Alternative to PROTONMAIL_PASSWORD: path to a file containing the password |
PROTONMAIL_PASSWORD_COMMAND | Optional | Alternative to PROTONMAIL_PASSWORD: shell command that prints the password, e.g. a macOS Keychain lookup |
PROTONMAIL_HOST | Optional | SMTP host. Defaults to Proton Mail Bridge; use smtp.protonmail.ch for Proton's SMTP submission service (the default before 2.0.0) |
PROTONMAIL_PORT | Optional | SMTP port. When unset: 1025 (Bridge) for a host on this machine, 587 for any other host such as smtp.protonmail.ch |
PROTONMAIL_SECURE | Optional | false: STARTTLS (Bridge's default). true: TLS from the first byte (Bridge's SSL mode, or port 465) |
IMAP_HOST | Optional | Proton Mail Bridge IMAP host (required for read/search tools) |
IMAP_PORT | Optional | Proton Mail Bridge IMAP port |
IMAP_SECURE | Optional | Use TLS for IMAP |
IMAP_USERNAME | Optional | Proton Mail Bridge username (falls back to PROTONMAIL_USERNAME) |
IMAP_PASSWORDSecret | Optional | Proton Mail Bridge password (falls back to PROTONMAIL_PASSWORD) |
READONLY | Optional | Disable all mutating tools (send, move, delete, flags, labels, bulk ops, folder/label management) |
RESTRICT_OUTBOUND_TO_SELF | Optional | Refuse live sends to any recipient other than PROTONMAIL_USERNAME (for throwaway/QA accounts) |
ALLOW_FILE_DOWNLOAD_DIR | Optional | Allowlist directory enabling download_attachment.saveTo; when unset, attachments return as inline base64 |
ALLOW_FILE_ATTACH_DIR | Optional | Folder send_email and save_draft may read attachments from by path; when unset, attachments must be passed as base64 |
ALLOW_EMPTY_FOLDER | Optional | Register the empty_folder tool (not recommended) |
DEBUG | Optional | Enable verbose logging to stderr |
Tools35Tool docs quality grade F
All capabilitiesacrossFolderstoolNo
No
allowAnyFoldertoolNo
attachmentNametoolNo
attachmentPartstoolNo
attachmentTypetoolNo
beforeUidtoolNo
dryRuntoolNo
excludeSelftoolNo
flagsToAddtoolNo
flagsToRemovetoolNo
fromNametoolNo
About
Unofficial MCP server for Proton Mail (not affiliated with Proton AG) — send, read, search & organize email over SMTP/IMAP
Frequently asked questions
What is Proton Mail (unofficial) MCP Server?
Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP
How do I install Proton Mail (unofficial) MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Proton Mail (unofficial) MCP Server runs locally from the npm package proton-mail-mcp with the command npx -y proton-mail-mcp@2.0.1.
Is Proton Mail (unofficial) MCP Server free and open source?
Yes. Proton Mail (unofficial) MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Proton Mail (unofficial) MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Proton Mail (unofficial) MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Proton Mail (unofficial) MCP Server provide?
Proton Mail (unofficial) MCP Server provides 35 tools, including acrossFolders, allowAddressLikeFromName, allowAnyFolder, and attachmentName. See the full tool list for descriptions and parameters.
How is Proton Mail (unofficial) MCP Server's trust score calculated?
Proton Mail (unofficial) MCP Server scores 44 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.