P

Proton MCP

by vdeabreu · io.github.vdeabreu/proton-mcp

Enables MCP clients to read and search a Proton Mail mailbox through Proton Mail Bridge and, optionally, send or reply to emails with HTML formatting and threading.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-vdeabreu-proton-mcp": {
      "command": "uvx",
      "args": [
        "proton-mcp"
      ],
      "env": {
        "PROTON_BRIDGE_USER": "<VALUE>",
        "PROTON_BRIDGE_PASSWORD": "<YOUR_VALUE>",
        "PROTON_ENABLE_SEND": "true",
        "PROTON_SEND_CONFIRM": "client",
        "ENABLE_SEND": "false",
        "MCP_PASSWORD": "<VALUE>",
        "PROTON_IMAP_HOST": "127.0.0.1",
        "PROTON_IMAP_PORT": "1143",
        "PROTON_SMTP_PORT": "1025",
        "PROTON_QUOTE_LANG": "en",
        "PROTON_IMAP_SECURITY": "starttls",
        "PROTON_SMTP_SECURITY": "starttls"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-vdeabreu-proton-mcp": {
      "command": "uvx",
      "args": [
        "proton-mcp"
      ],
      "env": {
        "PROTON_BRIDGE_USER": "<VALUE>",
        "PROTON_BRIDGE_PASSWORD": "<YOUR_VALUE>",
        "PROTON_ENABLE_SEND": "true",
        "PROTON_SEND_CONFIRM": "client",
        "ENABLE_SEND": "false",
        "MCP_PASSWORD": "<VALUE>",
        "PROTON_IMAP_HOST": "127.0.0.1",
        "PROTON_IMAP_PORT": "1143",
        "PROTON_SMTP_PORT": "1025",
        "PROTON_QUOTE_LANG": "en",
        "PROTON_IMAP_SECURITY": "starttls",
        "PROTON_SMTP_SECURITY": "starttls"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-vdeabreu-proton-mcp": {
      "command": "uvx",
      "args": [
        "proton-mcp"
      ],
      "env": {
        "PROTON_BRIDGE_USER": "<VALUE>",
        "PROTON_BRIDGE_PASSWORD": "<YOUR_VALUE>",
        "PROTON_ENABLE_SEND": "true",
        "PROTON_SEND_CONFIRM": "client",
        "ENABLE_SEND": "false",
        "MCP_PASSWORD": "<VALUE>",
        "PROTON_IMAP_HOST": "127.0.0.1",
        "PROTON_IMAP_PORT": "1143",
        "PROTON_SMTP_PORT": "1025",
        "PROTON_QUOTE_LANG": "en",
        "PROTON_IMAP_SECURITY": "starttls",
        "PROTON_SMTP_SECURITY": "starttls"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-vdeabreu-proton-mcp": {
      "command": "uvx",
      "args": [
        "proton-mcp"
      ],
      "env": {
        "PROTON_BRIDGE_USER": "<VALUE>",
        "PROTON_BRIDGE_PASSWORD": "<YOUR_VALUE>",
        "PROTON_ENABLE_SEND": "true",
        "PROTON_SEND_CONFIRM": "client",
        "ENABLE_SEND": "false",
        "MCP_PASSWORD": "<VALUE>",
        "PROTON_IMAP_HOST": "127.0.0.1",
        "PROTON_IMAP_PORT": "1143",
        "PROTON_SMTP_PORT": "1025",
        "PROTON_QUOTE_LANG": "en",
        "PROTON_IMAP_SECURITY": "starttls",
        "PROTON_SMTP_SECURITY": "starttls"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-vdeabreu-proton-mcp": {
      "command": "uvx",
      "args": [
        "proton-mcp"
      ],
      "env": {
        "PROTON_BRIDGE_USER": "<VALUE>",
        "PROTON_BRIDGE_PASSWORD": "<YOUR_VALUE>",
        "PROTON_ENABLE_SEND": "true",
        "PROTON_SEND_CONFIRM": "client",
        "ENABLE_SEND": "false",
        "MCP_PASSWORD": "<VALUE>",
        "PROTON_IMAP_HOST": "127.0.0.1",
        "PROTON_IMAP_PORT": "1143",
        "PROTON_SMTP_PORT": "1025",
        "PROTON_QUOTE_LANG": "en",
        "PROTON_IMAP_SECURITY": "starttls",
        "PROTON_SMTP_SECURITY": "starttls"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-vdeabreu-proton-mcp": {
      "command": "uvx",
      "args": [
        "proton-mcp"
      ],
      "env": {
        "PROTON_BRIDGE_USER": "<VALUE>",
        "PROTON_BRIDGE_PASSWORD": "<YOUR_VALUE>",
        "PROTON_ENABLE_SEND": "true",
        "PROTON_SEND_CONFIRM": "client",
        "ENABLE_SEND": "false",
        "MCP_PASSWORD": "<VALUE>",
        "PROTON_IMAP_HOST": "127.0.0.1",
        "PROTON_IMAP_PORT": "1143",
        "PROTON_SMTP_PORT": "1025",
        "PROTON_QUOTE_LANG": "en",
        "PROTON_IMAP_SECURITY": "starttls",
        "PROTON_SMTP_SECURITY": "starttls"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
PROTON_BRIDGE_USER Yes Username shown by Proton Mail Bridge.
PROTON_BRIDGE_PASSWORD secret Yes Password generated by Proton Mail Bridge.
PROTON_ENABLE_SEND No Set to false to remove send_email and make the server strictly read-only. Default: true
PROTON_SEND_CONFIRM No 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
ENABLE_SEND No Remote mode: send_email is off unless ENABLE_SEND=true. Default: false
MCP_PASSWORD No OAuth password for remote mode; 20+ characters.
PROTON_IMAP_HOST No IMAP host. Must be a loopback address; also used for SMTP. Default: 127.0.0.1
PROTON_IMAP_PORT No IMAP port. Default: 1143
PROTON_SMTP_PORT No SMTP port. Default: 1025
PROTON_QUOTE_LANG No Language of the "On … wrote:" line in replies: en or fr. Default: en
PROTON_IMAP_SECURITY No IMAP security mode: starttls (Bridge default) or ssl. Default: starttls
PROTON_SMTP_SECURITY No SMTP security mode: starttls or ssl. Default: starttls

Similar servers