Protonlite MCP
Integrates with Proton's private API and end-to-end crypto to provide access to Proton Mail, Calendar, Contacts and Drive.
Allows the agent to check the user's Proton Calendar agenda.
Provides tools for listing, downloading, uploading, creating folders, moving, renaming, trashing and sharing/revoking links for files in Proton Drive.
Provides tools to list, read, search and send Proton Mail messages, including attachments, with send-policy controls.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Protonlite MCP check my calendar for tomorrow and summarize any unread emails"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
protonlite-mcp
An MCP server for Proton Mail (ProtonMail), Proton Calendar, Proton Contacts and Proton Drive. Point Claude Code, Claude Desktop, Cursor or any other MCP client at it and the agent can read and send your mail, check your agenda, look up contacts and work with your files -- with no Proton Mail Bridge and no paid plan.
It is the server half of protonlite, which does the Proton API and the end-to-end crypto (ported from Proton's own MIT-licensed Go libraries). This package is the MCP wiring: the tools, their descriptions, and the policy that governs sending.
Unofficial. Not affiliated with, endorsed by, or supported by Proton AG. "Proton", "Proton Mail", "Proton Calendar" and "Proton Drive" are trademarks of Proton AG. It talks to a private, undocumented API that can change at any time, and using it may be subject to Proton's terms of service. Use it at your own risk, on accounts you own.
Install
pip install protonlite-mcpRequires Python 3.10+. The protonlite library comes along as a dependency. To run it
without installing anything, use uvx protonlite-mcp.
Related MCP server: proton-mail
Sign in once
The server never takes a password. A person signs in from a terminal, which saves a session file, and the server reuses that file:
protonlite login --user you@proton.me # prompts for the password with getpassProton usually asks a human to complete a verification page (hCaptcha) on a server login;
the CLI prints that URL so you can finish it in a browser. Two-factor (TOTP) is supported.
The login prints where it saved the session; that path is what you hand the server in
PROTONLITE_SESSION.
Run it
PROTONLITE_SESSION=~/you@proton.me.json protonlite-mcpThe bare command speaks MCP over stdio, which is what a client launches. python -m protonlite_mcp and uvx protonlite-mcp run the same server.
Claude Code
claude mcp add proton -e PROTONLITE_SESSION=/home/you/you@proton.me.json -- protonlite-mcpClaude Desktop, Cursor and other mcpServers configs
{
"mcpServers": {
"proton": {
"command": "protonlite-mcp",
"env": { "PROTONLITE_SESSION": "/home/you/you@proton.me.json" }
}
}
}With uvx instead of a local install, use "command": "uvx" and
"args": ["protonlite-mcp"].
The 18 tools
Area | Tools |
| |
Calendar |
|
Contacts |
|
Drive |
|
Send policy |
|
send_message sends plain text or HTML and can attach local files, for example one the agent
just fetched with drive_download. drive_share_link returns a public link whose URL is the
whole secret (the password rides in the fragment, so it never reaches Proton's servers):
anyone holding that URL can open the file, so it is meant for files you intend to share, and
drive_unshare_link revokes it.
Everything other people wrote -- message bodies, calendar titles, contact notes, file names -- comes back wrapped as untrusted data, because an MCP client is a language model and that text must never be read as instructions.
Send policy
Sending is the one action that reaches other people, so send_message is governed by a
recipient allowlist and an optional "confirm before sending" rule. There are two layers.
What the agent can change (convenient, and therefore advisory):
email_policy_status-- show the allowlist, any hard ceiling, and whether confirmation is on.email_allow-- set the allowlist: addresses or globs (*@company.com) to restrict sending,["*"]to allow anyone,[]to block every send.set_send_confirmation-- the soft two-step rule: the firstsend_messagesends nothing and asks for approval, and a second call withconfirm=truesends.
What only a person can change, out of band, which no tool can loosen:
protonlite-mcp policy show # print the effective policy
protonlite-mcp policy ceiling '*@your-company.com' # a ceiling email_allow cannot exceed
protonlite-mcp policy require-confirm on # the agent can no longer send at all
protonlite-mcp policy require-confirm off # lift itRecipient ceiling --
protonlite-mcp policy ceiling <addrs>, or thePROTON_ALLOWED_RECIPIENTSenv var (comma-separated addresses or globs). A send to anyone outside it is refused whatever the agent does.Hard confirmation --
protonlite-mcp policy require-confirm on, orPROTON_REQUIRE_SEND_CONFIRMATION=1, turns sending off for the agent entirely: theconfirmargument cannot lift it, and a person sends from a terminal withprotonlite send.
The hard half lives in a locked section of the policy file that only the CLI writes
(~/.config/protonlite/mcp_policy.json, or PROTONLITE_MCP_POLICY). email_policy_status
always reports both layers and the exact command to change each one, so the agent can tell a
person what to run instead of guessing.
Run the server in a client that asks you to approve each tool call: send_message and
drive_upload read local files and can send them out. For a send gate an agent can never
reach -- a fail-closed human-approval hook on every send -- use
hermes-proton.
Container
docker build -t protonlite-mcp .
docker run -i --rm -e PROTONLITE_SESSION=/session.json -v ~/you@proton.me.json:/session.json:ro protonlite-mcpRelated
protonlite -- the Python library and CLI this server is built on (Mail, Calendar, Contacts, Drive, and the login).
hermes-proton -- the same engine as a Hermes Agent plugin, with a human-approval gate on every send.
License
MIT. See LICENSE.
Available Tools
18 toolscalendarA
Show the Proton Calendar agenda for the next N days.
Inputs: days. Returns: result
contactsA
List Proton contacts (name and email), optionally filtered by a query.
Inputs: query. Returns: result
drive_downloadC
Download and decrypt a Proton Drive file to a local directory.
Inputs: path (required), dest_dir. Returns: result
drive_listA
List a Proton Drive folder by path (folders first); empty path is the root.
Inputs: path. Returns: result
drive_mkdirB
Create a new Proton Drive folder (empty parent_folder is the root).
Inputs: name (required), parent_folder. Returns: result
drive_moveA
Move a Proton Drive file or folder into another folder (empty dest_folder is the root).
Inputs: path (required), dest_folder (required). Returns: result
drive_renameB
Rename a Proton Drive file or folder in place.
Inputs: path (required), new_name (required). Returns: result
drive_trashA
Move a Proton Drive file or folder to the trash (recoverable in Proton Drive).
Inputs: path (required). Returns: result
drive_uploadB
Encrypt and upload a local file into a Proton Drive folder (empty dest_folder is the root).
Inputs: local_path (required), name, mime_type, dest_folder. Returns: result
email_allowA
Set the recipient allowlist for send_message. Pass specific addresses or globs (e.g. @company.com) to restrict sending to them, [""] to allow anyone, or [] to block all sending. A hard ceiling from PROTON_ALLOWED_RECIPIENTS still applies on top and cannot be loosened here.
Inputs: recipients (required). Returns: result
email_policy_statusA
Show the send policy: which recipients the allowlist permits (or that it is open), any hard ceiling set by the PROTON_ALLOWED_RECIPIENTS env var, and whether a send needs confirmation.
Inputs: no named parameters. Returns: result
list_messagesC
List messages in a Proton Mail folder (inbox, sent, archive, spam, trash, starred...).
Inputs: limit, folder, unread_only. Returns: result
read_messageA
Read one Proton Mail message by id, decrypted, with HTML flattened to prose.
Inputs: message_id (required). Returns: result
search_messagesB
Find messages whose sender or subject contains the query.
Inputs: query (required), limit. Returns: result
send_messageA
Send an email. Plain text by default; set html=true to send the body as HTML. attachments is a list of local file paths to attach, e.g. a file you just fetched with drive_download. A send is refused if a recipient is not on the allowlist (see email_policy_status / email_allow). When the confirm-before-sending rule is on, the first call sends nothing and returns a confirmation request; call again with confirm=true once the person has approved.
Inputs: to (required), body (required), subject (required), html, +2 more. Returns: result
set_send_confirmationA
Turn the 'confirm before sending' rule on or off. When on, send_message sends nothing until it is called again with confirm=true, so a person can approve first. If PROTON_REQUIRE_SEND_CONFIRMATION is set, the rule is forced on and cannot be turned off here.
Inputs: required (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Most tools target a distinct resource and action, and prefixes like drive_* clearly separate Drive operations from mail and calendar operations. The only mild overlap is between list_messages and search_messages, but their descriptions make the distinction clear (folder listing vs. sender/subject query).
Drive tools consistently follow a drive_verb_noun pattern, and message tools use verb_noun. However, mail tools lack a mail_ prefix, policy tools use a different email_* convention, and calendar/contacts are bare nouns, so the set mixes several conventions.
Eighteen tools are slightly above the ideal range but reasonable for a multi-domain Proton client covering mail, Drive, calendar, and contacts. Each tool appears to earn its place, with no obvious filler.
Drive coverage is strong (list, download, upload, mkdir, rename, move, trash, share/unshare), but mail lacks delete/archive/move/mark operations, calendar only reads an agenda with no event creation, and contacts are read-only. These are notable gaps for an agent trying to manage the full Proton surface.
Maintenance
Related MCP Connectors
Send and read WhatsApp, email and SMS from Claude, ChatGPT, Cursor or any MCP client, from your own accounts: your WhatsApp number (linked by QR code), your mailbox (IMAP/SMTP) and your Android phone (SMS from its SIM). Tools: list-accounts, get-account, add-account, add-email-account, list-messages, send-message (one channel or several in one call). Hosted, OAuth 2.1, nothing to install. Free plan with unlimited messages; paid plans from 19 EUR/month remove the footer and add media and webhooks. Docs and client configs: github.com/UnlimitedMessaging/unlimited-messaging-mcp
Your Gmail, Calendar, Drive, GitHub, Oura, wallet and confirmed profile facts in any MCP client.
Hosted email MCP for your own Gmail, Outlook.com, Microsoft 365, iCloud or IMAP inbox: read, search, draft, reply in thread, forward and file mail. It moves or flags up to 500 messages in one call, and a send leaves exactly one copy in Sent. A calendar is a separate connection, and connecting one adds diary and scheduling tools.
Read, search and manage iCloud Mail, Calendar and Contacts from Claude and other MCP clients.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to send, read, search, and organize emails via ProtonMail using Proton Bridge. Supports MCP-compatible clients like Claude and Cursor.1814 npm4MIT
- AlicenseNot gradedqualityCmaintenanceA safe-by-default MCP server that gives Claude access to your Proton Mail through Proton Mail Bridge's localhost IMAP/SMTP. Sending requires human approval and destructive operations are limited.29 PyPI2MIT
- AlicenseNot gradedqualityCmaintenanceLets MCP clients read, search, draft, move, label, and delete mail through a locally running Proton Mail Bridge connection, so messages never leave your machine. Sending is off by default, deletions only move mail to Trash, and draft attachments are restricted to approved folders.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients like Claude, ChatGPT and Cursor to search, read, organize and send Proton Mail through Proton Mail Bridge, plus look up Proton Pass items and read Proton Calendar events. Supports built-in OAuth with per-connection scopes, so each app gets only read, organize/draft or send permissions.MIT