Cloudflare MCP Server Configuration & Usage Guide
Installationnpx
Risk LevelHigh Risk
API KeyNot Required
Clients3 supported
Cloudflare 服务管理,支持 Workers、KV、R2 和 D1 操作
Supported Clients
- Claude Desktop
- Cursor
- VS Code / Cline
Installation Command
npx -y @cloudflare/mcp-server-cloudflareConfiguration Example
{
"mcpServers": {
"cloudflare": {
"command": "npx",
"args": [
"-y",
"@cloudflare/mcp-server-cloudflare"
]
}
}
}Permission Scope & Security Notes
可操作 Cloudflare 账号下的 Workers、KV、R2 等资源,Required OAuth 授权
- network-access
- credential-required
- infrastructure-write
Risk Score:7/10
Common Errors
- 认证失败
- 首次使用会打开浏览器进行 OAuth 授权
- account not found
- 确认 Cloudflare 账号有对应资源的权限
Sources
Recently Verified:2026-05-18。Client versions and configuration formats may change. Please refer to official documentation before use.