By cloudflareCreated 4 days ago
starstarstarstarstar

Deploy, configure & interrogate resources on the Cloudflare developer platform (Workers, KV, R2, D1).

Visit Project
Share this MCP:
X (Formerly Twitter)RedditblueskyThreads by Instagram

Category

Official MCP Server

Tags

CloudflareMcpDevelopersCloudApiWorkers

What is Cloudflare MCP Server?

The Cloudflare MCP Server is a repository of Model Context Protocol (MCP) servers that enable interaction with Cloudflare's developer platform (Workers, KV, R2, D1) through natural language. It allows developers to deploy, configure, and query resources using MCP clients like Cursor or Claude.

How to use Cloudflare MCP Server?

To use Cloudflare's MCP servers:

  1. Direct Connection (Client Support): If your MCP client natively supports remote servers, input the server URL via the client interface (e.g., Cloudflare AI Playground).
  2. Configuration Setup: For clients without built-in support, use mcp-remote to configure server access by editing the client's config file. Example:
{  
"mcpServers": {  
"cloudflare-observability": {  
"command": "npx",  
"args": ["mcp-remote", "https://observability.mcp.cloudflare.com/sse"]  
}  
}  
}```  
- **OpenAI Responses API**: When using OpenAI's API, ensure your Cloudflare API token has the required scopes (e.g., for Browser Rendering or other services).  

## Key Features  
- **Diverse Cloudflare Services**: Interact with tools like Workers Bindings, Radar, Observability, AI Gateway, and more.  
- **Natural Language Control**: Use MCP clients to read configurations, process data, and make changes across Cloudflare's ecosystem (e.g., Workers, DNS, security).  
- **Embedded Documentation**: Access up-to-date Cloudflare API docs via the Documentation server.  
- **Dev Environments**: Spin up sandbox containers or test browser rendering.  
- **Security & Analytics**: Tools like Audit Logs, Digital Experience Monitoring (DEX), and CASB for SaaS misconfigurations.  

## Use Cases  
1. **Workers Development**: Deploy and debug Workers apps with storage (KV/R2) and AI integrations.  
2. **Observability & Logging**: Analyze application logs, metrics, and health (e.g., Logpush summaries).  
3. **AI & GraphQL**: Query AI Gateway logs or fetch analytics via GraphQL.  
4. **Security**: Scan for SaaS misconfigurations or audit permissions.  
5. **Content Generation**: Convert web pages to markdown or take screenshots.  

## FAQ  
- **Q: How do I resolve "Claude's response was interrupted" errors?**  
> A: Break complex queries into smaller tool calls to avoid OpenAI's context limit. Be specific and concise.  
- **Q: Are there paid features?**  
> A: Some features may require a paid Cloudflare Workers plan. Ensure your account has the necessary subscription.  
- **Q: How can I contribute?**  
> A: Follow the [CONTRIBUTING.md](https://github.com/cloudflare/mcp-server-cloudflare/blob/main/CONTRIBUTING.md) guide to run the server locally or submit feedback via GitHub issues.