Proton Mail

v0.3.0
io.github.vdeabreu/proton-mcp Checked 3 days ago Published 2 days ago

Read, search and send Proton Mail through Proton Mail Bridge, with sending kept on approval.

Values you need

VariableWhat it is
PROTON_BRIDGE_USERrequired IMAP/SMTP username shown by Proton Mail Bridge
PROTON_BRIDGE_PASSWORDrequired secret IMAP/SMTP password generated by Bridge (not your Proton password)
PROTON_ENABLE_SENDoptional Set to false for a strictly read-only server Default: true
PROTON_SEND_CONFIRMoptional client (default): your client's approval prompt guards sending. elicit: the server itself asks you to confirm each email, and refuses to send with clients that can't show that prompt Default: client

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add proton-mcp -e 'PROTON_BRIDGE_PASSWORD=<PROTON_BRIDGE_PASSWORD>' -e 'PROTON_BRIDGE_USER=<PROTON_BRIDGE_USER>' -- uvx proton-mcp==0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "proton-mcp": {
      "args": [
        "proton-mcp==0.2.0"
      ],
      "command": "uvx",
      "env": {
        "PROTON_BRIDGE_PASSWORD": "<PROTON_BRIDGE_PASSWORD>",
        "PROTON_BRIDGE_USER": "<PROTON_BRIDGE_USER>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "proton-mcp": {
      "args": [
        "proton-mcp==0.2.0"
      ],
      "command": "uvx",
      "env": {
        "PROTON_BRIDGE_PASSWORD": "<PROTON_BRIDGE_PASSWORD>",
        "PROTON_BRIDGE_USER": "<PROTON_BRIDGE_USER>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PROTON_BRIDGE_PASSWORD",
      "id": "proton-bridge-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "PROTON_BRIDGE_USER",
      "id": "proton-bridge-user",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "proton-mcp": {
      "args": [
        "proton-mcp==0.2.0"
      ],
      "command": "uvx",
      "env": {
        "PROTON_BRIDGE_PASSWORD": "${input:proton-bridge-password}",
        "PROTON_BRIDGE_USER": "${input:proton-bridge-user}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.proton-mcp]
command = "uvx"
args = ["proton-mcp==0.2.0"]
env = { "PROTON_BRIDGE_PASSWORD" = "<PROTON_BRIDGE_PASSWORD>", "PROTON_BRIDGE_USER" = "<PROTON_BRIDGE_USER>" }

For AI agents

  1. Ask the user for: PROTON_BRIDGE_USER, PROTON_BRIDGE_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_folders, list_emails, search_emails, read_email, list_sender_addresses, send_email.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json