Server data from the Official MCP Registry
MCP server to manage Cloudflare Workers, KV, R2, Pages, DNS, and cache from your IDE
About
MCP server to manage Cloudflare Workers, KV, R2, Pages, DNS, and cache from your IDE
Security Report
Valid MCP server (2 strong, 4 medium validity signals). 1 known CVE in dependencies Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (15/16 approved).
8 files analyzed · 2 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-ofershap-cloudflare": {
"args": [
"-y",
"mcp-server-cloudflare-dns"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
MCP Server Cloudflare — Workers, KV, R2, DNS & Cache for AI Assistants
An MCP server that lets your AI assistant manage Cloudflare Workers, KV, R2, DNS, and cache purging. Vercel, Railway, and Netlify all have MCP servers — now Cloudflare does too.
You: "List my Workers and purge cache for example.com"
AI: Found 3 Workers: api-gateway, auth-worker, image-resizer
✅ Cache purged for https://example.com
Works with Claude Desktop, Cursor, and VS Code Copilot.

Tools
| Tool | What it does |
|---|---|
cf_zones | List your Cloudflare zones (domains) |
cf_dns_list | List DNS records for a zone |
cf_dns_create | Create a DNS record |
cf_dns_delete | Delete a DNS record |
cf_workers_list | List Workers scripts |
cf_worker_delete | Delete a Workers script |
cf_kv_namespaces | List KV namespaces |
cf_kv_keys | List keys in a KV namespace |
cf_kv_get | Get a value from KV |
cf_kv_put | Write a value to KV |
cf_kv_delete | Delete a KV key |
cf_r2_buckets | List R2 storage buckets |
cf_cache_purge | Purge cache (all or specific URLs) |
Quick Start
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"cloudflare": {
"command": "npx",
"args": ["-y", "mcp-server-cloudflare"],
"env": {
"CLOUDFLARE_API_TOKEN": "your_api_token",
"CLOUDFLARE_ACCOUNT_ID": "your_account_id"
}
}
}
}
With Cursor
Add to your .cursor/mcp.json:
{
"mcpServers": {
"cloudflare": {
"command": "npx",
"args": ["-y", "mcp-server-cloudflare"],
"env": {
"CLOUDFLARE_API_TOKEN": "your_api_token",
"CLOUDFLARE_ACCOUNT_ID": "your_account_id"
}
}
}
}
Authentication
- Go to Cloudflare Dashboard > API Tokens
- Create a token with the permissions you need:
- Zone:Read — for listing zones and DNS
- Zone:Edit — for creating/deleting DNS records
- Workers Scripts:Edit — for managing Workers
- Workers KV Storage:Edit — for KV operations
- Zone:Cache Purge — for cache purging
- Set
CLOUDFLARE_API_TOKENenvironment variable - Set
CLOUDFLARE_ACCOUNT_IDfor Workers, KV, and R2 operations
Examples
Ask your AI assistant:
- "List my Cloudflare zones"
- "Show DNS records for zone xyz"
- "Create an A record pointing to 1.2.3.4"
- "List my Workers"
- "Show KV keys in namespace abc"
- "Purge the cache for https://example.com/page"
- "List my R2 buckets"
Development
npm install
npm test
npm run build
Author
README built with README Builder
License
Reviews
No reviews yet
Be the first to review this server!
More Cloud & DevOps MCP Servers
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
mcp-creator-typescript
Freeby mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
