ProtonMail MCP Server
Manages ProtonMail email via Bridge, providing tools for reading, sending, organizing, and analyzing emails.
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., "@ProtonMail MCP Serverlist my unread emails from today"
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.
ProtonMail MCP Server
An MCP (Model Context Protocol) server that connects to ProtonMail via Bridge, enabling AI assistants like Claude to manage your email.
Features
Email Management: Read, search, send, reply, forward, and delete emails
Folder Management: List, create, rename, and delete folders
Label Management: Apply and remove labels from emails
Trend Analysis: Analyze email patterns, identify important emails, track sender statistics
Related MCP server: protonmail-mcp-server
Requirements
Node.js >= 18
ProtonMail Bridge installed and running
ProtonMail account (Plus, Unlimited, or Business)
Installation
git clone https://github.com/robotben/protonmail-mcp.git
cd protonmail-mcp
npm install
npm run buildConfiguration
Copy the example config:
cp config/protonmail.config.example.json config/protonmail.config.jsonEdit
config/protonmail.config.jsonwith your credentials:{ "protonmail": { "auth": { "user": "your-email@protonmail.com", "pass": "your-bridge-password" } } }Note: Use the Bridge password from ProtonMail Bridge app (not your account password).
Running the Server
npm startThe server listens on port 3000 by default. Set the PORT environment variable to change it:
PORT=8080 npm startMCP endpoint: http://localhost:3000/mcp
Usage with Claude Desktop
The server uses the MCP Streamable HTTP transport (spec 2025-03-26), so configure Claude Desktop with a URL instead of a command:
{
"mcpServers": {
"protonmail": {
"url": "http://localhost:3000/mcp"
}
}
}Note: Start the server before launching Claude Desktop (
npm start).
Legacy stdio (not supported)
This server no longer supports stdio transport. If you need stdio, use an earlier version.
Available Tools (22)
Email Reading
Tool | Description |
| List emails from a folder with pagination |
| Get full email content by UID |
| Get email headers only (lightweight) |
| Search emails with query, date range, filters |
| Get unread count for folders |
| Mark emails as read |
| Mark emails as unread |
Email Sending
Tool | Description |
| Send a new email |
| Reply to an email |
| Forward an email |
Folder Management
Tool | Description |
| List all folders |
| Create a new folder |
| Delete a folder |
| Rename a folder |
| Move emails between folders |
Label Management
Tool | Description |
| List all labels |
| Create a new label |
| Apply labels to emails |
| Remove labels from emails |
Analytics
Tool | Description |
| Analyze email patterns over time |
| Analyze email distribution across folders |
| Find important emails based on criteria |
Utility
Tool | Description |
| Permanently delete emails |
Resources
URI | Description |
| Inbox statistics |
| Folder list with counts |
| Label summary |
| Recent 24h activity |
| Email analytics |
Development
# Build
npm run build
# Watch mode
npm run dev
# Run directly with tsx
npx tsx src/server.tsLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis MCP server provides email sending functionality using Protonmail's SMTP service. It allows both Claude Desktop and Cline VSCode extension to send emails on your behalf using your Protonmail credentials.49MIT
- AlicenseAqualityDmaintenanceA read-only MCP server that connects to Proton Mail via Proton Bridge, enabling AI assistants to search, list, and read emails securely without leaving your machine.423 npm1MIT
- AlicenseNot gradedqualityAmaintenanceA 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.1MIT
- AlicenseAqualityAmaintenanceAn MCP server for managing Proton Mail, Pass, Drive, and Calendar through local IMAP/SMTP, pass-cli, and Proton Drive CLI, enabling AI agents to operate the mailbox, manage passwords, sync files, and classify emails.39AGPL 3.0