Cloudflare MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLOUDFLARE_API_TOKEN | Yes | Your Cloudflare API token (required) | |
| CLOUDFLARE_ACCOUNT_ID | No | Your Cloudflare Account ID (optional, but required for KV operations) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_zonesB | List all zones (domains) in the Cloudflare account. Returns zone details including ID, name, status, and nameservers. |
| get_zoneA | Get detailed information about a specific zone by zone ID |
| list_dns_recordsB | List DNS records for a zone. Can filter by type, name, content, etc. |
| create_dns_recordB | Create a new DNS record in a zone. Supports all DNS record types. |
| update_dns_recordB | Update an existing DNS record. Can modify type, name, content, TTL, proxy status, etc. |
| delete_dns_recordB | Delete a DNS record from a zone |
| purge_cacheB | Purge Cloudflare's cache for a zone. Can purge everything or specific files/tags/hosts. |
| list_kv_namespacesB | List all Workers KV namespaces in the account. KV is Cloudflare's key-value storage. |
| read_kv_valueB | Read a value from Workers KV storage by key. Returns the stored value. |
| write_kv_valueC | Write a key-value pair to Workers KV storage. Can store text or metadata. |
| delete_kv_valueB | Delete a key from Workers KV storage |
| list_kv_keysA | List all keys in a Workers KV namespace. Supports pagination and prefix filtering. |
| get_zone_analyticsB | Get analytics data for a zone including requests, bandwidth, threats, and pageviews. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
Each tool targets a distinct operation within well-separated domains (DNS, KV, zones, cache, analytics). No two tools have overlapping purposes; an agent can easily distinguish them.
All tool names follow a consistent snake_case verb_noun pattern (e.g., create_dns_record, list_kv_keys). There are no deviations or mixed conventions.
With 13 tools covering DNS lifecycle, KV storage operations, zone queries, cache purging, and analytics, the count is well-scoped for a Cloudflare management server.
Core workflows are covered: DNS CRUD, KV operations (create/read/update/delete/list), zone listing/details, cache purge, and analytics. Minor gaps: no single DNS record retrieval (list can filter) and no zone creation, but overall coverage is strong.