MCP Connector

Manage Cloudflare Resources with MCP

Manage Cloudflare Workers, KV, R2, D1, and more with this MCP connector. Deploy, configure, and interact with Cloudflare services.

Works with cloudflare

90
Spark score
out of 100
Updated 5 months ago
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Deploy, configure, and manage Cloudflare resources including Workers, KV, R2, and D1 databases. Interact with Cloudflare's developer platform for seamless resource management.

Outcomes

What it gets done

01

Deploy and manage Cloudflare Workers

02

Interact with KV namespaces and R2 object storage

03

Query D1 databases

04

View logs and analytics

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-cloudflare | bash

Overview

Cloudflare MCP

The Cloudflare MCP connector allows AI clients to interact with Cloudflare's developer platform. It enables the deployment, configuration, and management of various Cloudflare services including Workers, KV namespaces, R2 object storage, and D1 databases. Use this connector when you need to programmatically manage Cloudflare resources, automate deployments, or integrate Cloudflare services into AI-driven workflows. It's suitable for tasks ranging from deploying Workers to querying databases and inspecting logs.

What it does

As a developer, I want to manage my Cloudflare resources programmatically so that I can automate deployments and configurations.

Big Job: Automate the management and deployment of Cloudflare services.
Small Job: Configure and deploy Cloudflare Workers, interact with KV namespaces, manage R2 storage, and query D1 databases.

{
  "mcpServers": {
    "cloudflare-bindings": {
      "command": "npx",
      "args": ["mcp-remote", "https://bindings.mcp.cloudflare.com/mcp"]
    },
    "cloudflare-observability": {
      "command": "npx",
      "args": ["mcp-remote", "https://observability.mcp.cloudflare.com/mcp"]
    }
  }
}

Example Usage:

Claude, deploy a new Worker to handle API requests,
create a KV namespace for caching, and bind them together.
Source README

The Cloudflare MCP server enables interaction with Cloudflare's developer platform, allowing you to deploy, configure, and manage resources across Workers, KV, R2, D1, and other Cloudflare services.

Available Servers

Cloudflare provides multiple specialized MCP servers:

Server Description URL
Documentation Get up-to-date Cloudflare reference information https://docs.mcp.cloudflare.com/mcp
Workers Bindings Build Workers with storage, AI, and compute https://bindings.mcp.cloudflare.com/mcp
Workers Builds Manage Cloudflare Workers Builds https://builds.mcp.cloudflare.com/mcp
Observability Debug and analyze logs and analytics https://observability.mcp.cloudflare.com/mcp
Radar Global Internet traffic insights and URL scans https://radar.mcp.cloudflare.com/mcp
Container Spin up sandbox development environments https://containers.mcp.cloudflare.com/mcp
Browser Rendering Fetch web pages and take screenshots https://browser.mcp.cloudflare.com/mcp
AI Gateway Search logs, inspect prompts and responses https://ai-gateway.mcp.cloudflare.com/mcp

Configuration

Since these are remote MCP servers, use mcp-remote:

{
  "mcpServers": {
    "cloudflare-bindings": {
      "command": "npx",
      "args": ["mcp-remote", "https://bindings.mcp.cloudflare.com/mcp"]
    },
    "cloudflare-observability": {
      "command": "npx",
      "args": ["mcp-remote", "https://observability.mcp.cloudflare.com/mcp"]
    }
  }
}

Features

  • Deploy and manage Workers
  • Interact with KV namespaces
  • Manage R2 object storage
  • Query D1 databases
  • View logs and analytics
  • Access Cloudflare Radar data
  • Browser automation and screenshots

Authentication

Authentication is handled through Cloudflare OAuth when connecting to the remote servers. You'll be prompted to authorize access to your Cloudflare account.

Usage Example

Claude, deploy a new Worker to handle API requests,
create a KV namespace for caching, and bind them together.

Supported Transports

  • streamable-http via /mcp endpoint
  • sse (deprecated) via /sse endpoint

Note

Some features may require a paid Cloudflare Workers plan. Ensure your account has the necessary subscription for the features you intend to use.

FAQ

Common questions

Discussion

Questions & comments ยท 0

Sign In Sign in to leave a comment.