Cloudflare AI Gateway リモートMCPを ChatGPT にMCP接続する方法(設定手順)

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

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~265 tok4 tools
Streamable HTTPhttps://ai-gateway.mcp.cloudflare.com/mcp
  1. Open Settings → Connectors (Integrations) → Add Custom Connector.
  2. Paste the endpoint URL: https://ai-gateway.mcp.cloudflare.com/mcp
  3. Complete the browser OAuth 2.1 login flow when prompted.

接続手順

  1. 開発者モードを有効化 — ChatGPT → Settings → Connectors → Advanced で Developer Mode をオンにします。
  2. コネクタを追加 — 新規 Custom Connector を作成し、https://ai-gateway.mcp.cloudflare.com/mcp を MCP Server URL に入力します。
  3. 認証を完了 — 初回呼び出し時に Cloudflare の OAuth 認可画面が開きます。許可するとツールが有効になります。
  4. 検証 — オンライン Inspector に https://ai-gateway.mcp.cloudflare.com/mcp を貼り付け、initialize と tools/list を実行して接続を確認します。

🧰 ツール一覧(4)

ToolSafetyDescriptionParameters
list_gateways
~34 tok
🟢 ReadList AI gateways in your account.—
get_gateway_logs
~84 tok
🟢 ReadQuery request logs for a gateway with filters.gatewayId*: stringtimeRange: stringstatus: string
get_gateway_analytics
~73 tok
🟢 ReadGet usage metrics (requests, tokens, cost) for a gateway.gatewayId*: stringtimeRange: string
get_request_details
~54 tok
🟢 ReadGet full details of a single logged request.logId*: string

その他の接続ガイド