Skip to main content
MCP server CX Codex

Cloudflare AI Gateway — Claude Code MCP server: overview

Searches Cloudflare AI Gateway logs and retrieves prompt and response details. It exposes model interaction history directly to coding assistants.

no license updated 2026-10-29

Open on GitHub

What Cloudflare AI Gateway does

This MCP server links your development environment to Cloudflare AI Gateway records. The assistant queries stored request logs whenever you need to debug model outputs.

The tool retrieves exact prompt inputs alongside the completions returned by models. It requires active log records in Cloudflare AI Gateway, since it cannot report on unlogged traffic.

What it helps with

  • search Cloudflare AI Gateway request logs
  • inspect full prompt texts from previous model calls
  • review raw model completions for debugging

Example prompts for the agent

  • Search Cloudflare AI Gateway logs for recent prompt failures
  • Fetch the prompt text and response details for the latest request

How to install Cloudflare AI Gateway

Install

The MCP registry has no launch command for it: see the repository README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Cloudflare AI Gateway

How do I install Cloudflare AI Gateway in Claude Code?

Add the server entry to your MCP client configuration for Claude Code or another supported environment. The assistant detects the logging tools on the next start.

What does Cloudflare AI Gateway MCP server do?

It queries gateway logs on demand. The server fetches recorded prompts and the resulting model responses.

Which platforms support this server?

It works with Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, Zed, and Gemini CLI.

Similar MCP servers

All MCP servers for Cloud: AWS, Azure, GCP →

Project sponsors

Companies that keep this analytics open