プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Proton Mail (unofficial)

作者:sethbangバージョン 1.0.2i★ –iパソコンで動く
レジストリ名io.github.sethbang/proton-mail-mcp

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: チャット・メール
  • 入力が必要なもの:PROTONMAIL_USERNAME, PROTONMAIL_PASSWORD, IMAP_PASSWORD

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: PROTONMAIL_USERNAME, PROTONMAIL_PASSWORD, PROTONMAIL_HOST, PROTONMAIL_PORT, PROTONMAIL_SECURE, IMAP_HOST, IMAP_PORT, IMAP_SECURE, IMAP_USERNAME, IMAP_PASSWORD, READONLY, RESTRICT_OUTBOUND_TO_SELF, ALLOW_FILE_DOWNLOAD_DIR, ALLOW_EMPTY_FOLDER, DEBUG

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "proton-mail": {
      "command": "npx",
      "args": [
        "-y",
        "proton-mail-mcp"
      ],
      "env": {
        "PROTONMAIL_USERNAME": "your-value",
        "PROTONMAIL_PASSWORD": "your-value",
        "PROTONMAIL_HOST": "your-value",
        "PROTONMAIL_PORT": "your-value",
        "PROTONMAIL_SECURE": "your-value",
        "IMAP_HOST": "your-value",
        "IMAP_PORT": "your-value",
        "IMAP_SECURE": "your-value",
        "IMAP_USERNAME": "your-value",
        "IMAP_PASSWORD": "your-value",
        "READONLY": "your-value",
        "RESTRICT_OUTBOUND_TO_SELF": "your-value",
        "ALLOW_FILE_DOWNLOAD_DIR": "your-value",
        "ALLOW_EMPTY_FOLDER": "your-value",
        "DEBUG": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add proton-mail --env PROTONMAIL_USERNAME=your-value --env PROTONMAIL_PASSWORD=your-value --env PROTONMAIL_HOST=your-value --env PROTONMAIL_PORT=your-value --env PROTONMAIL_SECURE=your-value --env IMAP_HOST=your-value --env IMAP_PORT=your-value --env IMAP_SECURE=your-value --env IMAP_USERNAME=your-value --env IMAP_PASSWORD=your-value --env READONLY=your-value --env RESTRICT_OUTBOUND_TO_SELF=your-value --env ALLOW_FILE_DOWNLOAD_DIR=your-value --env ALLOW_EMPTY_FOLDER=your-value --env DEBUG=your-value -- npx -y proton-mail-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "proton-mail": {
      "command": "npx",
      "args": [
        "-y",
        "proton-mail-mcp"
      ],
      "env": {
        "PROTONMAIL_USERNAME": "your-value",
        "PROTONMAIL_PASSWORD": "your-value",
        "PROTONMAIL_HOST": "your-value",
        "PROTONMAIL_PORT": "your-value",
        "PROTONMAIL_SECURE": "your-value",
        "IMAP_HOST": "your-value",
        "IMAP_PORT": "your-value",
        "IMAP_SECURE": "your-value",
        "IMAP_USERNAME": "your-value",
        "IMAP_PASSWORD": "your-value",
        "READONLY": "your-value",
        "RESTRICT_OUTBOUND_TO_SELF": "your-value",
        "ALLOW_FILE_DOWNLOAD_DIR": "your-value",
        "ALLOW_EMPTY_FOLDER": "your-value",
        "DEBUG": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "proton-mail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "proton-mail-mcp"
      ],
      "env": {
        "PROTONMAIL_USERNAME": "your-value",
        "PROTONMAIL_PASSWORD": "your-value",
        "PROTONMAIL_HOST": "your-value",
        "PROTONMAIL_PORT": "your-value",
        "PROTONMAIL_SECURE": "your-value",
        "IMAP_HOST": "your-value",
        "IMAP_PORT": "your-value",
        "IMAP_SECURE": "your-value",
        "IMAP_USERNAME": "your-value",
        "IMAP_PASSWORD": "your-value",
        "READONLY": "your-value",
        "RESTRICT_OUTBOUND_TO_SELF": "your-value",
        "ALLOW_FILE_DOWNLOAD_DIR": "your-value",
        "ALLOW_EMPTY_FOLDER": "your-value",
        "DEBUG": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • PROTONMAIL_USERNAME 必須 env
    Your Proton Mail email address
  • PROTONMAIL_PASSWORD 秘密 必須 env
    Your Proton Mail SMTP password (not your login password; generate one in Proton settings)
  • PROTONMAIL_HOST env
    SMTP host
  • PROTONMAIL_PORT env
    SMTP port
  • PROTONMAIL_SECURE env
    Use TLS for SMTP (true for port 465)
  • IMAP_HOST env
    Proton Mail Bridge IMAP host (required for read/search tools)
  • IMAP_PORT env
    Proton Mail Bridge IMAP port
  • IMAP_SECURE env
    Use TLS for IMAP
  • IMAP_USERNAME env
    Proton Mail Bridge username (falls back to PROTONMAIL_USERNAME)
  • IMAP_PASSWORD 秘密 env
    Proton Mail Bridge password (falls back to PROTONMAIL_PASSWORD)
  • READONLY env
    Disable all mutating tools (send, move, delete, flags, labels, bulk ops, folder/label management)
  • RESTRICT_OUTBOUND_TO_SELF env
    Refuse live sends to any recipient other than PROTONMAIL_USERNAME (for throwaway/QA accounts)
  • ALLOW_FILE_DOWNLOAD_DIR env
    Allowlist directory enabling download_attachment.saveTo; when unset, attachments return as inline base64
  • ALLOW_EMPTY_FOLDER env
    Register the empty_folder tool (not recommended)
  • DEBUG env
    Enable verbose logging to stderr

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント sethbang で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

チャット・メールのほかのサーバーとの比較i

  • このカテゴリのほかの1838件のうち0%よりスターが多い
  • このカテゴリのほかの1838件のうち11%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1838件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Proton Mail (unofficial)は安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:PROTONMAIL_USERNAME, PROTONMAIL_PASSWORD, IMAP_PASSWORD

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.2)がレジストリに届いたのは5 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Vexa, emailmd, MCP WhatsApp Cloud

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Vexa

作者:Vexa-ai

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

クラウドで動く★ 2,949Apache-2.02 か月前更新
インストール

emailmd

作者:anypost

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

パソコンでもクラウドでも★ 1,385MIT32 日前更新
インストール

MCP WhatsApp Cloud

作者:codespar

MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API

パソコンで動く★ 277MIT5 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Proton Mail MCP Server

A Model Context Protocol (MCP) server that gives AI assistants full access to your Proton Mail account -- send, read, search, and organize email over SMTP and IMAP.

⚠️ Unofficial — not affiliated with Proton. This is an independent, community-built project. It is not developed, endorsed, sponsored, or supported by Proton AG. "Proton", "Proton Mail", and "Proton Mail Bridge" are trademarks of Proton AG, used here only to describe interoperability. It talks to Proton Mail over the standard SMTP submission endpoint and the locally-run Proton Mail Bridge; no Proton private API is used. Use at your own risk.

Demo

Features

  • Send, reply, and forward email via Proton Mail SMTP with threading headers; dedicated reply_all_email tool
  • Markdown bodies -- pass markdownBody to send_email / reply_email / reply_all_email / forward_email; rendered to HTML with a plain-text fallback
  • Read email via IMAP through Proton Mail Bridge
  • Attachments -- send files (base64), download to memory or to disk (saveTo + ALLOW_FILE_DOWNLOAD_DIR), forward a subset by part number
  • Search messages by sender, recipient, subject, body, date, flags, size, List-ID, attachment presence, attachment name (substring), and attachment MIME type
  • Organize -- move, delete, and flag/unflag messages individually or in bulk; bulk-update labels too
  • Bulk operations -- bulk_move, bulk_delete, bulk_update_flags, bulk_update_labels with dryRun preview and XOR uid/match input
  • Folder & label management -- create_folder, create_label, rename_folder, delete_folder (non-destructive on Proton); empty_folder (opt-in via ALLOW_EMPTY_FOLDER=true; not recommended)
  • Labeling -- update_message_labels adds and removes Proton labels on a message (additive — message stays in its source folder)
  • Aggregations -- count_messages, folder_stats, top_senders (with excludeSelf + per-row direction) for inbox analytics
  • Thread mutations -- move_thread, delete_thread, flag_thread with optional cross-folder walk; get_thread dedupes by Message-ID across mailbox copies
  • Snippets -- optional includeSnippet on list_messages and search_messages for at-a-glance previews
  • List folders with message and unread counts
  • Honest accounting -- post-STORE FETCH verify on flags/labels surfaces silently-dropped operations as notApplied; sent-copy lookup retries SEARCH to defeat Proton's index lag; Reply-To rewrites are surfaced in the send response
  • Safety first -- delete moves to Trash by default (via special-use resolver), read-only mode via READONLY=true, dryRun on all bulk ops, MCP tool annotations for client-side confirmation prompts, path-traversal defense on filesystem-touching tools
  • Security hardened -- input validation, credential sanitization, rate limiting, attachment size limits
  • Works with any MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.)

Prerequisites

Quick Start

Add to your MCP client

Add the following to your client's MCP server configuration (Claude Desktop, Claude Code, Cursor, etc.):

{

"mcpServers": { "protonmail": { "command": "npx", "args": ["-y", "proton-mail-mcp"], "env": { "PROTONMAIL_USERNAME": "your-email@protonmail.com", "PROTONMAIL_PASSWORD": "your-smtp-password" } } } }

That's it — npx will download and run the server automatically. See Configuration for all available environment variables.

Install from source

If you prefer to run from a local clone:

git clone https://github.com/sethbang/proton-mail-mcp.git

cd proton-mail-mcp npm install npm run build

Then use this MCP config instead:

{

"mcpServers": { "protonmail": { "command": "node", "args": ["/absolute/path/to/proton-mail-mcp/build/index.js"], "env": { "PROTONMAIL_USERNAME": "your-email@protonmail.com", "PROTONMAIL_PASSWORD": "your-smtp-password" } } } }

Tools

Sending

All send tools return the Message-ID of the sent message in their response, which can be used to locate the message via IMAP search. All four send tools (send_email, reply_email, reply_all_email, forward_email) perform a best-effort lookup of the sent copy UID in the resolved \Sent folder (retried across ~30s to defeat Proton's indexing lag) and lead the response with a machine-parseable token prefix — [sent-copy:verified] or [sent-copy:unverified], plus [reply-to:preserved|rewritten|stripped|unverified] when replyTo was requested. Agents can grep these tokens instead of text-matching prose. When the Sent-copy lookup converges, the response also includes a Sent copy UID: N in Sent clause; when it doesn't, the leading verb switches from "X sent successfully (Sent-copy verified)" to "X send accepted by SMTP (Sent-copy unverified within the lookup window)" — the message did go out, but per-delivery verification couldn't be completed within the budget.

🛡️ HTML sanitization defaults to ON (since v1.0.0). Send / reply / forward / save_draft tools strip , event handlers, inline style attributes, and remote beacons via a conservative allowlist before delivery. Pass sanitizeHtml: false to preserve full-fidelity HTML for trusted-content workflows. The success response notes when sanitization ran.

⚠️ Display-name spoofing partially defended. As of v1.0.0, fromName rejects values containing @ by default — without this guard, a fromName like "Anthropic Security " reaches the wire as Anthropic Security security@anthropic.com after angle-bracket sanitization, which mail clients render as a forged sender. Pass allowAddressLikeFromName: true to override for legitimate product names. SMTP itself still prevents *address-level* spoofing (the envelope From: is bound to your authenticated identity), and arbitrary display names without @ are still allowed (e.g. "CEO of Acme") — treat fromName like any other user-controllable string.

All send/reply/forward/save_draft tools accept an alternative markdownBody parameter (rendered to HTML via marked) — mutually exclusive with body+isHtml. sanitizeHtml applies after Markdown rendering.

🛡️ Outbound preview + self-only lock. send_email, reply_email, reply_all_email, and forward_email accept dryRun: true — it runs all validation and resolves the complete recipient set (To/CC/BCC, including the reply-all fan-out) and returns it without sending, leading with an [outbound:*] token and an explicit list of any external (non-self) recipients. Use it to confirm exactly who would receive the mail before a live call. For throwaway/QA accounts, set RESTRICT_OUTBOUND_TO_SELF=true (see Environment variables) to *refuse* any live send to a non-self recipient — preventing an agent from fanning real mail out to external addresses embedded in seed data. (Preview is caller-opt-in; the env lock is enforced server-side with no per-call override.)

send_email

Send an email using Proton Mail SMTP.

ParameterRequiredDescription
toYesRecipient address(es), comma-separated
subjectYesSubject line
bodyConditionalPlain text or HTML content. Required unless markdownBody is provided
isHtmlNoWhether body is HTML (default: false)
markdownBodyNoMarkdown source — rendered to HTML before sending. Mutually exclusive with body/isHtml
sanitizeHtmlNoStrip scripts, event handlers, inline styles, and remote beacons via a conservative allowlist when the body is HTML. Default `true` as of v1.0.0. Pass false to preserve full-fidelity HTML. No-op on plain-text
ccNoCC recipient(s), comma-separated
bccNoBCC recipient(s), comma-separated (count in response dedupes against To/CC)
replyToNoReply-To address (Proton SMTP may rewrite values that don't match an authenticated identity; rewrites are surfaced in the response)
fromNameNoDisplay name for the From field. Rejects values containing @ by default (display-name-as-address spoofing defense — see warning above). Pass allowAddressLikeFromName: true to override for legitimate cases (product names with @)
allowAddressLikeFromNameNoOpt-in escape valve for fromName containing @. Default false
attachmentsNoArray of {filename, content, contentType}. content is validated as base64 at the Zod boundary (catches malformed payloads before nodemailer silently emits garbage bytes); contentType is validated as a MIME type/subtype (catches malformed values before SMTP rejects the message)
dryRunNoValidate and resolve the full recipient set (To/CC/BCC) + subject + body without sending. Returns a preview leading with an [outbound:*] token and an explicit list of any external (non-self) recipients (default: false)
reply_email

Reply to a message with proper threading headers (In-Reply-To, References). Includes the quoted original message with attribution by default.

ParameterRequiredDescription
uidYesUID of the message to reply to
bodyConditionalReply body content. Required unless markdownBody is provided
folderNoFolder containing the original message (default: INBOX)
isHtmlNoWhether body is HTML (default: false)
markdownBodyNoMarkdown source. Mutually exclusive with body/isHtml
sanitizeHtmlNoStrip scripts, event handlers, inline styles, and remote beacons via a conservative allowlist when the body is HTML. Default `true` as of v1.0.0. Pass false to preserve full-fidelity HTML. No-op on plain-text
ccNoAdditional CC recipients, comma-separated
bccNoBCC recipients, comma-separated
replyAllNoReply to all recipients instead of just sender (default: false). Prefer the dedicated reply_all_email tool for discoverability
includeQuoteNoInclude quoted original message below reply (default: true)
dryRunNoResolve the reply recipients (incl. reply-all fan-out) + subject without sending; returns a preview of who would receive it (default: false)
reply_all_email

Reply to all original recipients (sender + TO + CC), excluding the authenticated user. Same threading + quoting semantics as reply_email. Use this instead of reply_email + replyAll: true for clarity. Self-exclusion covers the whole recipient set including the primary To: replying-all to a message you sent reaches the original recipients rather than looping back to you.

ParameterRequiredDescription
uidYesUID of the message to reply to
bodyConditionalReply body content. Required unless markdownBody is provided

| folder | No

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く