Read and search Proton Mail, then create human-approved drafts without send capability.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A client-agnostic FastMCP server for Proton Mail through the official Proton Mail Bridge. It can read and search mail and create drafts with attachments. It deliberately cannot send email β you review every draft in Proton Mail and press Send yourself.
The server runs locally over STDIO for any MCP-compatible client (Claude Desktop, Claude Code, or anything else that speaks MCP). Received PDF, TXT, and CSV attachments can be inspected through bounded text extraction without exposing their raw bytes. Outgoing attachments are uploaded as bounded base64 chunks, so the server never receives or reads a client filesystem path.
Read the full documentation for setup, configuration, tool inputs, security boundaries, and troubleshooting.
Email is attacker-controlled input. Any sender can put adversarial instructions in a message body, and an AI agent that reads mail and holds write-capable tools is one prompt injection away from doing something you did not ask for. This project limits the blast radius by construction:
send_message tool in the codebase β a test asserts it.127.0.0.1.These controls reduce risk but do not make email trusted. Never expose unrelated write-capable tools in the same unattended agent workflow.

127.0.0.1 (PROTON_BRIDGE_HOST is intentionally unsupported).BODY.PEEK; attachment inspection returns bounded extracted text,
metadata, and a SHA-256 digest, never raw bytes or files.0700 directories, 0600 files, O_NOFOLLOW).uv.gnome-keyring or compatible).Install the reviewed release from PyPI with uv:
For development from source instead:
Set the Proton address and Bridge IMAP port in the MCP process environment. No credential is ever set here:
To draft as another Proton address of the same account, add the optional sender allowlist in that same environment, as comma-separated bare addresses:
Store the Bridge-generated IMAP password (shown in the Bridge UI), not your Proton account password:
The value shown by Bridge is installation-specific and works only against the local Bridge.
Configure a local STDIO server with these logical fields. Use command -v proton-safe-mcp
to obtain the absolute command path when your client does not inherit your shell PATH:
PROTON_BRIDGE_ALIASES goes in the same env block when a draft may use more than one From
address. See Sender addresses.
Do not put PROTON_BRIDGE_PASSWORD in the client configuration. The server reads it from the OS keyring established by setup.
Copy-paste instructions are available for Claude Code, Cursor, and VS Code.
AI coding agents can follow the safety-constrained llms-install.md guide.
Verify the complete local setup without printing credentials, addresses, or mailbox data:
The repository includes a private, local-first Proton Safe plugin for ChatGPT and Codex. It packages safety-focused mail review and draft workflows with the same restricted MCP server:
proton-safe-mcp and Proton Mail Bridge together, with IMAP
fixed to 127.0.0.1.See the OpenAI plugin guide for local ChatGPT desktop/Codex installation, direct MCP registration, and the optional remote tunnel.
Plugin installed but no Proton tools? The bundled MCP configuration forwards
PROTON_BRIDGE_USERandPROTON_IMAP_PORTfrom the environment that started Codex; it does not define their values. On Ubuntu, a correct~/.config/environment.d/*.conffile can still require a user-manager reload, while GNOME and already-running terminals can keep their earlier environment. If a menu relaunch still has no tools, start ChatGPT once from a terminal that has loaded the file. That terminal launch is a diagnostic, not a requirement for every start; the troubleshooting guide also provides a persistent per-user menu launcher. Follow the privacy-safe Ubuntu recovery procedure or the FAQ before reinstalling anything.
Help test the onboarding. Linux and Proton Mail Bridge users can run the 10-minute external test and submit privacy-safe installation feedback.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/proton-safe-mcp)<a href="https://allmcps.com/mcp/proton-safe-mcp"><img src="https://allmcps.com/api/badge/proton-safe-mcp?style=directory" alt="Proton Safe MCP on AllMCPs" /></a>