MCP · Cloudflare Agents SDK

Talk to your Cloudflare

A remote Model Context Protocol server that turns a Cloudflare account into natural-language ops tools — ask any MCP client about your traffic, WAF, cache, and DNS.

Endpoints
TransportPathUse with
Streamable HTTP/mcpModern MCP clients, MCP Inspector
Legacy SSE/sseClaude Desktop via mcp-remote, older clients
Tools
ToolWhat it answers
verify_connectionIs my API token valid?read
list_zonesWhich domains are in this account?read
get_http_analyticsRequests, bytes, top countries, status codesread
get_waf_eventsWhat did the WAF block recently?read
list_dns_recordsWhat DNS records exist for a zone?read
get_cache_analyticsWhat's my cache hit ratio?read
purge_cachePurge cached contentwrite · off by default
Connect the MCP Inspector
npx @modelcontextprotocol/inspector
# Transport: Streamable HTTP   URL: <this-origin>/mcp
Connect Claude Desktop (via mcp-remote):
{
  "mcpServers": {
    "talk-to-cloudflare": {
      "command": "npx",
      "args": ["mcp-remote", "<this-origin>/sse"]
    }
  }
}

Built on Cloudflare Workers + the Agents SDK (McpAgent → Durable Objects). Read-only by default; configure a scoped API token to go live. This page is informational — the MCP endpoints are /mcp and /sse.