cloudflare/mcp-server-cloudflare

cloudflare/mcp-server-cloudflare

Connect Cloudflare services to Model Context Protocol (MCP) clients for AI-powered management.

2,919
Stars
251
Forks
2,919
Watchers
28
Issues
Cloudflare MCP Server enables integration between Cloudflare's suite of services and clients using the Model Context Protocol (MCP). It provides multiple specialized servers that allow AI models to access, analyze, and manage configurations, logs, analytics, and other features across Cloudflare's platform. Users can leverage natural language interfaces in compatible MCP clients to read data, gain insights, and perform automated actions on their Cloudflare accounts. This project aims to streamline the orchestration of security, development, monitoring, and infrastructure tasks through standardized MCP connections.

Key Features

Provides multiple MCP server endpoints for different Cloudflare services
Enables natural language access to Cloudflare APIs and data
Integrates with major MCP clients such as Cursor and Claude
Supports AI-powered management of configurations and resources
Offers endpoints for documentation, builds, observability, analytics, and more
Facilitates automated suggestions and changes via AI interfaces
Works with OpenAI's Responses API for advanced workflows
Supports secure API token authentication per service
Can be configured for local or remote use
Continuously expanding support for additional Cloudflare tools

Use Cases

Automating Cloudflare configuration management via AI-driven clients
Accessing real-time analytics and observability data through language models
Debugging and monitoring applications hosted on Cloudflare using AI tools
Managing Workers builds and bindings programmatically
Retrieving and summarizing audit logs or security events
Interacting with DNS analytics and optimizing DNS setup
Spinning up sandbox development environments effortlessly
Using browser rendering tools to fetch web content and screenshots
Integrating Cloudflare services with external LLM-powered agents
Enabling SaaS security audits and compliance reports via automated queries

README

Cloudflare MCP Server

Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, you can find several MCP servers allowing you to connect to Cloudflare's service from an MCP client (e.g. Cursor, Claude) and use natural language to accomplish tasks through your Cloudflare account.

These MCP servers allow your MCP Client to read configurations from your account, process information, make suggestions based on data, and even make those suggested changes for you. All of these actions can happen across Cloudflare's many services including application development, security and performance.

The following servers are included in this repository:

Server Name Description Server URL
Documentation server Get up to date reference information on Cloudflare https://docs.mcp.cloudflare.com/sse
Workers Bindings server Build Workers applications with storage, AI, and compute primitives https://bindings.mcp.cloudflare.com/sse
Workers Builds server Get insights and manage your Cloudflare Workers Builds https://builds.mcp.cloudflare.com/sse
Observability server Debug and get insight into your application's logs and analytics https://observability.mcp.cloudflare.com/sse
Radar server Get global Internet traffic insights, trends, URL scans, and other utilities https://radar.mcp.cloudflare.com/sse
Container server Spin up a sandbox development environment https://containers.mcp.cloudflare.com/sse
Browser rendering server Fetch web pages, convert them to markdown and take screenshots https://browser.mcp.cloudflare.com/sse
Logpush server Get quick summaries for Logpush job health https://logs.mcp.cloudflare.com/sse
AI Gateway server Search your logs, get details about the prompts and responses https://ai-gateway.mcp.cloudflare.com/sse
AutoRAG server List and search documents on your AutoRAGs https://autorag.mcp.cloudflare.com/sse
Audit Logs server Query audit logs and generate reports for review https://auditlogs.mcp.cloudflare.com/sse
DNS Analytics server Optimize DNS performance and debug issues based on current set up https://dns-analytics.mcp.cloudflare.com/sse
Digital Experience Monitoring server Get quick insight on critical applications for your organization https://dex.mcp.cloudflare.com/sse
Cloudflare One CASB server Quickly identify any security misconfigurations for SaaS applications to safeguard users & data https://casb.mcp.cloudflare.com/sse
GraphQL server Get analytics data using Cloudflare’s GraphQL API https://graphql.mcp.cloudflare.com/sse

Access the remote MCP server from any MCP client

If your MCP client has first class support for remote MCP servers, the client will provide a way to accept the server URL directly within its interface (e.g. Cloudflare AI Playground)

