プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Apple Safari

作者:mgcreaバージョン 1.42.0i★ 6 (リポジトリ全体のスター)iパソコンで動く公式サイト ↗
レジストリ名io.github.mgcrea/mcp-apple-safari

インストール方法

What it does

Read and act on Safari — history, tabs and reading list, writes off by default

  • Connects パソコンで動く
  • Account or key Needs APPLE_SAFARI_COOKIE_HOSTS
  • Category その他

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気22/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア34/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: 18 (「急上昇」タブでのみ使用)

インストール

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

ひとことで AI にインストールしてもらう

Apple Safari をインストールして。https://mcp.popnx.com/i/mgcrea-mcp-apple-safari.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月18日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Apple Safari を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "apple-safari": { "command": "npx", "args": [ "-y", "@mgcrea/mcp-apple-safari" ], "env": { "APPLE_SAFARI_COOKIE_HOSTS": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) APPLE_SAFARI_COOKIE_HOSTS は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Apple Safari のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. Apple Safari に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    Apple Safari のサイトを開く ↗

  3. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  4. この設定を貼り付けて保存

    {
      "mcpServers": {
        "apple-safari": {
          "command": "npx",
          "args": [
            "-y",
            "@mgcrea/mcp-apple-safari"
          ],
          "env": {
            "APPLE_SAFARI_COOKIE_HOSTS": "your-value"
          }
        }
      }
    }

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. Claude を終了してもう一度開く

  6. 試してみる

    Apple Safari を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Apple Safari を使っていると言うか、回答に Apple Safari のツール名が出れば接続成功です

追加の設定 6 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • APPLE_SAFARI_ALLOW_WRITES 変更系ツールを登録します。デフォルトでは無効です。書き込みツールが存在するかどうかはゲートが決定し、単に拒否するだけではありません。書き込みが無効の場合、エージェントにはこれらのツールが表示されません。
    英語の原文を見るRegister the mutating tools. Off by default, and the gate decides whether the write tools exist at all rather than merely refusing — an agent with writes off cannot see them.
  • APPLE_SAFARI_ALLOW_CODES ワンタイムコードを返します。apple_safari_page_elements の one-time-code フィールドと、ページにテキストとして表示されたコードを探す apple_safari_find_codes です。読み取り操作であるため、allowWrites ではなく独自のゲートを持ちます。
    英語の原文を見るReturn one-time codes: a one-time-code field in apple_safari_page_elements, and apple_safari_find_codes for a code a page shows as text. Its own gate rather than allowWrites, because it is a read. Cr…
  • APPLE_SAFARI_ALLOW_NETWORK Register apple_safari_network_record, _list and _get, which record what a page you allowed the extension on fetches and read the responses. Its own gate rather than allowWrites, because it is a read;…
  • APPLE_SAFARI_ALLOW_COOKIES Register apple_safari_cookies, which lists the cookies Safari would send to an open page, HttpOnly ones included, through the extension's cookies permission. Its own gate rather than allowWrites, bec…
  • APPLE_SAFARI_DOWNLOAD_DIR apple_safari_network_get および apple_safari_cookies で saveAs がファイルを書き込む場所。既定値は /Downloads です。名前は basename のみに限定され、要求されない限り既存のファイルは置き換えられません。
    英語の原文を見るWhere saveAs writes a file, for apple_safari_network_get and apple_safari_cookies. Defaults to ~/Downloads. A name is kept to its basename and an existing file is never replaced unless asked.
  • APPLE_SAFARI_NETWORK_CHUNK_CHARS 大きな本文を読み取る際に、サーバーがコマンドごとにページへ要求する文字数。既定値は 262144 で、動作確認済みです。Safari のネイティブメッセージチャネルがそれをどこまで超えられるかは…
    英語の原文を見るCharacters of a body the server asks the page for per command when it reads a large body. Defaults to 262144, which was measured to work; how far above that Safari's native-message channel goes is un…

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Apple Safari につなげません

Apple Safari はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Apple Safari につなげるアプリを使う

  • Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
  • Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
  • Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

