Cloudflare
DevOps编辑精选Cloudflare
by Cloudflare
Cloudflare MCP Server 是让你用自然语言管理 Workers、KV 和 R2 等云资源的工具。
这个工具解决了开发者频繁切换控制台和文档的痛点,特别适合那些在 Cloudflare 上部署无服务器应用、需要快速调试或管理配置的团队。不过,由于它依赖多个子服务器,初次设置可能有点繁琐,建议先从 Workers Bindings 这类核心功能入手。
什么是 Cloudflare?
Cloudflare MCP Server 是让你用自然语言管理 Workers、KV 和 R2 等云资源的工具。
如何使用 Cloudflare
安装命令
npx -y @cloudflare/mcp-server-cloudflareREADME
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.
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 |
| Radar server | Get global Internet traffic insights, trends, URL scans, and other utilities | https://radar.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 |
Which Cloudflare MCP server should you use?
Cloudflare provides two categories of MCP servers:
- Code Mode server (
mcp.cloudflare.com) incloudflare/mcp: best when you want broad access across Cloudflare's APIs through code execution. - Domain-specific servers (
*.mcp.cloudflare.com) in this repository: best when you want curated, typed tools for a specific Cloudflare product area.
When should you use each?
Use the Code Mode server when:
- you need broad API coverage across many Cloudflare products
- you prefer a smaller set of general-purpose tools
- your workflow is better served by code execution
Use the domain-specific servers in this repository when:
- you want purpose-built tools for a specific product area
- you want more guided, typed interactions
- you are working primarily within one Cloudflare domain such as observability, bindings, Radar, or Browser Rendering
Learn more about the Code Mode server here: cloudflare/mcp.
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.
{
"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"]
}
}
}
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:
<img width="937" alt="Screenshot 2025-05-21 at 10 38 02 AM" src="https://github.com/user-attachments/assets/872e253f-23ce-43b3-983c-45f9d0f66100" />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.
常见问题
Cloudflare 是什么?
管理 Cloudflare Workers、KV、R2 和 D1 资源。
如何安装 Cloudflare?
运行命令:npx -y @cloudflare/mcp-server-cloudflare
相关 Skills
环境密钥管理
by alirezarezvani
统一梳理dev/staging/prod的.env和密钥流程,自动生成.env.example、校验必填变量、扫描Git历史泄漏,并联动Vault、AWS SSM、1Password、Doppler完成轮换。
✎ 统一管理环境变量、密钥与配置,减少泄露和部署混乱,安全治理与团队协作一起做好,DevOps 场景很省心。
可观测性设计
by alirezarezvani
面向生产系统规划可落地的可观测性体系,串起指标、日志、链路追踪与 SLI/SLO、错误预算、告警和仪表盘设计,适合搭建监控平台与优化故障响应。
✎ 把监控、日志、链路追踪串起来,帮助团队从设计阶段构建可观测性,排障更快、系统演进更稳。
更新日志
by alirezarezvani
基于 Conventional Commits 自动解析提交记录、判断语义化版本升级并生成规范 changelog,适合在 CI、发版前检查提交格式并批量输出可审计发布说明。
✎ 自动生成和管理更新日志与发布说明,帮团队把版本变更说清楚;聚焦版本化与流程自动化,省时又更规范。
相关 MCP Server
kubefwd
编辑精选by txn2
kubefwd 是让 AI 帮你批量转发 Kubernetes 服务到本地的开发神器。
✎ 微服务开发者最头疼的本地调试问题,它一键搞定——自动分配 IP 避免端口冲突,还能用自然语言查询状态。但依赖 AI 工作流,纯命令行爱好者可能觉得不够直接。
Terraform
编辑精选by hashicorp
Terraform MCP Server 是让 AI 助手直接操作 Terraform Registry 和 HCP Terraform 的桥梁。
✎ 如果你经常在 Terraform 里翻文档找模块配置,这个服务器能省不少时间——直接问 Claude 就能生成准确的代码片段。最适合管理多云基础设施的团队,但注意它目前只适合本地使用,别在生产环境里暴露 HTTP 端点。
by monsterxx03
检查运行中的 Go 进程,查看 goroutine 状态、内存统计与二进制信息,并通过终端 UI、HTTP API 或 SSE 端点访问数据。
✎ 排查 Go 服务运行态问题很顺手,能直接查看 goroutine、内存和二进制信息,还同时提供终端 UI、HTTP API 与 SSE,临时诊断和接入监控都方便。