Cloudflare MCP Server 配置与使用说明

📦
安装方式npx
⚠️
风险等级高风险
🔑
API Key不需要
💻
客户端3 个支持

Cloudflare 服务管理,支持 Workers、KV、R2 和 D1 操作

高风险 场景:部署与运维 核验:2026-05-18 状态:已核验

支持客户端

安装命令

npx -y @cloudflare/mcp-server-cloudflare

配置示例

{
  "mcpServers": {
    "cloudflare": {
      "command": "npx",
      "args": [
        "-y",
        "@cloudflare/mcp-server-cloudflare"
      ]
    }
  }
}

权限范围与安全提示

可操作 Cloudflare 账号下的 Workers、KV、R2 等资源,需要 OAuth 授权

风险评分:7/10

常见报错

认证失败
首次使用会打开浏览器进行 OAuth 授权
account not found
确认 Cloudflare 账号有对应资源的权限

来源

最近核验:2026-05-18。客户端版本和配置格式可能变化,使用前请以官方文档为准。

相关工具