← Back to projects
Project 08 — MCP + Claude

Cloudflare MCP Guide

Cloudflare runs a suite of official remote MCP servers. Connect Claude to them and manage your Cloudflare account, search docs, run AI models, and more — all through conversation.

⚡ What is an MCP Server?
Model Context Protocol (MCP) is an open standard created by Anthropic that lets AI models like Claude connect to external tools and data sources. Think of it like a plugin system for AI.
Instead of Claude only knowing what's in its training data, it can call your MCP server to get real data, perform real actions, and interact with real services — like your Cloudflare account.
👤 You (in Claude)
🤖 Claude
🔌 MCP Server
☁️ Cloudflare API
✅ Result
How to Connect Claude
Follow these steps once to connect Claude Desktop to any Cloudflare MCP server.
1
Install Claude Desktop
Download Claude Desktop from claude.ai/download and sign in with your Anthropic account.
2
Open the config file
Go to Settings → Developer → Edit Config in Claude Desktop. This opens claude_desktop_config.json in your text editor.
3
Add an MCP server
Copy one of the config snippets below and paste it into your config file. Each server has a ready-to-use snippet with a copy button.
4
Restart Claude Desktop
Save the config file and restart Claude Desktop. Look for the 🔌 tools icon in the chat input — that means your MCP server is connected!
5
Start chatting!
Try asking Claude something like "Search the Cloudflare docs for Workers KV" or "List my Cloudflare Workers" and watch it use the tools.
// Official servers
Cloudflare MCP Servers
Each server exposes a different set of tools. Click the copy button to get the config snippet ready to paste into Claude Desktop.
📚 Cloudflare Docs Free
Search the entire Cloudflare documentation directly from Claude. Ask questions about any product and get accurate, up-to-date answers sourced straight from the docs.
Docs ↗
search_documentation get_page_content
Claude Desktop Config
{ "mcpServers": { "cloudflare-docs": { "type": "sse", "url": "https://docs.mcp.cloudflare.com/sse" } } }
🔧 Cloudflare API Auth Required
Access the full Cloudflare API — over 2,500 endpoints — through just two tools. Search for available operations and execute them directly. Manage zones, DNS, Workers, and more.
Docs ↗
search execute
Claude Desktop Config
{ "mcpServers": { "cloudflare-api": { "type": "sse", "url": "https://api.mcp.cloudflare.com/sse" } } }
⚙️ Workers Bindings Auth Required
Manage your Workers bindings — D1 databases, R2 buckets, KV namespaces, and more — conversationally. Ask Claude to query your D1 database or list your R2 objects.
Docs ↗
list_bindings query_d1 list_r2_objects get_kv_value
Claude Desktop Config
{ "mcpServers": { "cloudflare-bindings": { "type": "sse", "url": "https://bindings.mcp.cloudflare.com/sse" } } }
🔍 Workers Observability Auth Required
Browse your Worker logs, errors, and performance data through Claude. Ask things like "show me recent errors in my guestbook Worker" and get instant answers.
Docs ↗
get_worker_logs get_errors get_analytics
Claude Desktop Config
{ "mcpServers": { "cloudflare-observability": { "type": "sse", "url": "https://observability.mcp.cloudflare.com/sse" } } }
🤖 Workers AI Auth Required
Run AI models on Cloudflare's GPU infrastructure directly from Claude. Access text generation, image classification, embeddings, speech recognition, and more.
Docs ↗
run_model list_models get_model_info
Claude Desktop Config
{ "mcpServers": { "cloudflare-ai": { "type": "sse", "url": "https://ai.mcp.cloudflare.com/sse" } } }
// Power user tip
Use All Servers at Once
You can add multiple MCP servers to Claude at the same time. Copy this config to connect all Cloudflare MCP servers in one go.
All Cloudflare MCP Servers
{ "mcpServers": { "cloudflare-docs": { "type": "sse", "url": "https://docs.mcp.cloudflare.com/sse" }, "cloudflare-api": { "type": "sse", "url": "https://api.mcp.cloudflare.com/sse" }, "cloudflare-bindings": { "type": "sse", "url": "https://bindings.mcp.cloudflare.com/sse" }, "cloudflare-observability": { "type": "sse", "url": "https://observability.mcp.cloudflare.com/sse" }, "cloudflare-ai": { "type": "sse", "url": "https://ai.mcp.cloudflare.com/sse" } } }