Skip to content

Cloudflare Mcp

Verified

Cloudflare Mcp — mcp servers tool. Supports Cloudflare API, Workers, DNS.

173 downloads
$ Add to .claude/skills/

About This Skill

Content available in Chinese

# Cloudflare MCP

使用 Cloudflare Code Mode MCP 调用 Cloudflare API。支持 Workers、DNS、R2、D1、KV、Vectorize 等 2500+ 端点。

触发词

  • "Cloudflare"
  • "CF"
  • "DNS"
  • "Workers"
  • "R2"
  • "D1"
  • "KV"

前置要求

在 openclaw.json 中配置 MCP:

```json { "mcpServers": { "cloudflare-api": { "url": "https://mcp.cloudflare.com/mcp" } } } ```

然后重启 Gateway。首次使用时会跳转到 Cloudflare 授权页面。

可用操作

| 操作 | 说明 | |------|------| | 列出 Workers | 列出所有 Workers 脚本 | | 查看 DNS 记录 | 获取域名的 DNS 记录 | | 创建 DNS 记录 | 添加新的 DNS 记录 | | 创建 KV 命名空间 | 创建新的 KV 存储 | | 创建 R2 存储桶 | 创建 R2 对象存储 | | 查看账户信息 | 获取账户详情和配额 |

使用示例

  • "列出我所有的 Workers"
  • "查看 example.com 的 DNS 记录"
  • "创建一个叫 my-cache 的 KV 命名空间"
  • "给 api.example.com 添加一条 A 记录指向 1.2.3.4"

注意事项

  • Code Mode 模式下,模型会自动搜索 API 端点并执行调用
  • 首次使用需要 OAuth 授权
  • 所有操作通过 Cloudflare MCP 的 search() 和 execute() 工具完成

Use Cases

  • Call any of Cloudflare's 2500+ API endpoints through the MCP Code Mode interface
  • Manage Workers, DNS, R2 storage, D1 databases, KV, and Vectorize from an agent
  • Deploy and update Cloudflare Workers scripts programmatically
  • Query D1 databases and manage KV namespaces without leaving the agent context
  • Automate R2 bucket operations including file upload and lifecycle management

Pros & Cons

Pros

  • +Access to 2500+ Cloudflare API endpoints through a single MCP integration
  • +Covers Workers, DNS, R2, D1, KV, and Vectorize in one skill
  • +Trigger by natural keywords like 'Cloudflare', 'DNS', or 'Workers'

Cons

  • -Documentation partially in Chinese
  • -Only available on claude-code and openclaw platforms
  • -Requires MCP server setup in OpenClaw configuration before use

FAQ

What does Cloudflare Mcp do?
Cloudflare Mcp — mcp servers tool. Supports Cloudflare API, Workers, DNS.
What platforms support Cloudflare Mcp?
Cloudflare Mcp is available on Claude Code, OpenClaw.
What are the use cases for Cloudflare Mcp?
Call any of Cloudflare's 2500+ API endpoints through the MCP Code Mode interface. Manage Workers, DNS, R2 storage, D1 databases, KV, and Vectorize from an agent. Deploy and update Cloudflare Workers scripts programmatically.

100+ free AI tools

Writing, PDF, image, and developer tools — all in your browser.