Skip to main content
Glama
ry-ops

Cloudflare MCP Server

by ry-ops

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLOUDFLARE_API_TOKENYesYour Cloudflare API token (required)
CLOUDFLARE_ACCOUNT_IDNoYour Cloudflare Account ID (optional, but required for KV operations)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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