B · その他 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Apple Safari を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user apple-safari --env APPLE_SAFARI_COOKIE_HOSTS=your-value -- npx -y @mgcrea/mcp-apple-safari 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) APPLE_SAFARI_COOKIE_HOSTS は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Apple Safari のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. Apple Safari に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    Apple Safari のサイトを開く ↗

  3. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  4. このコマンドを貼り付けて Enter

    claude mcp add --scope user apple-safari --env APPLE_SAFARI_COOKIE_HOSTS=your-value -- npx -y @mgcrea/mcp-apple-safari

    Enter の前に「your-value」を自分のキーに書き換えてください

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. Claude Code で /mcp と入力

    Apple Safari が一覧にあり、接続済みと表示されれば OK です

  6. 試してみる

    Apple Safari を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Apple Safari を使っていると言うか、回答に Apple Safari のツール名が出れば接続成功です

追加の設定 6 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • APPLE_SAFARI_ALLOW_WRITES 変更系ツールを登録します。デフォルトでは無効です。書き込みツールが存在するかどうかはゲートが決定し、単に拒否するだけではありません。書き込みが無効の場合、エージェントにはこれらのツールが表示されません。
    英語の原文を見るRegister the mutating tools. Off by default, and the gate decides whether the write tools exist at all rather than merely refusing — an agent with writes off cannot see them.
  • APPLE_SAFARI_ALLOW_CODES ワンタイムコードを返します。apple_safari_page_elements の one-time-code フィールドと、ページにテキストとして表示されたコードを探す apple_safari_find_codes です。読み取り操作であるため、allowWrites ではなく独自のゲートを持ちます。
    英語の原文を見るReturn one-time codes: a one-time-code field in apple_safari_page_elements, and apple_safari_find_codes for a code a page shows as text. Its own gate rather than allowWrites, because it is a read. Cr…
  • APPLE_SAFARI_ALLOW_NETWORK Register apple_safari_network_record, _list and _get, which record what a page you allowed the extension on fetches and read the responses. Its own gate rather than allowWrites, because it is a read;…
  • APPLE_SAFARI_ALLOW_COOKIES Register apple_safari_cookies, which lists the cookies Safari would send to an open page, HttpOnly ones included, through the extension's cookies permission. Its own gate rather than allowWrites, bec…
  • APPLE_SAFARI_DOWNLOAD_DIR apple_safari_network_get および apple_safari_cookies で saveAs がファイルを書き込む場所。既定値は /Downloads です。名前は basename のみに限定され、要求されない限り既存のファイルは置き換えられません。
    英語の原文を見るWhere saveAs writes a file, for apple_safari_network_get and apple_safari_cookies. Defaults to ~/Downloads. A name is kept to its basename and an existing file is never replaced unless asked.
  • APPLE_SAFARI_NETWORK_CHUNK_CHARS 大きな本文を読み取る際に、サーバーがコマンドごとにページへ要求する文字数。既定値は 262144 で、動作確認済みです。Safari のネイティブメッセージチャネルがそれをどこまで超えられるかは…
    英語の原文を見るCharacters of a body the server asks the page for per command when it reads a large body. Defaults to 262144, which was measured to work; how far above that Safari's native-message channel goes is un…

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Apple Safari を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "apple-safari": { "command": "npx", "args": [ "-y", "@mgcrea/mcp-apple-safari" ], "env": { "APPLE_SAFARI_COOKIE_HOSTS": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) APPLE_SAFARI_COOKIE_HOSTS は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Apple Safari のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. Apple Safari に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    Apple Safari のサイトを開く ↗

  3. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  4. キーを入力

    Apple Safari の設定で APPLE_SAFARI_COOKIE_HOSTS が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. Cursor の AI チャットを Agent モードで開く

  6. 試してみる

    Apple Safari を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Apple Safari を使っていると言うか、回答に Apple Safari のツール名が出れば接続成功です

追加の設定 6 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • APPLE_SAFARI_ALLOW_WRITES 変更系ツールを登録します。デフォルトでは無効です。書き込みツールが存在するかどうかはゲートが決定し、単に拒否するだけではありません。書き込みが無効の場合、エージェントにはこれらのツールが表示されません。
    英語の原文を見るRegister the mutating tools. Off by default, and the gate decides whether the write tools exist at all rather than merely refusing — an agent with writes off cannot see them.
  • APPLE_SAFARI_ALLOW_CODES ワンタイムコードを返します。apple_safari_page_elements の one-time-code フィールドと、ページにテキストとして表示されたコードを探す apple_safari_find_codes です。読み取り操作であるため、allowWrites ではなく独自のゲートを持ちます。
    英語の原文を見るReturn one-time codes: a one-time-code field in apple_safari_page_elements, and apple_safari_find_codes for a code a page shows as text. Its own gate rather than allowWrites, because it is a read. Cr…
  • APPLE_SAFARI_ALLOW_NETWORK Register apple_safari_network_record, _list and _get, which record what a page you allowed the extension on fetches and read the responses. Its own gate rather than allowWrites, because it is a read;…
  • APPLE_SAFARI_ALLOW_COOKIES Register apple_safari_cookies, which lists the cookies Safari would send to an open page, HttpOnly ones included, through the extension's cookies permission. Its own gate rather than allowWrites, bec…
  • APPLE_SAFARI_DOWNLOAD_DIR apple_safari_network_get および apple_safari_cookies で saveAs がファイルを書き込む場所。既定値は /Downloads です。名前は basename のみに限定され、要求されない限り既存のファイルは置き換えられません。
    英語の原文を見るWhere saveAs writes a file, for apple_safari_network_get and apple_safari_cookies. Defaults to ~/Downloads. A name is kept to its basename and an existing file is never replaced unless asked.
  • APPLE_SAFARI_NETWORK_CHUNK_CHARS 大きな本文を読み取る際に、サーバーがコマンドごとにページへ要求する文字数。既定値は 262144 で、動作確認済みです。Safari のネイティブメッセージチャネルがそれをどこまで超えられるかは…
    英語の原文を見るCharacters of a body the server asks the page for per command when it reads a large body. Defaults to 262144, which was measured to work; how far above that Safari's native-message channel goes is un…

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Apple Safari を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "apple-safari": { "type": "stdio", "command": "npx", "args": [ "-y", "@mgcrea/mcp-apple-safari" ], "env": { "APPLE_SAFARI_COOKIE_HOSTS": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) APPLE_SAFARI_COOKIE_HOSTS は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Apple Safari のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. Apple Safari に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    Apple Safari のサイトを開く ↗

  3. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  4. キーを入力

    Apple Safari の設定で APPLE_SAFARI_COOKIE_HOSTS が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. VS Code の AI チャットを Agent モードで開く

  6. 試してみる

    Apple Safari を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Apple Safari を使っていると言うか、回答に Apple Safari のツール名が出れば接続成功です

追加の設定 6 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • APPLE_SAFARI_ALLOW_WRITES 変更系ツールを登録します。デフォルトでは無効です。書き込みツールが存在するかどうかはゲートが決定し、単に拒否するだけではありません。書き込みが無効の場合、エージェントにはこれらのツールが表示されません。
    英語の原文を見るRegister the mutating tools. Off by default, and the gate decides whether the write tools exist at all rather than merely refusing — an agent with writes off cannot see them.
  • APPLE_SAFARI_ALLOW_CODES ワンタイムコードを返します。apple_safari_page_elements の one-time-code フィールドと、ページにテキストとして表示されたコードを探す apple_safari_find_codes です。読み取り操作であるため、allowWrites ではなく独自のゲートを持ちます。
    英語の原文を見るReturn one-time codes: a one-time-code field in apple_safari_page_elements, and apple_safari_find_codes for a code a page shows as text. Its own gate rather than allowWrites, because it is a read. Cr…
  • APPLE_SAFARI_ALLOW_NETWORK Register apple_safari_network_record, _list and _get, which record what a page you allowed the extension on fetches and read the responses. Its own gate rather than allowWrites, because it is a read;…
  • APPLE_SAFARI_ALLOW_COOKIES Register apple_safari_cookies, which lists the cookies Safari would send to an open page, HttpOnly ones included, through the extension's cookies permission. Its own gate rather than allowWrites, bec…
  • APPLE_SAFARI_DOWNLOAD_DIR apple_safari_network_get および apple_safari_cookies で saveAs がファイルを書き込む場所。既定値は /Downloads です。名前は basename のみに限定され、要求されない限り既存のファイルは置き換えられません。
    英語の原文を見るWhere saveAs writes a file, for apple_safari_network_get and apple_safari_cookies. Defaults to ~/Downloads. A name is kept to its basename and an existing file is never replaced unless asked.
  • APPLE_SAFARI_NETWORK_CHUNK_CHARS 大きな本文を読み取る際に、サーバーがコマンドごとにページへ要求する文字数。既定値は 262144 で、動作確認済みです。Safari のネイティブメッセージチャネルがそれをどこまで超えられるかは…
    英語の原文を見るCharacters of a body the server asks the page for per command when it reads a large body. Defaults to 262144, which was measured to work; how far above that Safari's native-message channel goes is un…

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Apple Safari を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user apple-safari --env APPLE_SAFARI_COOKIE_HOSTS=your-value -- npx -y @mgcrea/mcp-apple-safari

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "apple-safari": {
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-safari"
      ],
      "env": {
        "APPLE_SAFARI_COOKIE_HOSTS": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "apple-safari": {
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-safari"
      ],
      "env": {
        "APPLE_SAFARI_COOKIE_HOSTS": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "apple-safari": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-safari"
      ],
      "env": {
        "APPLE_SAFARI_COOKIE_HOSTS": "your-value"
      }
    }
  }
}

