Cloudflare MCP Server logo

Cloudflare MCP Server

by GutMutCode

This repository provides an MCP Server for Cloudflare's API, enabling interaction with Cloudflare services using natural language. It allows you to use Claude Desktop or other MCP Clients to manage your Cloudflare account.

View on GitHub

Last updated: N/A

What is Cloudflare MCP Server?

The Cloudflare MCP Server is an implementation of the Model Context Protocol (MCP) that allows you to interact with your Cloudflare account using natural language commands through MCP clients like Claude Desktop, VSCode (Cline) and Windsurf. It provides a set of tools to manage various Cloudflare services.

How to use Cloudflare MCP Server?

  1. Run npx @gutmutcode/mcp-server-cloudflare init to initialize the server. 2. Restart your MCP client (e.g., Claude Desktop). 3. Configure your MCP client with your Cloudflare account ID. 4. Use natural language commands to interact with Cloudflare services. Refer to the documentation for specific command examples.

Key features of Cloudflare MCP Server

  • KV Store Management (list, get, put, delete)

  • R2 Storage Management (list, create, delete buckets; list, get, put, delete objects)

  • D1 Database Management (list, create, delete databases; execute queries)

  • Workers Management (list, get, put, delete)

  • Analytics retrieval with date range filtering

Use cases of Cloudflare MCP Server

  • Deploying new Workers with durable objects using natural language.

  • Querying data in D1 databases using natural language.

  • Copying data between KV namespaces and R2 buckets using natural language.

  • Automating Cloudflare resource management through natural language commands.

FAQ from Cloudflare MCP Server

What is MCP?

Model Context Protocol (MCP) is a standardized protocol for managing context between large language models (LLMs) and external systems.

What Cloudflare services can I manage with this server?

You can manage KV namespaces, R2 buckets, D1 databases, Workers, and retrieve analytics data.

Which MCP clients are supported?

Claude Desktop, VSCode (Cline), and Windsurf are explicitly mentioned as compatible MCP clients.

How do I configure the server?

Run npx @gutmutcode/mcp-server-cloudflare init and configure your MCP client with your Cloudflare account ID.

Can I contribute to this project?

Yes, contributions are welcome! Please submit a Pull Request.