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) |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_zones | List all zones (domains) in the Cloudflare account. Returns zone details including ID, name, status, and nameservers. |
| get_zone | Get detailed information about a specific zone by zone ID |
| list_dns_records | List DNS records for a zone. Can filter by type, name, content, etc. |
| create_dns_record | Create a new DNS record in a zone. Supports all DNS record types. |
| update_dns_record | Update an existing DNS record. Can modify type, name, content, TTL, proxy status, etc. |
| delete_dns_record | Delete a DNS record from a zone |
| purge_cache | Purge Cloudflare's cache for a zone. Can purge everything or specific files/tags/hosts. |
| list_kv_namespaces | List all Workers KV namespaces in the account. KV is Cloudflare's key-value storage. |
| read_kv_value | Read a value from Workers KV storage by key. Returns the stored value. |
| write_kv_value | Write a key-value pair to Workers KV storage. Can store text or metadata. |
| delete_kv_value | Delete a key from Workers KV storage |
| list_kv_keys | List all keys in a Workers KV namespace. Supports pagination and prefix filtering. |
| get_zone_analytics | Get analytics data for a zone including requests, bandwidth, threats, and pageviews. |