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

Apple Mail

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

インストール

概要

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

Search and read Apple Mail on macOS, read-only: mailboxes, messages and threads.

PopNx MCPの3つの柱

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

できること

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

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 検索・AIの記憶

インストール

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

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

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

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

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

作者の .mcpb ファイルをダウンロード

リンク先は作者自身のファイルです。私たちが置いたり再パッケージしたりしたものではありません。ファイルを開くと、Claude Desktopがインストールします。

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

claude mcp add apple-mail -- npx -y @redpop/apple-mail-mcp

Cursorで開く

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

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

{
  "mcpServers": {
    "apple-mail": {
      "command": "npx",
      "args": [
        "-y",
        "@redpop/apple-mail-mcp"
      ]
    }
  }
}

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

VS Codeで開く

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

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

{
  "servers": {
    "apple-mail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@redpop/apple-mail-mcp"
      ]
    }
  }
}

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

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

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

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

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

  • … 未チェック

    ライセンスがある

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

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

検索・AIの記憶のほかのサーバーとの比較i

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

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

よくある質問

Apple Mailは安全ですか?

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

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

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:Context7, Codebase Memory, Exa

代わりの候補

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

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

Context7

作者:upstash

Up-to-date docs for AI agents

パソコンでもクラウドでも★ 64,224MIT昨日更新
インストール

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

パソコンで動く★ 48,148MIT21 日前更新
インストール

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

クラウドで動く★ 5,213MIT2 か月前更新
インストール

作者のREADME

READMEを開く

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

apple-mail-mcp

A read-only MCP server that lets an AI assistant search and read the mail in Apple Mail.

macOS only. It reads the local index that Mail.app keeps on your Mac.

claude mcp add apple-mail -- npx -y @redpop/apple-mail-mcp

Then grant Full Disk Access once with npx -y @redpop/apple-mail-mcp setup. For Claude Desktop there is a one-click bundle: see Install.

What it does

The main use is "find the mail about X":

"Find the mail from the landlord about the heating bill"

"What did Anna send me last week with an attachment?" "Show the whole thread about the contract renewal"

Four tools: list_mailboxes, search_messages, get_message, get_thread. Search covers sender, recipient, subject, free text, mailbox, date range, unread, flagged and attachments, and can also look inside message bodies. Results carry a message:// link that opens the mail in Mail.app, where Mail stores the Message-ID (not on macOS 15). Details: docs/tools.md.

