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

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

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~265 tok4 tools
Streamable HTTPhttps://ai-gateway.mcp.cloudflare.com/mcp

Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:

{
  "mcpServers": {
    "cloudflare-ai-gateway": {
      "url": "https://ai-gateway.mcp.cloudflare.com/mcp"
    }
  }
}

接続手順

  1. MCP 設定を開く — Kiro の MCP パネル、またはワークスペースの .kiro/settings/mcp.json を編集します。
  2. サーバーを追加 — "cloudflare-ai-gateway": { "url": https://ai-gateway.mcp.cloudflare.com/mcp } を記述します。
  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

その他の接続ガイド