# Cloudflare AI Gateway

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

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: docker
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/docker/mcp-registry/blob/98a203ca6e58c67031b8aaed037a26a07ec73ce3/servers/cloudflare-ai-gateway/server.yaml
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/cloudflare-ai-gateway

## What it 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.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

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

## When to use it
- search Cloudflare AI Gateway request logs
- inspect full prompt texts from previous model calls
- review raw model completions for debugging

## Example prompts
- Search Cloudflare AI Gateway logs for recent prompt failures
- Fetch the prompt text and response details for the latest request

## Similar
- [cloudflare-workers-observability](https://affpapa.org/en/nevibecode/skills/cloudflare-workers-observability.md) — skill · 322 installs
- [Cloudflare Observability](https://affpapa.org/en/nevibecode/mcp/cloudflare-observability.md) — MCP server
- [neon-ai-gateway](https://affpapa.org/en/nevibecode/skills/neon-ai-gateway.md) — skill · 45800 installs
- [AISIX AI Gateway](https://affpapa.org/en/nevibecode/mcp/aisix-ai-gateway.md) — MCP server · ★ 230 repo stars
- [cloudflare-agents](https://affpapa.org/en/nevibecode/skills/cloudflare-agents.md) — skill · 397 installs
- [Cloudflare Workers Bindings](https://affpapa.org/en/nevibecode/mcp/docker-cloudflare-workers-bindings.md) — MCP server

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
