C

Cloudflare MCP Server

Verified

Manage Cloudflare Workers, KV, R2, and D1 from AI agents.

open-source 74/100 DevOps & Infrastructure cloudflare workers edge cdn serverless infrastructure

A Model Context Protocol server for Cloudflare's developer platform. Enables AI agents to manage Workers, KV namespaces, R2 storage buckets, D1 databases, and DNS records.

Provides comprehensive access to Cloudflare's developer platform including deploying Workers, managing storage, and configuring DNS.

Install

npx -y @cloudflare/mcp-server-cloudflare

MCP Client Config

{
  "mcpServers": {
    "cloudflare": {
      "command": "npx",
      "args": [
        "-y",
        "@cloudflare/mcp-server-cloudflare"
      ],
      "env": {
        "CLOUDFLARE_API_TOKEN": "<your-api-token>",
        "CLOUDFLARE_ACCOUNT_ID": "<your-account-id>"
      }
    }
  }
}

Required Environment Variables

  • CLOUDFLARE_API_TOKEN
  • CLOUDFLARE_ACCOUNT_ID

Capabilities

Tools

worker_listworker_putworker_deletekv_listkv_getkv_putr2_list_bucketsd1_list_databases

Compatible With

Claude Desktop Claude Code Cursor

Pricing

Server is free. Cloudflare has generous free tiers for Workers, KV, R2, and D1.

Metrics

1,800

GitHub Stars

7,800

Installs

640

Weekly

8

Open Issues