Proton Mail Bridge
FreeMaintainedConnect to Proton Mail via Bridge for IMAP and SMTP access with 13 email management tools.
About
Connect to Proton Mail via Bridge for IMAP and SMTP access with 13 email management tools.
README
Abrir cuando: Orientación, pulso y enrutado. Aprobado: 15 de agosto de 2026 Audiencia: Agente, Dirección, Usuarios Autoridad: Lectura Clase: Obligatorio Días para revisión: 14 En repo: Sí Estado: Vigente Orden: 1 Propósito: Punto de entrada: pulso, quickstart y qué leer después. Reforma: Operativa Responsable: Alexendros Revisión: 29 de agosto de 2026 Rol: Entrada Ruta: ./README.md
CI CodeQL OpenSSF Scorecard Coverage License: AGPL-3.0 Node npm
Estado en una mirada
Pulso: 15 de agosto de 2026 · v1.2.1
Fase activa: Fase 1 (Pass / agente / DX) checklist cerrada · siguiente: Fase 2 (Calendar, bloqueada). Ver ROADMAP.md.
Métricas: 47 tools por defecto (50 con Calendar experimental) · 958 tests · cobertura ~98% (gate 95%).
| Capa | Estado |
|---|---|
| Mail (Bridge IMAP/SMTP) | Operativo |
Pass (pass / gopass) |
Operativo |
Drive (proton-drive CLI) |
Operativo (ADR-006) |
| Calendar | Stub hasta CalDAV en Bridge (ADR-005) |
| Documentación canónica | Subfase 0 |
MCP server multi-producto para Proton Suite: Mail, Pass, Drive y Calendar (stub). Un agente opera el buzón, gestiona contraseñas y sincroniza archivos — local, sin exfiltrar contenido E2E.
| Modo | Descripción |
|---|---|
| stdio (default) | Sin exponer red. Ideal para agentes IA locales. |
| streamable HTTP | Bearer auth + origin allowlist. Docker / reverse proxy. |
Qué leer a continuación
| Si necesitas | Abre | Aún no |
|---|---|---|
| Lo no negociable | CONSTITUTION.md | ROADMAP entero |
| Orden de trabajo y fases | ROADMAP.md | Código |
| Implementar como agente | AGENTS.md | ARCHITECTURE completo |
| Capas y flujos | ARCHITECTURE.md | Código |
| Threat model | SECURITY.md | — |
| Contribuir / PR | CONTRIBUTING.md | — |
| Contrato de tools MCP | docs/api/mcp-tools.md | — |
| Decisiones (por qué) | docs/adr/ | — |
| Índice de guías | docs/README.md | — |
| Playbooks + prompts | playbooks/README.md | — |
Primera sesión: este README → AGENTS.md §§ TL;DR + ficha → fase activa en ROADMAP.md → ADR/ancla citada.
Quickstart
Prerrequisitos: Node ≥ 22, pnpm, Proton Mail Bridge en local, pass o gopass + gpg para contraseñas.
1. Instalar y compilar
git clone https://github.com/Iniciativas-Alexendros/agent-protonsuite.git
cd agent-protonsuite
pnpm install && pnpm build && pnpm run smoke
2. Configurar variables de entorno
export [email protected]
export PROTON_BRIDGE_PASS=your-bridge-password
export [email protected]
3. Conectar tu cliente MCP
{
"mcpServers": {
"protonsuite": {
"command": "npx",
"args": ["-y", "@alexendros/protonsuite-agent", "protonsuite-mcp"],
"env": {
"MCP_TRANSPORT": "stdio",
"PROTON_BRIDGE_USER": "[email protected]",
"PROTON_BRIDGE_PASS": "your-bridge-password",
"PROTON_MAIL_FROM": "[email protected]",
"PROTON_BRIDGE_TLS_INSECURE": "true",
"PROTON_PASS_ENABLED": "true",
},
},
},
}
Seguridad: usa
PROTON_PASS_BRIDGE_PATH=proton/bridge/passwordo el wrapper JIT en connectors/stdio-wrapper.sh.example para no dejar el bridge password en disco.
4. Organizar el buzón (dry-run)
AGENT_DRY_RUN=true pnpm exec protonsuite-agent organize
# o: npx -y @alexendros/protonsuite-agent organize
El agente analiza el inbox y presenta un plan sin aplicar cambios. Desactiva AGENT_DRY_RUN solo tras revisión.
Tools MCP
47 tools por defecto (50 con Calendar experimental). Lectura: response_format: "markdown" | "json".
| Producto | Tools | Resumen |
|---|---|---|
| 14 | List, search, read, send, reply, forward, flag, move, delete, attachments | |
| Pass | 4+ | List, get (sin valores), generate, health; audit vía agente |
| Drive | 8+ | Status, list, download, upload, share, audit, organize |
| Calendar | stub | {available: false} hasta CalDAV vía Bridge (ADR-005) |
| Suite / Bridge / Ecosystem / Agent | resto | Estado unificado, Bridge, binarios, plan de agente |
Contrato generado: docs/api/mcp-tools.md. Guía: docs/agent-quickstart.md.
Agente
| Goal | Pipeline |
|---|---|
setup |
Verifica Bridge (IMAP + SMTP) |
organize |
Clasifica inbox, carpetas/etiquetas, amenazas |
monitor / alert |
Solo lectura — alertas |
pass-audit |
Fortaleza, duplicados, plan de rotación (dry-run) |
suite-status |
Reporte cross-producto |
discover / check-imap |
Conectividad |
| Drive goals | drive-audit, drive-organize, … |
Drive CLI
sudo wget -q 'https://proton.me/download/drive/cli/linux/proton-drive' \
-O /usr/local/bin/proton-drive && sudo chmod +x /usr/local/bin/proton-drive
proton-drive auth login
Requiere DRIVE_ENABLED=true (default). Ver docs/drive-audit.md.
Despliegue
docker compose up -d
Ver docs/deployment-http-docker.md. Instalador: scripts/install.sh.
Documentación
| Documento | Para quién | Qué cubre |
|---|---|---|
| CONSTITUTION.md | Todos | No negociables |
| ROADMAP.md | Dirección / agente | Fases y criterios de salida |
| AGENTS.md | Agentes IA | Contrato operativo |
| docs/human-quickstart.md | Usuarios | Instalación paso a paso |
| docs/agent-quickstart.md | Agentes IA | Tools y ejemplos |
| docs/bridge-core.md | Operadores | Bridge headless |
| docs/deployment-http-docker.md | DevOps | Docker, auth, Pass en compose |
| docs/local-stdio-secrets.md | Operadores | Wrapper JIT |
| docs/alerting.md | Operadores | Webhook, ntfy, logs |
| docs/drive-audit.md | Operadores | Drive CLI |
| ARCHITECTURE.md | Desarrolladores | Capas y flujos |
| SECURITY.md | Auditores | Threat model |
| CONTRIBUTING.md | Contribuidores | PRs, pnpm, tests |
| playbooks/ | Operadores | Workflows + prompts |
Calidad
pnpm run typecheck # TypeScript strict
pnpm test # Vitest (953+)
pnpm run coverage # Coverage v8 — gate 95%, objetivo ≥98%
pnpm run build # tsc → dist/
pnpm run smoke # stdio initialize + tools/list
pnpm run knip # Unused deps/exports
pnpm docs:check # mcp-tools.md en sync
Seguridad (resumen)
- Bearer timing-safe, origin allowlist, rate-limit 120/min/token.
- HTTP per-session; idle eviction 30 min.
- Pass nunca expone valores — solo
{found: true}. - Dry-run por defecto en el agente (CONSTITUTION.md §4).
Progreso de cobertura
| Fecha | Statements | Branches | Tests | Notas |
|---|---|---|---|---|
| Ago 2026 | ~98% | ~95% | 953 | Subfase 0 + Fase 1 |
| Jul 2026 | 98.07% | 93.63% | 864 | Branch hunt |
| Jun 2026 | 61.7% | — | 258 | Base |
Conteo canónico: pnpm test 2>&1 | grep -E 'Test Files|Tests'.
Licencia
AGPL-3.0 — Copyright 2026 Alejandro Domingo Agustí (Alexendros). Sin afiliación a Proton AG.
Ver NOTICE.md para dependencias.
Install Proton Mail Bridge in Claude Desktop, Claude Code & Cursor
unyly install proton-mail-bridgeInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add proton-mail-bridge --env MCP_TRANSPORT="" --env PROTON_BRIDGE_PASS="" --env PROTON_BRIDGE_TLS_INSECURE="" --env PROTON_BRIDGE_USER="" --env PROTON_MAIL_FROM="" -- npx -y @alexendros/protonmail-mcpStep-by-step: how to install Proton Mail Bridge
FAQ
Is Proton Mail Bridge MCP free?
Yes, Proton Mail Bridge MCP is free — one-click install via Unyly at no cost.
Does Proton Mail Bridge need an API key?
Yes, it requires environment variables: MCP_TRANSPORT, PROTON_BRIDGE_PASS, PROTON_BRIDGE_TLS_INSECURE, PROTON_BRIDGE_USER, PROTON_MAIL_FROM. Unyly injects them into the config during install.
Is Proton Mail Bridge hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Proton Mail Bridge in Claude Desktop, Claude Code or Cursor?
Open Proton Mail Bridge on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Changes
Versions and requested access over time.
- New version published
- New version published
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) — no setup required, bring your own API key
by Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
by arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
by hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
by profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
by waystation-aiCompare Proton Mail Bridge with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
