Cloudflare MCP Server
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. Its 13 documented tools cluster into dns, other, zones, workers. It runs locally over stdio via the published package.
People connecting cloud infrastructure tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-08-09 · ★ 4 · #75 OF 141 MAINTAINED CLOUD INFRASTRUCTURE · VERIFIED 2026-08-25
MIT · TypeScript servers · how we verify → /methodology
01 · Install Cloudflare
before you install - you'll need
Set CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID before connecting.
Claude Code
claude mcp add ofershap-mcp-server-cloudflare -- npx -y mcp-server-cloudflare-dns Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"ofershap-mcp-server-cloudflare": {
"command": "npx",
"args": [
"-y",
"mcp-server-cloudflare-dns"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package mcp-server-cloudflare-dns - unscoped; check the name against the project README before installing
registry namespace io.github.ofershap is GitHub-verified and matches the repo owner
03 · What Cloudflare can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can list your Cloudflare zones (domains), create a DNS record, delete a DNS record, and delete a Workers script.
Capability map
Tools grouped from the project's README - what Cloudflare lets an agent do.
Dns
3 tools - e.g. List DNS records for a zone; Create a DNS record; Delete a DNS record
cf_dns_list · cf_dns_create · cf_dns_delete
other
3 tools - e.g. Get a value from KV; Write a value to KV; Delete a KV key
cf_kv_get · cf_kv_put · cf_kv_delete
Zones
1 tool - e.g. List your Cloudflare zones (domains)
cf_zones
Workers
1 tool - e.g. List Workers scripts
cf_workers_list
Worker
1 tool - e.g. Delete a Workers script
cf_worker_delete
Namespaces
1 tool - e.g. List KV namespaces
cf_kv_namespaces
Keys
1 tool - e.g. List keys in a KV namespace
cf_kv_keys
Buckets
1 tool - e.g. List R2 storage buckets
cf_r2_buckets
04 · Who maintains Cloudflare
cloudflare is maintained by ofershap. We track 15 MCP servers from ofershap - 15 actively maintained, 92 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from ofershap.
- real-browser MCP server + Chrome extension for AI browser control with real sessions. ★ 48
- ai-context-kit Lint, measure, and sync AI context files across Cursor, Claude Code, Copilot. ★ 8
- scraper Web scraping MCP - extract clean markdown, links, and metadata from any URL. ★ 5
- markdown Markdown MCP - search, extract sections, list headings, find code blocks. ★ 5
- s3 AWS S3 MCP - list buckets, browse objects, upload/download, presigned URLs. ★ 4
- github-actions GitHub Actions MCP - view runs, read logs, re-run jobs, and manage CI/CD. ★ 4
05 · Facts
- repository
- github.com/ofershap/mcp-server-cloudflare
- category
- cloud infrastructure - ranked #75 of 141 actively-maintained cloud infrastructure servers as of 2026-08-25.
- registry
- io.github.ofershap/cloudflare (active, first published 2026-03-10)
- packages
- npm:mcp-server-cloudflare-dns
06 · Cloudflare FAQ
Is Cloudflare still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-09. We re-verify nightly.
What can Cloudflare do?
With this server connected, an agent can list your Cloudflare zones (domains), create a DNS record, delete a DNS record, and delete a Workers script.
How do I install Cloudflare?
Run `npx -y mcp-server-cloudflare-dns`. The README documents 2 environment variables (CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID) to set first. Set CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID before connecting. You can also paste the ready-made client config above.
Does Cloudflare run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Cloudflare
Alternatives to Cloudflare
Maintained cloud infrastructure servers if Cloudflare isn't the fit.
- Cloudflare MCP Server Cloudflare MCP servers ★ 4,105 · 2026-08-22
- Azure MCP Server All Azure MCP tools to create a seamless connection between AI agents and Azure services. ★ 3,598 · 2026-08-21
- Kubernetes MCP Server A Model Context Protocol (MCP) server for Kubernetes and OpenShift ★ 2,016 · 2026-08-24
- Azure DevOps (ADO) The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents. ★ 1,977 · 2026-08-24
- Terra Vision Cloud architecture diagrams generated from terraform plan, with official AWS, Azure, GCP icons ★ 1,615 · 2026-08-10
- Terraform Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise ★ 1,511 · 2026-08-24
Pairs well with
Servers that cover what Cloudflare doesn't - only shown when the pairing reason fits the companion.
More cloud infrastructure MCP servers · S3 (ofershap) · Ckan MCP Server · Service Public France · ABAP Accelerator · OPA MCP
More TypeScript MCP servers · Dns (ofershap) · GitHub Actions · GitHub Gist · Markdown · see all