Cloudflare MCP Server

Cloudstdiov0.6.0
Repository

Official Cloudflare MCP server for managing Cloudflare services. Enables AI agents to interact with Workers, KV namespaces, R2 storage, D1 databases, and DNS records. Supports deploying Workers scripts, managing environment variables, querying analytics, and configuring security settings across Cloudflare's edge network.

Bağlan

Bu yapılandırmayı şuraya ekleyin: .claude/mcp.json

{
  "mcpServers": {
    "cloudflare": {
      "command": "npx",
      "args": [
        "-y",
        "@cloudflare/mcp-server-cloudflare"
      ],
      "env": {
        "CLOUDFLARE_API_TOKEN": "<YOUR_CLOUDFLARE_API_TOKEN>",
        "CLOUDFLARE_ACCOUNT_ID": "<YOUR_CLOUDFLARE_ACCOUNT_ID>"
      }
    }
  }
}

Araçlar (5)

list_workers

List all Workers scripts in the Cloudflare account.

{
  "type": "object",
  "properties": {}
}

deploy_worker

Deploy or update a Cloudflare Worker script.

{
  "type": "object",
  "required": [
    "name",
    "script"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Worker script name"
    },
    "script": {
      "type": "string",
      "description": "Worker script content (JavaScript/TypeScript)"
    },
    "bindings": {
      "type": "object",
      "description": "Environment variable and resource bindings"
    }
  }
}

kv_get

Get a value from a KV namespace by key.

{
  "type": "object",
  "required": [
    "namespace_id",
    "key"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "Key to retrieve"
    },
    "namespace_id": {
      "type": "string",
      "description": "KV namespace ID"
    }
  }
}

d1_query

Execute a SQL query against a D1 database.

{
  "type": "object",
  "required": [
    "database_id",
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "SQL query to execute"
    },
    "params": {
      "type": "array",
      "description": "Query parameters"
    },
    "database_id": {
      "type": "string",
      "description": "D1 database ID"
    }
  }
}

manage_dns

Create, update, or delete DNS records for a zone.

{
  "type": "object",
  "required": [
    "zone_id",
    "action"
  ],
  "properties": {
    "action": {
      "type": "string",
      "description": "Action (create, update, delete, list)"
    },
    "record": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "content": {
          "type": "string"
        }
      },
      "description": "DNS record details"
    },
    "zone_id": {
      "type": "string",
      "description": "Cloudflare zone ID"
    }
  }
}

Kaynaklar

Bu sunucu herhangi bir kaynak sunmuyor.

Prompt'lar

Bu sunucu herhangi bir prompt sunmuyor.

Sunucu bilgileri

Yazar
Cloudflare (@cloudflare)
Repository
https://github.com/cloudflare/mcp-server-cloudflare
Lisans
Apache-2.0
Sürüm
0.6.0
Yıldızlar
3,778
Son güncelleme
25 Mayıs 2026