Skip to directory

Cloudflare AI Gateway MCP

Cloudflare

Streamable HTTP5+ documented tools11

About Cloudflare AI Gateway MCP

A Cloudflare-hosted product-specific MCP server for searching AI Gateway logs and retrieving details about prompts and responses.

What you can use it for

  • Search AI Gateway request logs
  • Inspect prompt and response details for troubleshooting or analytics
Connection and setup
Hosting
Remote, vendor-hosted
Transport
Streamable HTTP
Endpoint
https://ai-gateway.mcp.cloudflare.com/mcp
Authentication
Cloudflare's managed MCP ecosystem supports OAuth on compatible clients; account-level operations may require selecting authorization permissions. Exact AI Gateway-specific scopes were not enumerated in the retrieved catalog page.

Requirements

  • Compatible remote MCP client
  • Cloudflare account and AI Gateway logs for useful results; available data depends on account setup and authorization

Setup steps

  1. Add https://ai-gateway.mcp.cloudflare.com/mcp as a remote HTTP MCP server in a supported client.
  2. Complete Cloudflare OAuth and select the minimum permissions required when prompted.
  3. Reconnect and verify with a read-only search for an existing AI Gateway prompt or response log.
Tools 5+

The five stored tool names are the typed AI Gateway server inventory. This product-specific endpoint is distinct from the broad Cloudflare API Code Mode server.

  • list_gateways

    List AI Gateway instances.

    01
  • list_logs

    Search or list AI Gateway request logs.

    02
  • get_log_details

    Get metadata for a specific log entry.

    03
  • get_log_request_body

    Retrieve a log entry's request body.

    04
  • get_log_response_body

    Retrieve a log entry's response body.

    05

This server’s available tools can vary by account, permissions, or configuration. The list shown is not its full runtime catalog.

Limitations and notes
  • Requires relevant AI Gateway data to be present in the authorized account.
  • Exact tools and permission scopes were not available in the retrieved primary documentation.
  • This focused product MCP is distinct from Cloudflare API Code Mode.
Original sources
  • official tool reference

    This record covers the typed AI Gateway product-specific server. Cloudflare also offers a separate API Code Mode server that spans the wider API; do not combine the two inventories. Tool access depends on the Cloudflare account and configured permissions.

  • official documentation or source

    This record covers the typed AI Gateway product-specific server. Cloudflare also offers a separate API Code Mode server that spans the wider API; do not combine the two inventories. Tool access depends on the Cloudflare account and configured permissions.

Documentation checked 2026-10-28T12:50:00.000Z. Connection has not been runtime tested.