Cloudflare MCP for Openclaw

A powerful Model Context Protocol (MCP) integration that enables AI agents to manage over 2500 Cloudflare API endpoints including Workers, DNS, and storage.

2233admin
v1.0.0
Feb 23, 2026
1
971
2

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cloudflare-mcp

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cloudflare-mcp using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Cloudflare MCP?

The Cloudflare MCP skill is a comprehensive integration designed for the Cloudflare Code Mode MCP, allowing AI agents to interact directly with the Cloudflare API. By leveraging this skill within Openclaw Skills, developers can automate the management of Workers, DNS records, R2 buckets, D1 databases, and KV namespaces through simple natural language commands.

This integration bridges the gap between AI coding agents and complex cloud infrastructure. It uses a dynamic discovery mechanism to navigate the vast Cloudflare ecosystem, ensuring that agents have the tools necessary to deploy, configure, and monitor services without manual dashboard intervention.

Cloudflare MCP Use Cases

  • Managing and updating DNS records for domains and subdomains automatically.
  • Deploying and inspecting Cloudflare Workers scripts directly from an AI chat interface.
  • Provisioning and managing cloud storage assets like R2 buckets and KV namespaces.
  • Automating database operations for Cloudflare D1 and Vectorize services.
  • Retrieving account-level details and monitoring usage quotas for infrastructure scaling.

How Cloudflare MCP Works

  1. The AI agent identifies a Cloudflare-related task based on user input or trigger words like Workers or DNS.
  2. The Openclaw Skills environment connects to the Cloudflare MCP server as defined in the configuration.
  3. Upon the first request, the user is redirected to an OAuth page to securely authorize access to their Cloudflare account.
  4. The agent uses the search() tool to find the specific API endpoint required for the requested operation from over 2500 available options.
  5. The agent invokes the execute() tool to perform the API call, returning the results or confirmation to the user.

Cloudflare MCP Setup

To get started with this skill, you must configure the MCP server in your openclaw.json file:

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

Once configured, restart your Gateway. The first time you trigger a Cloudflare command, an OAuth window will open to authorize the connection. This seamless setup is a core benefit of using Openclaw Skills.

Cloudflare MCP Data Schema & Taxonomy

The skill manages various Cloudflare resources through structured API interactions. Below is a summary of the data entities often handled:

Resource Description
Workers Deployment of serverless scripts and environment variables.
DNS Records Management of A, AAAA, CNAME, and TXT records for zones.
R2 & KV Storage buckets and key-value pairs for application data.
D1 SQL database management and query execution.
Account Metadata regarding account permissions, billing, and quotas.

All data transmitted is secured via Cloudflare's standard OAuth implementation.

Cloudflare MCP Advanced Features

  • Access to a massive library of 2500+ API endpoints covering almost every Cloudflare service.
  • Intelligent endpoint discovery using the search function to handle non-standard or complex requests.
  • Multi-service orchestration allowing the agent to set up DNS and Workers in a single workflow within Openclaw Skills.
  • Robust error handling and API validation provided by the Cloudflare Code Mode protocol.
  • Support for advanced AI-native features like Vectorize for vector database management.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*