自分で入力する値

  • APPLE_SAFARI_ALLOW_WRITES env
    変更系ツールを登録します。デフォルトでは無効です。書き込みツールが存在するかどうかはゲートが決定し、単に拒否するだけではありません。書き込みが無効の場合、エージェントにはこれらのツールが表示されません。
    英語の原文を見るRegister the mutating tools. Off by default, and the gate decides whether the write tools exist at all rather than merely refusing — an agent with writes off cannot see them.
  • APPLE_SAFARI_ALLOW_CODES env
    ワンタイムコードを返します。apple_safari_page_elements の one-time-code フィールドと、ページにテキストとして表示されたコードを探す apple_safari_find_codes です。読み取り操作であるため、allowWrites ではなく独自のゲートを持ちます。
    英語の原文を見るReturn one-time codes: a one-time-code field in apple_safari_page_elements, and apple_safari_find_codes for a code a page shows as text. Its own gate rather than allowWrites, because it is a read. Cr…
  • APPLE_SAFARI_ALLOW_NETWORK env
    Register apple_safari_network_record, _list and _get, which record what a page you allowed the extension on fetches and read the responses. Its own gate rather than allowWrites, because it is a read;…
  • APPLE_SAFARI_ALLOW_COOKIES env
    Register apple_safari_cookies, which lists the cookies Safari would send to an open page, HttpOnly ones included, through the extension's cookies permission. Its own gate rather than allowWrites, bec…
  • APPLE_SAFARI_COOKIE_HOSTS 秘密 必須 env
    Comma-separated registrable domains whose cookies apple_safari_cookies may read, like "yahoo.com"; each covers the domain and its subdomains. Empty, the default, means no site is readable. An entry w…
  • APPLE_SAFARI_DOWNLOAD_DIR env
    apple_safari_network_get および apple_safari_cookies で saveAs がファイルを書き込む場所。既定値は /Downloads です。名前は basename のみに限定され、要求されない限り既存のファイルは置き換えられません。
    英語の原文を見るWhere saveAs writes a file, for apple_safari_network_get and apple_safari_cookies. Defaults to ~/Downloads. A name is kept to its basename and an existing file is never replaced unless asked.
  • APPLE_SAFARI_NETWORK_CHUNK_CHARS env
    大きな本文を読み取る際に、サーバーがコマンドごとにページへ要求する文字数。既定値は 262144 で、動作確認済みです。Safari のネイティブメッセージチャネルがそれをどこまで超えられるかは…
    英語の原文を見るCharacters of a body the server asks the page for per command when it reads a large body. Defaults to 262144, which was measured to work; how far above that Safari's native-message channel goes is un…

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

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