Why this one

  • Fast. It queries Mail's SQLite index instead of scripting Mail.app with AppleScript. On one real mailbox with about 240,000 message rows, a page of search results takes 4 to 90 ms in the helper, a subject search 25 ms after the first one; see docs/architecture.md for the measurements and their limits.
  • Full Disk Access goes to a small helper, not to your terminal or your AI client. The server reaches Mail's files through a small app, "Mail MCP Helper", and macOS binds the permission to that app alone. Node, Terminal and Claude never get it.
  • Read-only by construction, not by a flag. There is no code that sends, drafts, moves, deletes or flags mail, none that opens the database for writing, and none that opens a network connection.
  • Mail.app does not have to be running and no Automation prompt appears. Your data is only as fresh as Mail's last sync, though, and a message that Mail never downloaded has no body.
  • Threads and deep links. get_thread returns a conversation; messages carry a message:// link (not on macOS 15).
  • Security mails are withheld by default. Messages that look like verification codes, password resets or sign-in links are shown without their body, with digits in the subject masked, and cannot be found by body search. Detection is best effort, not a guarantee.
  • Settings come from configuration, never from tool parameters, so a malicious mail cannot ask the model to switch them off.
  • Works with [apple-calendar-mcp](https://github.com/redpop/apple-calendar-mcp): "find the mail about Thursday's meeting". Same conventions: timestamps in ISO 8601 with offset, and errors as an isError result with one plain-English sentence per error code.

Requirements

  • macOS 15 or later. Verified with a real mailbox only on macOS 27.0.1 with Mail 16.0. The database layout of macOS 15.8 and 26.6 passes the helper's column check, taken from runners without a mail account. On macOS 15 Mail stores no Message-ID header, so results there carry no message:// link. Support depends on the layout of Mail's database, not on the version number: doctor checks it. Reports from other versions are welcome, see Reporting problems.
  • Node.js 22.16 or newer in the 22 line, or 24 and newer.
  • Mail set up with at least one account.
  • Exchange accounts are untested. Mailboxes and message metadata are listed, but bodies of Exchange mail are not read yet: get_message reports file_not_found. See docs/exchange.md.

Security model in short

A mailbox holds secrets: codes, reset links, contracts. Read this before connecting it to a model that can also reach the internet.

  • The helper holds Full Disk Access and runs only fixed commands. It has no free-form SQL and no path parameter, and it never parses mail content. Untrusted MIME is parsed in Node, which has no special permission.
  • Mail text is untrusted input. The server tells the model so, but cannot force it.
  • If your client also has a web or send tool, a malicious mail could try to make the model leak what it read. Use confirmations for those tools, or keep this server in a client without them.
  • Any program running as your user can start the helper and read your mail with it. This is less than giving Full Disk Access to Terminal, but it is not nothing.
  • The optional body index is a plain-text copy of your mail that any program of your user can read, without Full Disk Access. It is off by default; see Body index.

The full threat model and both residual risks: SECURITY.md.

Install

Claude Code and Cowork, as a plugin (settings in a dialog, updates with each release):

/plugin install apple-mail-mcp --marketplace redpop/apple-mail-mcp

The plugin runs the npm package below at the plugin's version. Grant Full Disk Access once with npx -y @redpop/apple-mail-mcp setup.

Claude Code without the plugin (or any client that starts a command):

claude mcp add apple-mail -- npx -y @redpop/apple-mail-mcp

npx -y @redpop/apple-mail-mcp setup

setup walks you through the Full Disk Access grant. Settings are environment variables, see Configuration.

Claude Desktop: download apple-mail-mcp- .mcpb from the latest release and open it. Claude Desktop installs the extension and shows its settings page; the settings there are the same as the environment variables. The first tool call without access opens System Settings and the Finder window for the grant.

Each release lists SHA256SUMS and carries build provenance attestations for the bundle and the helper zip.

Install from source

For development, or to run unreleased changes. You need the Xcode Command Line Tools (for Swift) and an Apple Development certificate in your keychain for a build that keeps its permission across rebuilds; without one the build is ad hoc and gets its own, weaker identity.

git clone https://github.com/redpop/apple-mail-mcp.git

cd apple-mail-mcp npm ci npm run build # TypeScript -> dist/ npm run build:helper # Swift helper -> bin/Mail MCP Helper (Dev).app

Then give the helper Full Disk Access (next section) and register the server:

claude mcp add apple-mail \

-e APPLE_MAIL_HELPER_PATH="$PWD/bin/Mail MCP Helper (Dev).app" \ -- node "$PWD/dist/index.js"

APPLE_MAIL_HELPER_PATH points the server at your local build. Without it the server looks for the release bundle Mail MCP Helper.app inside the package, which only the release pipeline produces. A local build is named "Mail MCP Helper (Dev)" (Apple Development signature) or "Mail MCP Helper (Ad hoc)" (no certificate). Both use their own bundle id, so they never disturb the permission of the release app.

The build script never signs with a Developer ID certificate outside CI.

Grant Full Disk Access

macOS protects ~/Library/Mail and offers no dialog to ask for access. You grant it once, to the helper app:

  1. Run setup (from source: APPLE_MAIL_HELPER_PATH="$PWD/bin/Mail MCP Helper (Dev).app" node dist/index.js setup; from npm: npx -y @redpop/apple-mail-mcp setup). It opens System Settings at Privacy & Security > Full Disk Access, shows the helper in Finder, and waits until access works.
  2. Drag Mail MCP Helper from the Finder window into the list and switch it on. (For a local build the name is "Mail MCP Helper (Dev)".) Alternatively click +, press Cmd-Shift-G and paste the path that setup prints.
  3. setup reports success and prints the command to add the server to Claude Code.

Without a terminal (for example with the MCPB bundle) the first tool call that is denied opens System Settings and the Finder window by itself, once per server process, and the error message lists the same steps.

Notes:

  • The permission belongs to the app's bundle id, not to its location. You can move the package or update it without granting again.
  • If "Mail MCP Helper" is listed and switched on but access is still denied, the entry is stale. Remove it with the minus button and add it again.
  • No restart is needed after granting.

More cases: docs/troubleshooting.md.

Configuration

Set these in the environment of the server, for example with claude mcp add -e NAME=value. They cannot be changed through tool parameters. Booleans accept true, false, 1, 0. An empty value counts as not set. An invalid value does not stop the server; every tool call then fails with CONFIG_INVALID naming the setting, and nothing falls back to "allow all".

The server reads these settings once, at startup. After changing them, restart the client. In Claude Desktop, quit the app (Cmd-Q) and open it again: switching the extension off and on, or saving its settings, keeps the running server and its old settings.

VariableDefaultMeaning
APPLE_MAIL_ACCOUNTSempty (all accounts)Comma-separated allowlist. An entry matches an account's UUID, address or name, ignoring case. A name shared by two accounts matches both; use the address or UUID to pick one.
APPLE_MAIL_INCLUDE_JUNKfalseInclude mailboxes with the junk role and their subfolders.
APPLE_MAIL_INCLUDE_TRASHfalseInclude mailboxes with the trash role and their subfolders.
APPLE_MAIL_EXCLUDE_MAILBOXESemptyComma-separated mailboxes to hide. An entry matches a mailbox name (exact, ignoring case) or a path with /.
APPLE_MAIL_SHOW_SECURITY_MAILSfalseShow messages detected as security mails without withholding the body or masking the subject.
APPLE_MAIL_BODY_SEARCHtrueAllow bodyContains in search_messages. When false, using it is an INVALID_INPUT error.
APPLE_MAIL_BODY_INDEXfalseBuild a full-text index of message bodies on disk, so bodyContains can search every message. Takes effect only with APPLE_MAIL_BODY_SEARCH. Turning it off deletes the index at the next start.
APPLE_MAIL_MAX_RESULTS50Upper bound for the limit of a search (1 to 100).
APPLE_MAIL_MAX_BODY_CHARS20000Upper bound for maxChars in get_message (1000 to 100000).
APPLE_MAIL_HELPER_PATHnot setDevelopment only: path to a helper bundle (Dev or Ad hoc). A bundle with the release bundle id is refused.
APPLE_MAIL_MCP_DEBUGfalseWrite one line per helper request to stderr: command, duration and result code, for example apple-mail-mcp: search 42 ms ok. Never payloads or results.

Example: only the work account, no mailbox called Archive.

claude mcp add apple-mail \

-e APPLE_MAIL_ACCOUNTS=work@example.com \ -e APPLE_MAIL_EXCLUDE_MAILBOXES=Archive \ -- npx -y @redpop/apple-mail-mcp

Body index

Without an index, bodyContains decodes messages while it searches, so one call looks at no more than the 2,000 newest candidates or 3 seconds of work. A mail from years ago can take many pages to reach. With APPLE_MAIL_BODY_INDEX=true the server keeps a full-text index of the message bodies and searches all of them in one call, with the same matches, order and matchContext as the scan.

  • Disk space: about 14 KiB per mail. On the test mailbox, 121,000 mails took 1.7 GiB.
  • Build time: about 3 ms per mail, just under 6 minutes for 120,000 mails. The server builds it in the background after its first successful tool call and continues after a restart. Tool calls go first.
  • Until it is complete bodyContains scans as before, and the note says how far the build is. Terms shorter than 3 characters are always scanned.
  • It keeps itself current: new mail is added before each body search and every mi

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

PopNxに聞く