mcp-server-cloudflare
cloudflare · cloudflare/mcp-server-cloudflare
Quản lý các dịch vụ Cloudflare, đọc cấu hình tài khoản và thực hiện các thay đổi hạ tầng qua ngôn ngữ tự nhiên.
Xem trước
Bạn có thể làm gì với nó
- Cập nhật bản ghi DNS hoặc quy tắc bảo mật bằng cách yêu cầu AI agent
- Theo dõi và sửa lỗi Cloudflare Workers hoặc hiệu suất trang web từ khung chat
- Phân tích cấu hình tài khoản để nhận các đề xuất về bảo mật và hiệu suất
Kiểm tra an toàn
Không thấy dấu hiệu rủi ro trong các file đã quét.
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ 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.
Every server in this repository exposes the same stateless Streamable HTTP handler at /mcp and /sse through a fresh SDK v2 server factory. /sse remains as a URL compatibility alias; it does not use the deprecated HTTP+SSE transport. A legacy SSE GET /sse request receives a 410 Gone Problem Details response with two migration options: configure the existing URL to use Streamable HTTP, or switch to the recommended /mcp URL for future compatibility. Modern 2026 requests and stateless 2025 requests share the same request-scoped implementation without an MCP protocol session. OAuth, credentials, account selection, application caches, and product Durable Objects remain application/security state where required.
Cloudflare offers the following MCP servers. The domain-specific servers are included in this repository, while the recommended Code Mode server is maintained in cloudflare/mcp:
| Server Name | Description | Server URL |
|---|---|---|
| Code Mode server (recommended) | Best when you want broad access across Cloudflare's APIs through code execution | https://mcp.cloudflare.com/mcp |
| Documentation server | Get up-to-date reference information on Cloudflare | https://docs.mcp.cloudflare.com/mcp |
| Container server | Spin up a sandbox development environment | https://containers.mcp.cloudflare.com/mcp |
| Browser Run server | Fetch web pages, convert them to markdown and take screenshots | https://browser.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 |
| Cloudflare Blog server | Search and read posts from the Cloudflare Blog | https://blog.mcp.cloudflare.com/mcp |
| Demo Day server | Demonstrate a minimal Cloudflare MCP server | https://demo-day.mcp.cloudflare.com/mcp |
Deprecated servers
Please migrate to the Cloudflare API MCP Server at your earliest convenience.
| Server Name | Description | Server URL |
|---|---|---|
| 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 |
| AutoRAG server | Search and query account AutoRAG instances | https://autorag.mcp.cloudflare.com/mcp |
| DNS Analytics server | Optimize DNS performance and debug issues based on current setup | https://dns-analytics.mcp.cloudflare.com/mcp |
| GraphQL server | Get analytics data using Cloudflare's GraphQL API | https://graphql.mcp.cloudflare.com/mcp |
| Logpush server | Get quick summaries for Logpush job health | https://logs.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 | Explore Cloudflare Radar internet insights | https://radar.mcp.cloudflare.com/mcp |
| Workers Bindings server | Build Workers applications with storage, AI, and compute primitiv |