The Mcp Server Cloudflare provides a suite of interconnected MCP servers that enable LLM clients to interact with Cloudflare's services through natural language, including tools for managing Workers applications, debugging logs and analytics, accessing API documentation, analyzing global internet traffic patterns, and executing containerized development environments. The servers support streamable-HTTP and SSE transports, allowing users to read account configurations, retrieve insights, and execute changes across Cloudflare's application development, security, and performance platforms. This integration bridges LLMs and Cloudflare infrastructure, enabling automated task execution and data-driven recommendations without direct API calls.
Public tool metadata for what this MCP can expose to an agent.
searchSearch the Cloudflare OpenAPI spec. All $refs are pre-resolved inline. Products: ai, cloudforce-one, access, magic, workers, realtime, devices, dlp, email-security, stream, ai-search, brand-protection, gateway, email, intel, api_gateway, addressing, browser-rendering, dex, bui...1 paramsSearch the Cloudflare OpenAPI spec. All $refs are pre-resolved inline. Products: ai, cloudforce-one, access, magic, workers, realtime, devices, dlp, email-security, stream, ai-search, brand-protection, gateway, email, intel, api_gateway, addressing, browser-rendering, dex, bui...
codestringexecuteExecute JavaScript code against the Cloudflare API. First use the 'search' tool to find the right endpoints, then write code using the cloudflare.request() function. Available in your code: interface CloudflareRequestOptions { method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE...2 paramsExecute JavaScript code against the Cloudflare API. First use the 'search' tool to find the right endpoints, then write code using the cloudflare.request() function. Available in your code: interface CloudflareRequestOptions { method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE...
codestringaccount_idstringModel 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.
They support both the streamable-http transport via /mcp and the sse transport (deprecated) via /sse.
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/mcp |
| Workers Bindings server | Build Workers applications with storage, AI, and compute primitives | https://bindings.mcp.cloudflare.com/mcp |
| Workers Builds server | Get insights and manage your Cloudflare Workers Builds | https://builds.mcp.cloudflare.com/mcp |
| Observability server | Debug and get insight into your application's logs and analytics | https://observability.mcp.cloudflare.com/mcp |
| Container server | Spin up a sandbox development environment | https://containers.mcp.cloudflare.com/mcp |
| Browser rendering server | Fetch web pages, convert them to markdown and take screenshots | https://browser.mcp.cloudflare.com/mcp |
| Logpush server | Get quick summaries for Logpush job health | https://logs.mcp.cloudflare.com/mcp |
| AI Gateway server | Search your logs, get details about the prompts and responses | https://ai-gateway.mcp.cloudflare.com/mcp |
| Audit Logs server | Query audit logs and generate reports for review | https://auditlogs.mcp.cloudflare.com/mcp |
| DNS Analytics server | Optimize DNS performance and debug issues based on current set up | https://dns-analytics.mcp.cloudflare.com/mcp |
| Digital Experience Monitoring server | Get quick insight on critical applications for your organization | https://dex.mcp.cloudflare.com/mcp |
| Cloudflare One CASB server | Quickly identify any security misconfigurations for SaaS applications to safeguard users & data | https://casb.mcp.cloudflare.com/mcp |
| GraphQL server | Get analytics data using Cloudflare’s GraphQL API | https://graphql.mcp.cloudflare.com/mcp |
Cloudflare provides two categories of MCP servers:
mcp.cloudflare.com) in cloudflare/mcp:
best when you want broad access across Cloudflare's APIs through code execution.*.mcp.cloudflare.com) in this repository:
best when you want curated, typed tools for a specific Cloudflare product area.Use the Code Mode server when:
Use the domain-specific servers in this repository when:
Learn more about the Code Mode server here: cloudflare/mcp.
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.
{
"mcpServers": {
"cloudflare-observability": {
"command": "npx",
"args": ["mcp-remote", "https://observability.mcp.cloudflare.com/mcp"]
},
"cloudflare-bindings": {
"command": "npx",
"args": ["mcp-remote", "https://bindings.mcp.cloudflare.com/mcp"]
}
}
}
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:
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
"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:
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.
Interested in contributing, and running this server locally? See CONTRIBUTING.md to get started.
silenceper/mcp-k8s
azure/containerization-assist
io.github.evozim/aws-builder
reza-gholizade/k8s-mcp-server
flux159/mcp-server-kubernetes