cloudflare
v1.0.2MCP server to manage Cloudflare Workers, KV, R2, Pages, DNS, and cache from your IDE
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cf_zones
List Cloudflare zones (domains)
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number |
perPage | integer | Per page |
cf_dns_list
List DNS records for a zone
| Parameter | Type | Description |
|---|---|---|
zoneId * | string | Zone ID |
page | integer | Page |
perPage | integer | Per page |
cf_dns_create
Create a DNS record
| Parameter | Type | Description |
|---|---|---|
content * | string | Record content (IP, hostname, text) |
name * | string | Record name (e.g. 'www' or '@') |
type * | string | Record type (A, AAAA, CNAME, TXT, MX, etc.) |
zoneId * | string | Zone ID |
proxied | boolean | Proxied through Cloudflare |
ttl | integer | TTL (1 = auto) |
cf_dns_delete
Delete a DNS record
| Parameter | Type | Description |
|---|---|---|
recordId * | string | DNS record ID |
zoneId * | string | Zone ID |
cf_workers_list
List Workers scripts
| Parameter | Type | Description |
|---|---|---|
accountId | string | Account ID (uses env var if not provided) |
cf_worker_delete
Delete a Workers script
| Parameter | Type | Description |
|---|---|---|
scriptName * | string | Worker script name |
accountId | string | Account ID |
cf_kv_namespaces
List KV namespaces
| Parameter | Type | Description |
|---|---|---|
accountId | string | Account ID |
cf_kv_keys
List keys in a KV namespace
| Parameter | Type | Description |
|---|---|---|
namespaceId * | string | KV namespace ID |
accountId | string | Account ID |
limit | integer | Limit |
prefix | string | Key prefix filter |
cf_kv_get
Get a value from KV
| Parameter | Type | Description |
|---|---|---|
key * | string | Key to read |
namespaceId * | string | KV namespace ID |
accountId | string | Account ID |
cf_kv_put
Write a value to KV
| Parameter | Type | Description |
|---|---|---|
key * | string | Key to write |
namespaceId * | string | KV namespace ID |
value * | string | Value to store |
accountId | string | Account ID |
cf_kv_delete
Delete a key from KV
| Parameter | Type | Description |
|---|---|---|
key * | string | Key to delete |
namespaceId * | string | KV namespace ID |
accountId | string | Account ID |
cf_r2_buckets
List R2 buckets
| Parameter | Type | Description |
|---|---|---|
accountId | string | Account ID |
cf_cache_purge
Purge Cloudflare cache (all or specific URLs)
| Parameter | Type | Description |
|---|---|---|
zoneId * | string | Zone ID |
purgeAll | boolean | Purge everything (use with caution) |
urls | array | Specific URLs to purge |