If your client does not yet support remote MCP servers, you will need to set up its respective configuration file using mcp-remote (https://www.npmjs.com/package/mcp-remote) to specify which servers your client can access.

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

Using Cloudflare's MCP servers from the OpenAI Responses API

To use one of Cloudflare's MCP servers with OpenAI's responses API, you will need to provide the Responses API with an API token that has the scopes (permissions) required for that particular MCP server.

For example, to use the Browser Rendering MCP server with OpenAI, create an API token in the Cloudflare dashboard here, with the following permissions:

Need access to more Cloudflare tools?

We're continuing to add more functionality to this remote MCP server repo. If you'd like to leave feedback, file a bug or provide a feature request, please open an issue on this repository

Troubleshooting

"Claude's response was interrupted ... "

If you see this message, Claude likely hit its context-length limit and stopped mid-reply. This happens most often on servers that trigger many chained tool calls such as the observability server.

To reduce the chance of running in to this issue:

  • Try to be specific, keep your queries concise.
  • If a single request calls multiple tools, try to to break it into several smaller tool calls to keep the responses short.

Paid Features

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

Contributing

Interested in contributing, and running this server locally? See CONTRIBUTING.md to get started.

Star History

Star History Chart

Repository Owner

cloudflare
cloudflare

Organization

Repository Details

Language TypeScript
Default Branch main
Size 3,925 KB
Contributors 28
License Apache License 2.0
MCP Verified Sep 5, 2025

Programming Languages

TypeScript
87.31%
JavaScript
5.09%
CSS
4%
HTML
2.91%
Shell
0.42%
Dockerfile
0.28%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • MCP Server for Cortex

    MCP Server for Cortex

    Bridge Cortex threat analysis capabilities to MCP-compatible clients like Claude.

    MCP Server for Cortex exposes the analysis capabilities of a Cortex instance as tools consumable by Model Context Protocol (MCP) clients, such as large language models. It enables these clients to request threat intelligence analyses via Cortex and receive structured results. The server supports easy configuration, secure authentication, and flexible analyzer selection for integrating threat intelligence tasks into automated AI workflows.

    • 12
    • MCP
    • gbrigandi/mcp-server-cortex
  • mcp-confluent

    mcp-confluent

    MCP server for managing Confluent Cloud resources via natural language.

    mcp-confluent is a Model Context Protocol (MCP) server implementation designed to enable natural language interaction with Confluent Cloud REST APIs. It integrates with AI tools such as Claude Desktop and Goose CLI, allowing users to manage Kafka topics, connectors, and Flink SQL statements conversationally. The project offers flexible configuration, CLI usage, and supports various transports for secure and customizable operations.

    • 115
    • MCP
    • confluentinc/mcp-confluent
  • Firefly MCP Server

    Firefly MCP Server

    Seamless resource discovery and codification for Cloud and SaaS with Model Context Protocol integration.

    Firefly MCP Server is a TypeScript-based server implementing the Model Context Protocol to enable integration with the Firefly platform for discovering and managing resources across Cloud and SaaS accounts. It supports secure authentication, resource codification into infrastructure as code, and easy integration with tools such as Claude and Cursor. The server can be configured via environment variables or command line and communicates using standardized MCP interfaces. Its features facilitate automation and codification workflows for cloud resource management.

    • 15
    • MCP
    • gofireflyio/firefly-mcp
  • Open Feishu MCP Server

    Open Feishu MCP Server

    A Cloudflare-based remote MCP server with integrated Feishu OAuth authentication.

    Open Feishu MCP Server provides a fully functional remote Model Context Protocol (MCP) server with integrated Feishu OAuth support. It enables zero-configuration user authentication and context management via Feishu accounts and is optimized for usability and tool set performance. Designed for deployment on Cloudflare Workers, it offers scalable, secure connectivity with multiple clients and supports seamless integration with various tools and platforms.

    • 66
    • MCP
    • ztxtxwd/open-feishu-mcp-server
  • CipherTrust Manager MCP Server

    CipherTrust Manager MCP Server

    Enables AI assistants to access CipherTrust Manager securely via the Model Context Protocol.

    CipherTrust Manager MCP Server provides an implementation of the Model Context Protocol (MCP), offering AI assistants such as Claude and Cursor a unified interface to interact with CipherTrust Manager resources. Communication is facilitated through JSON-RPC over stdin/stdout, enabling key management, CTE client management, user management, and connection management functionalities. The tool is configurable via environment variables and integrates with existing CipherTrust Manager instances using the ksctl CLI for secure resource access.

    • 7
    • MCP
    • sanyambassi/ciphertrust-manager-mcp-server
  • Supabase MCP Server

    Supabase MCP Server

    Connect Supabase projects to AI assistants using the Model Context Protocol.

    Supabase MCP Server enables direct, secure integration between Supabase projects and AI assistants such as Cursor, Claude, and Windsurf. Leveraging the Model Context Protocol, it provides standardized endpoints for external LLMs to perform tasks like managing tables, fetching configurations, and querying data on Supabase. The server supports OAuth 2.1 Dynamic Client Registration and offers easy setup with feature groups and popular client installers for local, cloud, and self-hosted environments.

    • 2,263
    • MCP
    • supabase-community/supabase-mcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results