ひと目でわかる

GitHubスターi
6 (リポジトリ全体のスター)
このリポジトリには複数の MCP があり、スターは順位で1件だけ数えます
週あたりのダウンロードi
971/週
接続方法
パソコンで動く
最新バージョンi
1.42.0
カテゴリi
その他
レジストリ公開日i
2026年11月18日
コードの最終更新i
2026年11月18日
作者
mgcrea
パッケージ
npm: @mgcrea/mcp-apple-safari
ウェブサイト
cupertino.mgcrea.io
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • ✓ 合格

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

    コードの最終更新:昨日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

公開済みの脆弱性(OSV.dev)

まだ確認していません

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/mgcrea-mcp-apple-safari.svg)](https://mcp.popnx.com/en/servers/mgcrea-mcp-apple-safari)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

その他のほかのサーバーとの比較i

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

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

よくある質問

Apple Safariは安全ですか?

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

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

入力が必要なもの:APPLE_SAFARI_COOKIE_HOSTS

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

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

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万3 日前更新

クラウドで動く✓ 提供元 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ広く使われている★ 92742 か月前更新

クラウドで動く✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター30 日前更新

クラウドで動く✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582514 か月前更新

クラウドで動くリポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom広く使われている★ 51364 か月前更新

クラウドで動く✓ 提供元 · jitsu.com
似たものと比べる
これ
Apple Safari
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要はいいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/41/44/4
ライセンスMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

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

@mgcrea/mcp-apple-safari

MCP server for the macOS Safari browser: what you have visited, what is open now, and what is on the page in front of you.

{

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

Three lanes that are not fallbacks for each other

This is the thing to understand before anything else. Every other surface in this bundle has two routes to the same data and the choice is about speed. Safari's lanes see almost disjoint things, and each needs a different permission — so an ungranted Safari server is not a slower Safari server, it is a different and much smaller one.

LaneNeedsAnswers
FileFull Disk Accessthe past: history, bookmarks, the Reading List
Apple Eventsan Automation grant, Safari runningthe present: which tabs are open
Extensionthe extension enabled AND allowed on that sitethe page: its text, its elements, acting on it

The extension lane needs no TCC grant of any kind. Safari consents to it one website at a time, which the user can see and revoke per site.

Tools

Read

ToolWhat
apple_safari_search_historyhistory by text or date range, with visit counts
apple_safari_get_pageone history item by ref
apple_safari_list_tabstabs open right now, optionally enriched from history
apple_safari_list_bookmarksthe bookmark tree
apple_safari_list_reading_listsaved items, and which are unread
apple_safari_read_pagea captured page as text or HTML
apple_safari_page_elementswhat is clickable or typeable on a live page
apple_safari_wait_forwait until some text appears on a page, or leaves it
apple_safari_diagnosticswhich lanes work, and why one does not

Opt-in read — APPLE_SAFARI_ALLOW_CODES

ToolWhat
apple_safari_find_codesa one-time 2FA code in the TEXT of an open page

Opt-in read — APPLE_SAFARI_ALLOW_NETWORK

ToolWhat
apple_safari_network_recordarm, stop, clear or report recording on a page (reload needs writes)
apple_safari_network_listwhat the page fetched: method, URL, status, timing, no bodies
apple_safari_network_getone request's headers and body; saveAs writes a file (needs writes)

Opt-in read — APPLE_SAFARI_ALLOW_COOKIES, and only for sites in APPLE_SAFARI_COOKIE_HOSTS

ToolWhat
apple_safari_cookiesa page's cookies, HttpOnly included, as metadata; saveAs writes named ones

Write — APPLE_SAFARI_ALLOW_WRITES

ToolWhat
apple_safari_open_urlopen a URL, in a new tab or the current
apple_safari_add_reading_list_itemsave a URL for later
apple_safari_close_tabsclose tabs an agent opened, if unmoved
apple_safari_clickclick an element on a live page
apple_safari_filltype into one
apple_safari_scrollscroll a page
apple_safari_submitsubmit the form an element belongs to

Configuration

VariableDefault
APPLE_SAFARI_ALLOW_WRITESoffRegister the seven write tools at all.
APPLE_SAFARI_ALLOW_CODESoffOne-time codes — see below.
APPLE_SAFARI_ALLOW_NETWORKoffNetwork capture — see below.
APPLE_SAFARI_ALLOW_COOKIESoffReading cookies — see below.
APPLE_SAFARI_COOKIE_HOSTSemptySites whose cookies may be read. Empty = none.
APPLE_SAFARI_DOWNLOAD_DIR~/DownloadsWhere saveAs writes.
APPLE_SAFARI_NETWORK_CHUNK_CHARS262144Characters per native message when pulling a body.
APPLE_SAFARI_LIVE_TABSonUse the Apple Events lane. Off = no Apple Event.
APPLE_SAFARI_STOREautoExplicit History.db path.
APPLE_SAFARI_BOOKMARKSautoExplicit Bookmarks.plist path.
APPLE_SAFARI_PAGESautoExplicit extension capture directory.
APPLE_SAFARI_OPENED_TABSautoExplicit record of tabs open_url opened.
APPLE_SAFARI_ACTION_TIMEOUT_MS12000How long an action waits for the page to answer.
APPLE_SAFARI_LIVE_READ_TIMEOUT_MS2500How long read_page waits on the tab. 0 = capture.
APPLE_SAFARI_READING_LIST_CONFIRM_MS1500Beat before re-reading to confirm a Reading List add.
APPLE_SAFARI_INDEX_MODEautoauto \ro \immutable \off.
APPLE_SAFARI_DEFAULT_RANGE_DAYS30Window when only a start is given.
APPLE_SAFARI_MAX_RANGE_DAYS3660Hard ceiling on a single range.
APPLE_SAFARI_MAX_RESULTS—Default page size.
APPLE_SAFARI_EXPOSE_PROMPTSoffRegister prompts and cupertino:// resources.
APPLE_SAFARI_DEBUGoffVerbose logging.
APPLE_SAFARI_ALLOW_CODES

Two things move together when it is on: find_codes is registered, and page_elements returns the value of a one-time-code field. It is a read, and deliberately not folded into ALLOW_WRITES — reaching a read through the write gate would mean granting the right to click a button in order to see a number.

A credential field is withheld either way. A password, a card number or a CVC comes back redacted: "credential" with no value and no setting that returns it. This flag is named for codes and does not widen past them. In both cases hasValue still says whether the field is filled, which is usually what you needed.

It is weaker than the Messages gate of the same name, and worth knowing which. There, off means the tool does not exist and the alternative is sifting whole threads. Here read_page stays ungated, so off removes the targeted field read and the live DOM scan — not every byte of a page.

See docs/passwords.md in the repo for why the Passwords app itself is unreachable by any lane, and why reading a code a _website shows_ is a different question from reading the vault.

APPLE_SAFARI_ALLOW_NETWORK

Registers network_record, network_list and network_get, which show what a page you have allowed the extension on fetched: fetch and XMLHttpRequest calls from the top frame, console errors, and resource-timing entries. It is a read gate and is not folded into ALLOW_WRITES, for the reason ALLOW_CODES is not: the traffic of a signed-in page is session material, and that is a different exposure from a one-time code.

  • Bodies are not redacted, and neither are URLs. Headers named authorization, proxy-authorization, cookie or set-cookie, or containing token, secret, api-key or apikey, come back as . A body has no names to match, so it is returned as the page saw it, and URLs are returned in full, query strings included, so a token in one comes back too. Turn the gate on knowing that.
  • Opt-in per tab, and it expires. Nothing is wrapped until network_record starts, recording survives a reload for 15 minutes by default (120 at most), and stop ends it at once.
  • Two things need `ALLOW_WRITES` as well: reload: true on network_record, which re-runs the page, and saveAs on network_get, which writes into APPLE_SAFARI_DOWNLOAD_DIR (a bare filename, and never over an existing file unless overwrite: true). Each fails with an error naming APPLE_SAFARI_ALLOW_WRITES.
  • What it cannot see: subframes, web and service workers, / bodies and WebSockets. Request ids die when the page reloads or navigates. On a page whose Content-Security-Policy refuses inline scripts there is a fallback that loads the recorder by URL instead. It has not been verified in Safari; if it works it arrives late, so the page's first requests can be missing, and if it does not, hook.injection says "blocked".
  • A file inside an API response: network_get with jsonPath to the field, decode: "base64" and saveAs. The bytes go to disk, not into the conversation.
APPLE_SAFARI_ALLOW_COOKIES and APPLE_SAFARI_COOKIE_HOSTS

Registers cookies, which lists the cookies Safari would send to an open page, HttpOnly ones included, so a signed-in session can be handed to a local tool without copying it out of Safari by hand. It reads through browser.cookies in the extension's background worker, so the values never enter the page's own process.

  • Gated twice. The flag decides whether the tool exists; APPLE_SAFARI_COOKIE_HOSTS decides which sites it may read. A login cookie is the login, so the flag alone would hand any agent any session in the browser. The list is comma-separated registrable domains (yahoo.com), each covering the domain and its subdomains on a label boundary (never notyahoo.com). Empty, the default, refuses every page, and a refusal names the setting. An entry with no dot is ignored; there is no public-suffix list, so do not list one like co.uk.
  • No value inline, ever. The result gives each cookie's name, domain, path, secure, httpOnly, sameSite and expires (null for a session cookie).
  • To get values out: names plus saveAs writes the named cookies into APPLE_SAFARI_DOWNLOAD_DIR as one Cookie header value — A3=…; T=…; Y=…, with no Cookie: prefix and no trailing newline, so a tool that takes a cookie string reads the file as is — mode 0600. A bare filename, never over an existing file unless overwrite: true, and it needs ALLOW_WRITES. A name the page lacks writes nothing and says which.
  • The extension asks for the `cookies` permission. On the install measured, Safar

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