AgentHubAgentHub

Proton Mail (unofficial)

MCP ServerMCP Registry官方收录

io.github.sethbang/proton-mail-mcp · v1.0.2

Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP

概览

Proton Mail (unofficial) 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "proton-mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "proton-mail-mcp"
      ],
      "env": {
        "PROTONMAIL_USERNAME": "<PROTONMAIL_USERNAME>",
        "PROTONMAIL_PASSWORD": "<PROTONMAIL_PASSWORD>"
      }
    }
  }
}

环境变量

PROTONMAIL_USERNAME必填

Your Proton Mail email address

PROTONMAIL_PASSWORD必填secret

Your Proton Mail SMTP password (not your login password; generate one in Proton settings)

PROTONMAIL_HOST可选

SMTP host

PROTONMAIL_PORT可选

SMTP port

PROTONMAIL_SECURE可选

Use TLS for SMTP (true for port 465)

IMAP_HOST可选

Proton Mail Bridge IMAP host (required for read/search tools)

IMAP_PORT可选

Proton Mail Bridge IMAP port

IMAP_SECURE可选

Use TLS for IMAP

IMAP_USERNAME可选

Proton Mail Bridge username (falls back to PROTONMAIL_USERNAME)

IMAP_PASSWORD可选secret

Proton Mail Bridge password (falls back to PROTONMAIL_PASSWORD)

READONLY可选

Disable all mutating tools (send, move, delete, flags, labels, bulk ops, folder/label management)

RESTRICT_OUTBOUND_TO_SELF可选

Refuse live sends to any recipient other than PROTONMAIL_USERNAME (for throwaway/QA accounts)

ALLOW_FILE_DOWNLOAD_DIR可选

Allowlist directory enabling download_attachment.saveTo; when unset, attachments return as inline base64

ALLOW_EMPTY_FOLDER可选

Register the empty_folder tool (not recommended)

DEBUG可选

Enable verbose logging to stderr

相关资源

统一 Manifest

{
  "id": "io.github.sethbang/proton-mail-mcp",
  "type": "mcp-server",
  "version": "1.0.2",
  "displayName": "Proton Mail (unofficial)",
  "description": "Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP",
  "repository": {
    "url": "https://github.com/sethbang/proton-mail-mcp",
    "source": "github"
  },
  "homepage": "https://sethbang.github.io/proton-mail-mcp/",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "proton-mail-mcp",
        "version": "1.0.2",
        "runtimeHint": "npx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "PROTONMAIL_USERNAME",
            "description": "Your Proton Mail email address",
            "isRequired": true
          },
          {
            "name": "PROTONMAIL_PASSWORD",
            "description": "Your Proton Mail SMTP password (not your login password; generate one in Proton settings)",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "PROTONMAIL_HOST",
            "description": "SMTP host"
          },
          {
            "name": "PROTONMAIL_PORT",
            "description": "SMTP port"
          },
          {
            "name": "PROTONMAIL_SECURE",
            "description": "Use TLS for SMTP (true for port 465)"
          },
          {
            "name": "IMAP_HOST",
            "description": "Proton Mail Bridge IMAP host (required for read/search tools)"
          },
          {
            "name": "IMAP_PORT",
            "description": "Proton Mail Bridge IMAP port"
          },
          {
            "name": "IMAP_SECURE",
            "description": "Use TLS for IMAP"
          },
          {
            "name": "IMAP_USERNAME",
            "description": "Proton Mail Bridge username (falls back to PROTONMAIL_USERNAME)"
          },
          {
            "name": "IMAP_PASSWORD",
            "description": "Proton Mail Bridge password (falls back to PROTONMAIL_PASSWORD)",
            "isSecret": true
          },
          {
            "name": "READONLY",
            "description": "Disable all mutating tools (send, move, delete, flags, labels, bulk ops, folder/label management)"
          },
          {
            "name": "RESTRICT_OUTBOUND_TO_SELF",
            "description": "Refuse live sends to any recipient other than PROTONMAIL_USERNAME (for throwaway/QA accounts)"
          },
          {
            "name": "ALLOW_FILE_DOWNLOAD_DIR",
            "description": "Allowlist directory enabling download_attachment.saveTo; when unset, attachments return as inline base64"
          },
          {
            "name": "ALLOW_EMPTY_FOLDER",
            "description": "Register the empty_folder tool (not recommended)"
          },
          {
            "name": "DEBUG",
            "description": "Enable verbose logging to stderr"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.sethbang/proton-mail-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.sethbang%2Fproton-mail-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Proton Mail (unofficial) — MCP Server 安装与配置 · AgentHub