World Monitor
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.
Read and act on Safari — history, tabs and reading list, writes off by default
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 22/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 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 やスマホでは使えません
このメッセージを 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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
SettingsDeveloperEdit Config
{
"mcpServers": {
"apple-safari": {
"command": "npx",
"args": [
"-y",
"@mgcrea/mcp-apple-safari"
],
"env": {
"APPLE_SAFARI_COOKIE_HOSTS": "your-value"
}
}
}
}キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Apple Safari を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Apple Safari を使っていると言うか、回答に Apple Safari のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
APPLE_SAFARI_ALLOW_WRITES 変更系ツールを登録します。デフォルトでは無効です。書き込みツールが存在するかどうかはゲートが決定し、単に拒否するだけではありません。書き込みが無効の場合、エージェントにはこれらのツールが表示されません。 APPLE_SAFARI_ALLOW_CODES ワンタイムコードを返します。apple_safari_page_elements の one-time-code フィールドと、ページにテキストとして表示されたコードを探す apple_safari_find_codes です。読み取り操作であるため、allowWrites ではなく独自のゲートを持ちます。 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 のみに限定され、要求されない限り既存のファイルは置き換えられません。 APPLE_SAFARI_NETWORK_CHUNK_CHARS 大きな本文を読み取る際に、サーバーがコマンドごとにページへ要求する文字数。既定値は 262144 で、動作確認済みです。Safari のネイティブメッセージチャネルがそれをどこまで超えられるかは… 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Apple Safari につなげません
Apple Safari はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
A · Apple Safari につなげるアプリを使う
B · その他 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
Claude Code につなげますが、先に準備が必要です
Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを 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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --scope user apple-safari --env APPLE_SAFARI_COOKIE_HOSTS=your-value -- npx -y @mgcrea/mcp-apple-safariEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Apple Safari が一覧にあり、接続済みと表示されれば OK です
Apple Safari を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Apple Safari を使っていると言うか、回答に Apple Safari のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
APPLE_SAFARI_ALLOW_WRITES 変更系ツールを登録します。デフォルトでは無効です。書き込みツールが存在するかどうかはゲートが決定し、単に拒否するだけではありません。書き込みが無効の場合、エージェントにはこれらのツールが表示されません。 APPLE_SAFARI_ALLOW_CODES ワンタイムコードを返します。apple_safari_page_elements の one-time-code フィールドと、ページにテキストとして表示されたコードを探す apple_safari_find_codes です。読み取り操作であるため、allowWrites ではなく独自のゲートを持ちます。 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 のみに限定され、要求されない限り既存のファイルは置き換えられません。 APPLE_SAFARI_NETWORK_CHUNK_CHARS 大きな本文を読み取る際に、サーバーがコマンドごとにページへ要求する文字数。既定値は 262144 で、動作確認済みです。Safari のネイティブメッセージチャネルがそれをどこまで超えられるかは… 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを 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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
Apple Safari の設定で APPLE_SAFARI_COOKIE_HOSTS が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Apple Safari を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Apple Safari を使っていると言うか、回答に Apple Safari のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
APPLE_SAFARI_ALLOW_WRITES 変更系ツールを登録します。デフォルトでは無効です。書き込みツールが存在するかどうかはゲートが決定し、単に拒否するだけではありません。書き込みが無効の場合、エージェントにはこれらのツールが表示されません。 APPLE_SAFARI_ALLOW_CODES ワンタイムコードを返します。apple_safari_page_elements の one-time-code フィールドと、ページにテキストとして表示されたコードを探す apple_safari_find_codes です。読み取り操作であるため、allowWrites ではなく独自のゲートを持ちます。 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 のみに限定され、要求されない限り既存のファイルは置き換えられません。 APPLE_SAFARI_NETWORK_CHUNK_CHARS 大きな本文を読み取る際に、サーバーがコマンドごとにページへ要求する文字数。既定値は 262144 で、動作確認済みです。Safari のネイティブメッセージチャネルがそれをどこまで超えられるかは… 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Apple Safari のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを 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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
Apple Safari の設定で APPLE_SAFARI_COOKIE_HOSTS が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Apple Safari を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Apple Safari を使っていると言うか、回答に Apple Safari のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
APPLE_SAFARI_ALLOW_WRITES 変更系ツールを登録します。デフォルトでは無効です。書き込みツールが存在するかどうかはゲートが決定し、単に拒否するだけではありません。書き込みが無効の場合、エージェントにはこれらのツールが表示されません。 APPLE_SAFARI_ALLOW_CODES ワンタイムコードを返します。apple_safari_page_elements の one-time-code フィールドと、ページにテキストとして表示されたコードを探す apple_safari_find_codes です。読み取り操作であるため、allowWrites ではなく独自のゲートを持ちます。 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 のみに限定され、要求されない限り既存のファイルは置き換えられません。 APPLE_SAFARI_NETWORK_CHUNK_CHARS 大きな本文を読み取る際に、サーバーがコマンドごとにページへ要求する文字数。既定値は 262144 で、動作確認済みです。Safari のネイティブメッセージチャネルがそれをどこまで超えられるかは… 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Claude Code
claude mcp add --scope user apple-safari --env APPLE_SAFARI_COOKIE_HOSTS=your-value -- npx -y @mgcrea/mcp-apple-safariClaude 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 envAPPLE_SAFARI_ALLOW_CODES envAPPLE_SAFARI_ALLOW_NETWORK envAPPLE_SAFARI_ALLOW_COOKIES envAPPLE_SAFARI_COOKIE_HOSTS 秘密 必須 envAPPLE_SAFARI_DOWNLOAD_DIR envAPPLE_SAFARI_NETWORK_CHUNK_CHARS env説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
npm: @mgcrea/mcp-apple-safariこのサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント mgcrea で確認済みです
コードの最終更新:昨日
MITを使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
まだ確認していません
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/mgcrea-mcp-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
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
Validate oh-my-posh configurations and segment snippets against the official schema.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
| これ Apple Safari | World Monitor | openstatus | Oh My Posh Validator | Strata | Jitsu | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 |
| キーが必要 | はい | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 4/4 | 4/4 | 1/4 | 4/4 |
| ライセンス | MIT | AGPL-3.0 | AGPL-3.0 | MIT | Apache-2.0 | MIT |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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"] } } }
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.
| Lane | Needs | Answers |
|---|---|---|
| File | Full Disk Access | the past: history, bookmarks, the Reading List |
| Apple Events | an Automation grant, Safari running | the present: which tabs are open |
| Extension | the extension enabled AND allowed on that site | the 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.
Read
| Tool | What |
|---|---|
apple_safari_search_history | history by text or date range, with visit counts |
apple_safari_get_page | one history item by ref |
apple_safari_list_tabs | tabs open right now, optionally enriched from history |
apple_safari_list_bookmarks | the bookmark tree |
apple_safari_list_reading_list | saved items, and which are unread |
apple_safari_read_page | a captured page as text or HTML |
apple_safari_page_elements | what is clickable or typeable on a live page |
apple_safari_wait_for | wait until some text appears on a page, or leaves it |
apple_safari_diagnostics | which lanes work, and why one does not |
Opt-in read — APPLE_SAFARI_ALLOW_CODES
| Tool | What |
|---|---|
apple_safari_find_codes | a one-time 2FA code in the TEXT of an open page |
Opt-in read — APPLE_SAFARI_ALLOW_NETWORK
| Tool | What |
|---|---|
apple_safari_network_record | arm, stop, clear or report recording on a page (reload needs writes) |
apple_safari_network_list | what the page fetched: method, URL, status, timing, no bodies |
apple_safari_network_get | one 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
| Tool | What |
|---|---|
apple_safari_cookies | a page's cookies, HttpOnly included, as metadata; saveAs writes named ones |
Write — APPLE_SAFARI_ALLOW_WRITES
| Tool | What |
|---|---|
apple_safari_open_url | open a URL, in a new tab or the current |
apple_safari_add_reading_list_item | save a URL for later |
apple_safari_close_tabs | close tabs an agent opened, if unmoved |
apple_safari_click | click an element on a live page |
apple_safari_fill | type into one |
apple_safari_scroll | scroll a page |
apple_safari_submit | submit the form an element belongs to |
| Variable | Default | ||||
|---|---|---|---|---|---|
APPLE_SAFARI_ALLOW_WRITES | off | Register the seven write tools at all. | |||
APPLE_SAFARI_ALLOW_CODES | off | One-time codes — see below. | |||
APPLE_SAFARI_ALLOW_NETWORK | off | Network capture — see below. | |||
APPLE_SAFARI_ALLOW_COOKIES | off | Reading cookies — see below. | |||
APPLE_SAFARI_COOKIE_HOSTS | empty | Sites whose cookies may be read. Empty = none. | |||
APPLE_SAFARI_DOWNLOAD_DIR | ~/Downloads | Where saveAs writes. | |||
APPLE_SAFARI_NETWORK_CHUNK_CHARS | 262144 | Characters per native message when pulling a body. | |||
APPLE_SAFARI_LIVE_TABS | on | Use the Apple Events lane. Off = no Apple Event. | |||
APPLE_SAFARI_STORE | auto | Explicit History.db path. | |||
APPLE_SAFARI_BOOKMARKS | auto | Explicit Bookmarks.plist path. | |||
APPLE_SAFARI_PAGES | auto | Explicit extension capture directory. | |||
APPLE_SAFARI_OPENED_TABS | auto | Explicit record of tabs open_url opened. | |||
APPLE_SAFARI_ACTION_TIMEOUT_MS | 12000 | How long an action waits for the page to answer. | |||
APPLE_SAFARI_LIVE_READ_TIMEOUT_MS | 2500 | How long read_page waits on the tab. 0 = capture. | |||
APPLE_SAFARI_READING_LIST_CONFIRM_MS | 1500 | Beat before re-reading to confirm a Reading List add. | |||
APPLE_SAFARI_INDEX_MODE | auto | auto \ | ro \ | immutable \ | off. |
APPLE_SAFARI_DEFAULT_RANGE_DAYS | 30 | Window when only a start is given. | |||
APPLE_SAFARI_MAX_RANGE_DAYS | 3660 | Hard ceiling on a single range. | |||
APPLE_SAFARI_MAX_RESULTS | — | Default page size. | |||
APPLE_SAFARI_EXPOSE_PROMPTS | off | Register prompts and cupertino:// resources. | |||
APPLE_SAFARI_DEBUG | off | Verbose logging. |
APPLE_SAFARI_ALLOW_CODESTwo 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_NETWORKRegisters 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.
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.network_record starts, recording survives a reload for 15 minutes by default (120 at most), and stop ends it at once.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. / 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".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_HOSTSRegisters 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.
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.secure, httpOnly, sameSite and expires (null for a session cookie).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.