Read Proton Mail and save drafts through your local Proton Mail Bridge.
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.
Baryon connects an MCP-compatible AI assistant to Proton Mail through a local Proton Mail Bridge.
It lets your assistant search and read email, understand conversations, work with attachments, and prepare drafts for you to review. Baryon cannot send email, move or delete ordinary messages, or mark messages as read.
Baryon has no hosted service. You decide which MCP client and AI model receive your email content.
[!IMPORTANT] Baryon and Proton Mail Bridge run locally, but your AI may not.
Email content requested through Baryon is returned to your MCP client and can be passed to the model it uses. With a local or self-hosted model, processing can remain on infrastructure you control, depending on your client configuration. With a hosted service, selected email content is sent to that provider.
For example, using Baryon with hosted Claude or Codex models sends requested email content to Anthropic or OpenAI infrastructure respectively. Review your client's and provider's privacy and data-retention terms before connecting it to your mailbox.
For example, you could ask your assistant:
Find the renewal notices I received this month and summarise the price changes.
Read my conversation with Alice and prepare a polite follow-up draft.
Find the PDF invoice attached to the latest message from Acme and save it locally.
Summarise this support thread and draft a reply covering the unresolved questions.
| Capability | Available |
|---|---|
| Search and read email | Yes |
| Read complete conversations | Yes |
| List and retrieve attachments | Yes |
| Save attachments locally | Yes, on macOS and Linux |
| Create and replace drafts | Yes |
| Save a derived reply draft | Yes |
| Restrict reading to chosen folders | Optional |
| Send email | No |
| Move ordinary messages | No |
| Delete ordinary messages | No |
| Mark messages as read or change flags | No |
Replacing an existing draft saves its replacement before removing the previous draft copy. Baryon has no tool for deleting ordinary received or sent messages.
Baryon talks only to Proton Mail Bridge on your computer. It refuses to send Bridge credentials to a non-loopback address and verifies Bridge using its exported TLS certificate by default.
You will need:
stdio.Use the password generated by Bridge, not your normal Proton account password. Export cert.pem from Settings β Advanced settings β Export TLS certificates in Proton Mail Bridge.
macOS:
Windows (after the generated manifest is accepted into the WinGet Community Repository):
Arch Linux β baryon-mcp-bin from the AUR:
Debian-based Linux distributions (amd64 and arm64):
RPM-based Linux distributions (amd64 and arm64):
Anywhere else, download the archive for your platform from the latest release and extract baryon-mcp onto your PATH. Releases provide macOS, Linux, FreeBSD, and OpenBSD builds for amd64 and arm64, Windows amd64 builds, and DEB and RPM packages for Linux amd64 and arm64, alongside a SHA256SUMS file. Hash your download and compare it with the matching line in that file:
Setup pins Bridge's TLS certificate, stores your Bridge credentials, and registers baryon with any installed Claude Code and Codex CLIs, which then launch the binary directly β no wrapper script and no credentials in a client configuration file. The Bridge password goes into the system keyring (Secret Service on Linux with gnome-keyring, KWallet or KeePassXC running; Login Keychain on macOS; Credential Manager on Windows), and into a mode-600 file under ~/.config/baryon-mcp when no keyring answers.
On Linux, if no exported certificate is found, setup offers to pin the certificate the running Bridge is serving β after verifying through procfs that the process owning the port is a Bridge executable running as you β and shows its fingerprint before asking. Bridge installed headlessly (protonmail-bridge-core) has no certificate-export UI, so this is the expected path there. baryon-mcp setup --help lists the options, including --reset-credentials, --tls-cert and --client.
baryon-mcp setup knows how to configure Claude Code and Codex. For any other MCP client, point it at the baryon-mcp binary yourself. The surrounding configuration format varies between clients, but the server entry looks like this:
This basic configuration may store Bridge credentials as plaintext. Prefer baryon-mcp setup, which keeps them out of client configuration entirely, or your client's secure secret storage. Any variable set here takes precedence over the stored credentials, so the two can be mixed β a client entry can override the endpoint while the password stays in the keyring.
If you keep the Bridge password in Proton Pass, pass-cli run can resolve it at launch, so the client configuration holds a reference instead of the password:
pass-cli run passes the MCP stdio stream through unchanged and preserves the exit code. --no-masking matters: by default pass-cli rewrites any occurrence of the resolved secret in the child's output, which would corrupt a tool result whose mailbox content happens to contain the Bridge password. An expired Proton Pass session or an unresolvable reference fails on stderr before the server starts, which surfaces in the client's MCP log.
[!CAUTION] The installation methods below connect Baryon to hosted AI products. Email content retrieved through Baryon is sent to the relevant provider when the client gives it to the model.
Download the .mcpb bundle for your platform from the latest release, open it, and enter the Bridge settings when prompted.
Install the binary and run baryon-mcp setup, as above. It registers both CLIs it finds on PATH; --client claude or --client codex configures only one, and an existing baryon entry is left alone unless --force-client-config is given.
ghcr.io/combor/baryon-mcp is published for linux/amd64 and linux/arm64. It exists so MCP directories can start the server and read its tool schemas, and so Linux users can run Baryon in a container. On macOS and Windows use the native binaries: Docker Desktop does not share the host loopback interface that Bridge listens on.
Baryon speaks stdio, so the client launches the container rather than connecting to a port:
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/baryon-proton-mail-via-bridge)<a href="https://allmcps.com/mcp/baryon-proton-mail-via-bridge"><img src="https://allmcps.com/api/badge/baryon-proton-mail-via-bridge?style=directory" alt="Baryon β Proton Mail via Bridge on AllMCPs" /></a>