1. Conduid
  2. Cloud
  3. io.github.ofershap/cloudflare
MCP server · Cloud

io.github.ofershap/cloudflare

MCP server to manage Cloudflare Workers, KV, R2, Pages, DNS, and cache from your IDE

Unclaimed cloud
37Low

Scored 6 months ago · breakdown

About io.github.ofershap/cloudflare

io.github.ofershap/cloudflare is an MCP server in the Cloud category: mCP server to manage Cloudflare Workers, KV, R2, Pages, DNS, and cache from your IDE.

Install

Claude Code
claude mcp add io-github-ofershap-cloudflare -- npx -y mcp-server-cloudflare-dns
npx
npx -y mcp-server-cloudflare-dns

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (13)

cf_cache_purgePurge cache (all or specific URLs)

Parameters not published.

cf_dns_createCreate a DNS record

Parameters not published.

cf_dns_deleteDelete a DNS record

Parameters not published.

cf_dns_listList DNS records for a zone

Parameters not published.

cf_kv_deleteDelete a KV key

Parameters not published.

cf_kv_getGet a value from KV

Parameters not published.

cf_kv_keysList keys in a KV namespace

Parameters not published.

cf_kv_namespacesList KV namespaces

Parameters not published.

cf_kv_putWrite a value to KV

Parameters not published.

cf_r2_bucketsList R2 storage buckets

Parameters not published.

Show all 13 tools
cf_worker_deleteDelete a Workers script

Parameters not published.

cf_workers_listList Workers scripts

Parameters not published.

cf_zonesList your Cloudflare zones (domains)

Parameters not published.

Ask AI

✦

Ask AI about io.github.ofershap/cloudflare

Powered by Claude · Grounded in docs

I know everything about io.github.ofershap/cloudflare. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

MCP Server Cloudflare — Workers, KV, R2, DNS & Cache for AI Assistants

npm version npm downloads CI

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

  1. Go to Cloudflare Dashboard > API Tokens
  2. 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
  3. Set CLOUDFLARE_API_TOKEN environment variable
  4. Set CLOUDFLARE_ACCOUNT_ID for 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

Made by ofershap

LinkedIn GitHub


README built with README Builder

License

MIT © Ofer Shapira

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.ofershap/cloudflare

How do I install io.github.ofershap/cloudflare?

Run claude mcp add io-github-ofershap-cloudflare -- npx -y mcp-server-cloudflare-dns, then add the server to your MCP client's configuration.

Is io.github.ofershap/cloudflare safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.ofershap/cloudflare still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.