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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ry-ops/cloudflare-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server