proton-workflow-connector

v1.3.0
io.github.NtrpyDev/proton-workflow-connector Checked 3 days ago Published 5 months ago

Unofficial self-hosted MCP connector for Proton Mail Bridge and SimpleLogin.

Starts only with mcp<2 (written for an older SDK); the install commands pin it.

Values you need

VariableWhat it is
PROTON_BRIDGE_USERNAMErequired Bridge IMAP/SMTP username (from the Bridge app)
PROTON_BRIDGE_PASSWORDrequired secret Bridge-generated password (never your Proton account password)
PROTON_BRIDGE_EMAILrequired Primary Proton address served by Bridge
SIMPLELOGIN_API_KEYoptional secret SimpleLogin API key; omit to disable alias tools

PyPI (uvx) discovery passed

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

Run in a terminal
claude mcp add proton-workflow-connector -e 'PROTON_BRIDGE_EMAIL=<PROTON_BRIDGE_EMAIL>' -e 'PROTON_BRIDGE_PASSWORD=<PROTON_BRIDGE_PASSWORD>' -e 'PROTON_BRIDGE_USERNAME=<PROTON_BRIDGE_USERNAME>' -- uvx --with 'mcp<2' --from proton-workflow-connector==1.3.0 proton-mail-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "proton-workflow-connector": {
      "args": [
        "--with",
        "mcp<2",
        "--from",
        "proton-workflow-connector==1.3.0",
        "proton-mail-mcp"
      ],
      "command": "uvx",
      "env": {
        "PROTON_BRIDGE_EMAIL": "<PROTON_BRIDGE_EMAIL>",
        "PROTON_BRIDGE_PASSWORD": "<PROTON_BRIDGE_PASSWORD>",
        "PROTON_BRIDGE_USERNAME": "<PROTON_BRIDGE_USERNAME>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "proton-workflow-connector": {
      "args": [
        "--with",
        "mcp<2",
        "--from",
        "proton-workflow-connector==1.3.0",
        "proton-mail-mcp"
      ],
      "command": "uvx",
      "env": {
        "PROTON_BRIDGE_EMAIL": "<PROTON_BRIDGE_EMAIL>",
        "PROTON_BRIDGE_PASSWORD": "<PROTON_BRIDGE_PASSWORD>",
        "PROTON_BRIDGE_USERNAME": "<PROTON_BRIDGE_USERNAME>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PROTON_BRIDGE_EMAIL",
      "id": "proton-bridge-email",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "PROTON_BRIDGE_PASSWORD",
      "id": "proton-bridge-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "PROTON_BRIDGE_USERNAME",
      "id": "proton-bridge-username",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "proton-workflow-connector": {
      "args": [
        "--with",
        "mcp<2",
        "--from",
        "proton-workflow-connector==1.3.0",
        "proton-mail-mcp"
      ],
      "command": "uvx",
      "env": {
        "PROTON_BRIDGE_EMAIL": "${input:proton-bridge-email}",
        "PROTON_BRIDGE_PASSWORD": "${input:proton-bridge-password}",
        "PROTON_BRIDGE_USERNAME": "${input:proton-bridge-username}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.proton-workflow-connector]
command = "uvx"
args = ["--with", "mcp<2", "--from", "proton-workflow-connector==1.3.0", "proton-mail-mcp"]
env = { "PROTON_BRIDGE_EMAIL" = "<PROTON_BRIDGE_EMAIL>", "PROTON_BRIDGE_PASSWORD" = "<PROTON_BRIDGE_PASSWORD>", "PROTON_BRIDGE_USERNAME" = "<PROTON_BRIDGE_USERNAME>" }

For AI agents

  1. Ask the user for: PROTON_BRIDGE_USERNAME, PROTON_BRIDGE_PASSWORD, PROTON_BRIDGE_EMAIL. 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, folder_status, create_folder, rename_folder, delete_folder, subscribe_folder, unsubscribe_folder, search_mail, ….
  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