@cloudflare/mcp-server-cloudflare
MCP ServerFreeMCP server for interacting with Cloudflare API
Capabilities10 decomposed
cloudflare api resource enumeration and discovery
Medium confidenceExposes Cloudflare API endpoints as MCP tools through a schema-based registry that maps REST API operations to callable functions. The server introspects Cloudflare's API surface and generates tool definitions dynamically, allowing clients to discover available resources (zones, DNS records, workers, etc.) without hardcoding endpoint knowledge. Uses MCP's tool protocol to advertise capabilities and handle parameter validation against Cloudflare's API schemas.
Implements MCP server pattern specifically for Cloudflare's REST API surface, translating Cloudflare's native API schemas into MCP's tool calling protocol with automatic parameter validation and response marshaling
Provides native Cloudflare integration through MCP standard (vs custom REST wrappers), enabling seamless composition with other MCP servers in multi-tool agent architectures
zone and domain management via mcp tool interface
Medium confidenceWraps Cloudflare's zone management APIs (create, list, update, delete zones) as callable MCP tools. Handles authentication via Cloudflare API tokens, constructs properly-formatted HTTP requests to Cloudflare's endpoints, and parses responses into structured data. Supports filtering, pagination, and bulk operations on zones through parameterized tool calls that abstract away HTTP details.
Exposes Cloudflare zone operations through MCP's stateless tool protocol, allowing LLM agents to perform DNS infrastructure changes without managing HTTP sessions or authentication state directly
Simpler than building custom REST clients for Cloudflare zone APIs — MCP abstraction handles auth, error handling, and response parsing automatically
dns record crud operations with schema validation
Medium confidenceProvides MCP tools for creating, reading, updating, and deleting DNS records within Cloudflare zones. Validates record types (A, AAAA, CNAME, MX, TXT, etc.) and required fields against Cloudflare's DNS record schema before submission. Handles TTL configuration, proxying settings (orange/gray cloud), and batch record operations through parameterized tool calls that map to Cloudflare's DNS API endpoints.
Implements client-side schema validation for DNS records before API submission, catching invalid record types or missing required fields before round-tripping to Cloudflare, reducing latency and API errors
More robust than raw REST clients because it validates DNS record schemas locally and provides structured error messages for invalid configurations
cloudflare workers deployment and management
Medium confidenceExposes Cloudflare Workers APIs as MCP tools for deploying, updating, listing, and deleting serverless functions. Handles script upload (JavaScript/WebAssembly), environment variable binding, route configuration, and KV namespace attachment through parameterized tool calls. Abstracts the Workers API's multipart form encoding and script deployment workflow into simple tool invocations.
Wraps Cloudflare Workers' multipart form-based deployment API in MCP tool protocol, allowing LLM agents to deploy edge functions without understanding HTTP multipart encoding or Workers-specific deployment mechanics
Simpler than wrangler CLI for programmatic deployments because it integrates directly into MCP agent workflows without subprocess management or CLI parsing
kv namespace and key-value store operations
Medium confidenceProvides MCP tools for reading, writing, listing, and deleting key-value pairs in Cloudflare KV namespaces. Supports metadata operations (expiration, custom metadata), bulk operations, and namespace management through parameterized tool calls. Handles KV's eventual consistency model and provides structured responses for key enumeration and value retrieval.
Abstracts Cloudflare KV's REST API (including pagination and eventual consistency semantics) into simple MCP tool calls, allowing agents to use KV as a distributed state store without managing HTTP details or consistency concerns
More accessible than raw KV API clients because MCP tools handle pagination, error handling, and response parsing automatically
firewall rule and waf policy configuration
Medium confidenceExposes Cloudflare's firewall and Web Application Firewall (WAF) APIs as MCP tools for creating, updating, listing, and deleting firewall rules. Supports rule expressions (IP-based, country-based, user-agent matching), actions (block, challenge, allow), and priority ordering. Handles rule validation and conflict detection through parameterized tool calls that map to Cloudflare's rules engine.
Provides MCP interface to Cloudflare's rules engine, allowing agents to compose firewall rules using natural language that is translated to Cloudflare expression syntax, with validation before deployment
More accessible than raw firewall APIs because it abstracts rule expression syntax and provides structured validation feedback
ssl/tls certificate and domain validation management
Medium confidenceExposes Cloudflare's SSL/TLS certificate APIs as MCP tools for managing certificates, domain validation, and HTTPS settings. Supports operations like requesting certificates, checking validation status, configuring minimum TLS versions, and managing custom certificates. Handles Cloudflare's certificate provisioning workflow and validation challenges through parameterized tool calls.
Wraps Cloudflare's certificate provisioning and validation workflow in MCP tools, allowing agents to manage HTTPS without understanding certificate formats, validation challenges, or renewal mechanics
Simpler than managing certificates through Cloudflare's dashboard or raw API because MCP tools abstract certificate lifecycle and validation status tracking
analytics and log data retrieval with filtering
Medium confidenceProvides MCP tools for querying Cloudflare's analytics APIs to retrieve traffic data, request logs, and performance metrics. Supports filtering by time range, country, status code, and other dimensions. Returns structured analytics data (requests, bandwidth, cache hit ratio, etc.) through parameterized tool calls that map to Cloudflare's GraphQL or REST analytics endpoints.
Abstracts Cloudflare's analytics APIs (both GraphQL and REST) into unified MCP tools with automatic time range validation and data retention checking, preventing queries for unavailable historical data
More user-friendly than raw analytics APIs because it handles time zone conversion, data aggregation, and retention limits automatically
page rules and url routing configuration
Medium confidenceExposes Cloudflare's Page Rules API as MCP tools for creating, updating, listing, and deleting page rules that apply settings to specific URL patterns. Supports actions like caching, forwarding, security settings, and performance tuning through parameterized tool calls. Handles rule priority and pattern matching through Cloudflare's URL pattern syntax.
Provides MCP interface to Cloudflare's Page Rules with automatic pattern validation and priority conflict detection, preventing invalid or conflicting rules from being deployed
More accessible than raw Page Rules API because it validates URL patterns and provides structured error messages for invalid configurations
rate limiting and ddos protection rule management
Medium confidenceExposes Cloudflare's rate limiting and DDoS protection APIs as MCP tools for creating and managing rate limit rules and DDoS mitigation policies. Supports threshold configuration, action selection (block, challenge, log), and request counting methods. Handles rule validation and conflict detection through parameterized tool calls that map to Cloudflare's rate limiting endpoints.
Wraps Cloudflare's rate limiting APIs in MCP tools with automatic threshold validation and conflict detection, preventing misconfigured rules from blocking legitimate traffic
More accessible than raw rate limiting APIs because it abstracts threshold configuration and provides structured feedback on rule effectiveness
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with @cloudflare/mcp-server-cloudflare, ranked by overlap. Discovered automatically through the match graph.
Cloudflare MCP Server
Manage Cloudflare Workers, KV, R2, and DNS via MCP.
@cloudflare/mcp-server-cloudflare
MCP server for interacting with Cloudflare API
dns
Infrastructure as Code for MCP domains / DNS management
Mailgun
** - Interact with Mailgun API.
Hostinger
** - Official [Hostinger API](https://developers.hostinger.com/) MCP server for services managment.
mcp-for-beginners
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workfl
Best For
- ✓AI agents and LLM applications that need to manage Cloudflare infrastructure
- ✓Developers building multi-tool orchestration systems where Cloudflare is one capability
- ✓Teams automating Cloudflare operations through natural language interfaces
- ✓Infrastructure automation agents managing multi-tenant DNS
- ✓Developers building Cloudflare management dashboards with LLM interfaces
- ✓DevOps teams automating zone provisioning in CI/CD pipelines
- ✓Agents automating DNS configuration for multi-domain deployments
- ✓Developers building DNS management interfaces with natural language control
Known Limitations
- ⚠Discovery is limited to operations exposed by Cloudflare's public API — internal or beta endpoints may not be available
- ⚠Schema generation depends on Cloudflare maintaining accurate API documentation — breaking changes in Cloudflare's API require server updates
- ⚠No caching of schema definitions — each client connection may trigger re-enumeration overhead
- ⚠Requires Cloudflare API token with zone:edit permissions — cannot operate with read-only tokens
- ⚠Zone creation/deletion operations are asynchronous in Cloudflare but MCP tool responses are synchronous — no built-in polling for operation completion
- ⚠Bulk zone operations are not atomic — partial failures in multi-zone requests may leave inconsistent state
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Package Details
About
MCP server for interacting with Cloudflare API
Categories
Alternatives to @cloudflare/mcp-server-cloudflare
Are you the builder of @cloudflare/mcp-server-cloudflare?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →