Apify Actors MCP Gateway リモートMCPを OpenAI Codex CLI にMCP接続する方法(設定手順)

Apify のリモートMCPサーバーを OpenAI Codex CLI に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。

🔌 Gateway✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~478 tok15 tools
Streamable HTTPhttps://mcp.apify.com

Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:

[mcp_servers.apify]
url = "https://mcp.apify.com"

接続手順

  1. TOML を編集 — ~/.codex/config.toml に [mcp_servers.apify] と url = "https://mcp.apify.com" を追記します。
  2. 資格情報を設定 — 初回呼び出し時に Apify の OAuth 認可画面が開きます。許可するとツールが有効になります。
  3. 検証 — オンライン Inspector に https://mcp.apify.com を貼り付け、initialize と tools/list を実行して接続を確認します。

🧰 ツール一覧(15)

ToolSafetyDescriptionParameters
search-actors
~30 tok
🟢 ReadSearch Apify Store for Actors.—
fetch-actor-details
~34 tok
🟢 ReadGet details and input schema of an Actor.—
call-actor
~30 tok
🟠 WriteRun an Actor and get its output.—
get-actor-output
~31 tok
🟢 ReadRetrieve output of an Actor run.—
add-actor
~31 tok
🟠 WriteAdd an Actor to the available toolset.—
remove-actor
~31 tok
🟠 WriteRemove an Actor from the toolset.—
get-actor-run
~30 tok
🟢 ReadGet details of an Actor run.—
get-actor-log
~29 tok
🟢 ReadGet logs of an Actor run.—
scrape-single-url
~32 tok
🟢 ReadScrape a single URL into markdown.—
fetch-apify-docs
~30 tok
🟢 ReadFetch Apify documentation.—
search-apify-docs
~30 tok
🟢 ReadSearch Apify documentation.—
get-dataset-items
~32 tok
🟢 ReadGet items from an Apify dataset.—
list-actor-runs
~29 tok
🟢 ReadList runs of an Actor.—
get-dataset
~28 tok
🟢 ReadGet details of a dataset.—
get-key-value-store
~31 tok
🟢 ReadGet a key-value store record.—

その他の接続ガイド