Developer Tools

Cloudflare MCP Server

Connect your account, then chat with AI to run tools.

All Cloudflare tools

15 tools
Agent guide included
Start Chatting

Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for Cloudflare — workflow patterns, data models, and gotchas for your AI agent.

Cloudflare

Cloudflare manages zones (domains). Each zone has DNS records, firewall rules, SSL settings. Zone id required for most ops.

Data Model

  • Zones — domains. zone_id for all zone-scoped ops.
  • DNS records — in zone. Update/delete need record id.
  • Firewall rules — WAF. Evaluated in order.
  • SSL — full, flexible, etc.
  • Cache — purge all or by URL.
  • Bot management — Bot Fight Mode.

Gotchas

  • zone_id required: Nearly every call is zone-scoped—resolve the zone uuid from your account’s zone roster first.
  • DNS record id: Updates and deletes need the stable record id returned alongside existing rows.
  • Firewall rule order: Evaluation is positional—insert critical blocks ahead of permissive catch-alls.

Tools in this Server (15)

Cloudflare Delete Dns Record

Permanently delete a DNS record. CAUTION: This action cannot be undone. The record will be removed immediately.

Cloudflare Delete Firewall Rule

Delete a firewall rule. CAUTION: This removes the rule immediately.

Cloudflare Fetch Dns Record

Get detailed information about a specific DNS record including type, content, TTL, and proxy status.

Cloudflare Fetch Zone

Get detailed information about a specific Cloudflare zone including status, nameservers, and plan.

Cloudflare Get Bot Management

Get bot management and Bot Fight Mode settings for a zone. Shows whether bot protection is enabled and configuration details.

Cloudflare Get Ssl Settings

Get SSL/TLS encryption mode and settings for a zone. Shows current mode (off/flexible/full/strict) and certificate status.

Cloudflare List Dns Records

List DNS records for a Cloudflare zone. Filter by record type, name, or proxy status. Returns record IDs needed for updates/deletes.

Cloudflare List Firewall Rules

List all firewall rules for a zone. Shows rule expressions, actions, and priority.

Cloudflare List Zones

List all zones (domains) in your Cloudflare account. Returns zone IDs needed for DNS, security, and cache operations.

Cloudflare Purge Cache

Purge ALL cached content for a zone. CAUTION: This will temporarily increase origin load as all content is re-fetched. Use sparingly.

Cloudflare Purge Cache By Url

Purge specific URLs from cache. More targeted than full purge. Use for individual pages or API endpoints.

Cloudflare Set Bot Fight Mode

Enable or disable Bot Fight Mode. When enabled, Cloudflare challenges traffic from known bots with JavaScript challenges.

Cloudflare Set Ssl Mode

Set SSL/TLS encryption mode. Use 'full' or 'strict' for proper security. 'flexible' only encrypts browser-to-Cloudflare.

Cloudflare Upsert Dns Record

Create a new DNS record or update existing. For create: provide zone_id, type, name, content. For update: provide zone_id, record_id, and fields to ch...

Cloudflare Upsert Firewall Rule

Create or update a firewall rule. For create: provide expression and action. For update: provide rule_id and fields to change.

Frequently Asked Questions

What is the Cloudflare MCP server?

All Cloudflare tools It provides 15 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect Cloudflare to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/cloudflare. Authentication is handled automatically.

How many tools does Cloudflare provide?

Cloudflare provides 15 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does Cloudflare require?

Cloudflare uses API Key. Cloudflare requires credentials. Connect via MCPBundles and authentication is handled automatically.

Setup Instructions

Connect Cloudflare to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/cloudflare

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Ready to use Cloudflare?

Sign in to connect your credentials and start running tools from the chat.

Cloudflare MCP Server & Skill — 15 Tools