Back to MCP Servers

Cloudflare Server

Manage Cloudflare Workers, KV, R2, and D1 resources through natural language commands

cloudcloudflareworkersserverlesscommunity

Installation

npm install -g @cloudflare/mcp-server-cloudflare

Configuration

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

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub