mcp-server-cloudflare
OfficialMCP-сервер Cloudflare
Model Context Protocol (MCP) — это новый стандартизированный протокол для управления контекстом между большими языковыми моделями (LLM) и внешними системами. В этом репозитории вы найдете несколько MCP-серверов, позволяющих подключаться к сервисам Cloudflare из MCP-клиента (например, Cursor, Claude) и использовать естественный язык для выполнения задач в вашей учетной записи Cloudflare.
Эти MCP-серверы позволяют вашему MCP-клиенту считывать конфигурации из вашей учетной записи, обрабатывать информацию, предлагать решения на основе данных и даже вносить эти предложенные изменения за вас. Все эти действия могут выполняться в рамках множества сервисов Cloudflare, включая разработку приложений, безопасность и производительность.
Они поддерживают как транспорт streamable-http через /mcp, так и транспорт sse (устаревший) через /sse.
В этот репозиторий включены следующие серверы:
Название сервера | Описание | URL сервера |
Получение актуальной справочной информации по Cloudflare |
| |
Создание приложений Workers с использованием хранилища, ИИ и примитивов вычислений |
| |
Получение аналитики и управление сборками Cloudflare Workers |
| |
Отладка и получение аналитики по логам и метрикам вашего приложения |
| |
Получение глобальной аналитики интернет-трафика, трендов, сканирований URL и других утилит |
| |
Запуск среды разработки в песочнице |
| |
Получение веб-страниц, преобразование их в markdown и создание скриншотов |
| |
Получение кратких сводок о состоянии заданий Logpush |
| |
Поиск по логам, получение подробной информации о запросах и ответах |
| |
Запрос журналов аудита и создание отчетов для проверки |
| |
Оптимизация производительности DNS и отладка проблем на основе текущих настроек |
| |
Получение быстрой аналитики по критически важным приложениям для вашей организации |
| |
Быстрое выявление ошибок конфигурации безопасности для SaaS-приложений для защиты пользователей и данных |
| |
Получение аналитических данных с помощью GraphQL API от Cloudflare |
|
Какой MCP-сервер Cloudflare вам следует использовать?
Cloudflare предоставляет две категории MCP-серверов:
Сервер Code Mode (
mcp.cloudflare.com) вcloudflare/mcp: лучший выбор, если вам нужен широкий доступ к API Cloudflare через выполнение кода.Доменно-ориентированные серверы (
*.mcp.cloudflare.com) в этом репозитории: лучший выбор, если вам нужны специализированные, типизированные инструменты для конкретного продукта Cloudflare.
Когда использовать каждый из них?
Используйте сервер Code Mode, когда:
вам нужен широкий охват API для многих продуктов Cloudflare
вы предпочитаете небольшой набор инструментов общего назначения
ваш рабочий процесс лучше реализуется через выполнение кода
Используйте доменно-ориентированные серверы из этого репозитория, когда:
вам нужны специализированные инструменты для конкретной области продукта
вам нужны более направленные, типизированные взаимодействия
вы работаете преимущественно в рамках одного домена Cloudflare, такого как наблюдаемость, привязки, Radar или рендеринг браузера
Узнайте больше о сервере Code Mode здесь: cloudflare/mcp.
Related MCP server: Cloudflare MCP Server
Доступ к удаленному MCP-серверу из любого MCP-клиента
Если ваш MCP-клиент имеет встроенную поддержку удаленных MCP-серверов, он предоставит способ указать URL сервера непосредственно в интерфейсе (например, Cloudflare AI Playground)
Если ваш клиент еще не поддерживает удаленные MCP-серверы, вам нужно будет настроить соответствующий файл конфигурации с помощью mcp-remote (https://www.npmjs.com/package/mcp-remote), чтобы указать, к каким серверам ваш клиент может обращаться.
{
"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"]
}
}
}Использование MCP-серверов Cloudflare через API ответов OpenAI
Чтобы использовать один из MCP-серверов Cloudflare с API ответов OpenAI, вам нужно будет предоставить API ответов токен API, имеющий области доступа (разрешения), необходимые для этого конкретного MCP-сервера.
Например, чтобы использовать MCP-сервер рендеринга браузера с OpenAI, создайте токен API в панели управления Cloudflare здесь со следующими разрешениями:
Нужен доступ к другим инструментам Cloudflare?
Мы продолжаем добавлять новые функции в этот репозиторий удаленных MCP-серверов. Если вы хотите оставить отзыв, сообщить об ошибке или отправить запрос на добавление функции, пожалуйста, откройте issue в этом репозитории.
Устранение неполадок
"Claude's response was interrupted ... "
Если вы видите это сообщение, вероятно, Claude достиг лимита длины контекста и остановился на середине ответа. Чаще всего это происходит на серверах, которые вызывают множество цепочек инструментов, таких как сервер наблюдаемости.
Чтобы снизить вероятность возникновения этой проблемы:
Старайтесь быть конкретными, формулируйте запросы кратко.
Если один запрос вызывает несколько инструментов, попробуйте разбить его на несколько более мелких вызовов инструментов, чтобы ответы оставались короткими.
Платные функции
Некоторые функции могут требовать платного тарифного плана Cloudflare Workers. Убедитесь, что ваша учетная запись Cloudflare имеет необходимый уровень подписки для функций, которые вы планируете использовать.
Участие в разработке
Хотите внести свой вклад и запустить этот сервер локально? См. CONTRIBUTING.md, чтобы начать.
Available Tools
2 toolsmigrate_pages_to_workers_guideARead-only
ALWAYS read this guide before migrating Pages projects to Workers.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true; description adds no additional behavioral context beyond the instruction to read the guide, which is sufficient for a static document.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded, no unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter guide without output schema, the description adequately conveys the tool's purpose and usage context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist, so schema coverage is 100%. Description does not need to add parameter details; baseline 4 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool is a guide to be read before migrating Pages to Workers, distinguishing it from the sibling search tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use the tool (before migration), though no alternatives or exclusions are discussed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_cloudflare_documentationARead-only
Search the Cloudflare documentation.
This tool should be used to answer any question about Cloudflare products or features, including:
- Workers, Pages, R2, Images, Stream, D1, Durable Objects, KV, Workflows, Hyperdrive, Queues
- AI Search, Workers AI, Vectorize, AI Gateway, Browser Run
- Zero Trust, Access, Tunnel, Gateway, Browser Isolation, WARP, DDOS, Magic Transit, Magic WAN
- CDN, Cache, DNS, Zaraz, Argo, Rulesets, Terraform, Account and Billing
Results are returned as semantically similar chunks to the query.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| results | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations include readOnlyHint=true, so the read-only nature is known. The description adds that results are 'semantically similar chunks', which gives insight into the behavior. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two paragraphs; the first sentence is concise, but the product list in the second paragraph is lengthy. Could be more concise, but overall efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter, read-only search), the description covers purpose, usage, and return format. Output schema exists, so return values are explained elsewhere. Adequately complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It lists topics to search, implying the query is a search string, but adds no details about format, length, or constraints. With only one parameter, it's minimally acceptable.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Search the Cloudflare documentation' and lists many product areas. The verb 'search' and resource 'Cloudflare documentation' are specific. The sibling tool 'migrate_pages_to_workers_guide' is clearly different, so no confusion.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description says it 'should be used to answer any question about Cloudflare products or features', providing clear usage context. It does not explicitly exclude cases where more specific tools might be better, but given only one sibling, it's adequate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
2 tool updates
v1.0.4- Changed
migrate_pages_to_workers_guide1 field changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
- Changed
search_cloudflare_documentation2 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
1 tool update
v1.0.3- Changed
search_cloudflare_documentation1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "results": { + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "Source file ID", + "type": "string" + }, + "similarity": { + "description": "Similarity score from AI Search", + "type": "number" + }, + "text": { + "description": "Matching documentation chunk text", + "type": "string" + }, + "title": { + "description": "Documentation page title", + "type": "string" + }, + "url": { + "description": "Developer documentation URL", + "type": "string" + } + }, + "required": [ + "similarity", + "id", + "url", + "title", + "text" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "results" + ], + "type": "object" +}
2 tool updates
v1.0.2- Changed
migrate_pages_to_workers_guide1 field changed- removed
Input schema / additionalPropertiesRemoved value: -false
- Changed
search_cloudflare_documentation1 field changed- removed
Input schema / additionalPropertiesRemoved value: -false
2 tool updates
- First observed
migrate_pages_to_workers_guide - First observed
search_cloudflare_documentation
TDQS
The two tools have clearly distinct purposes: one for general documentation search and one specifically for migrating Pages to Workers. There is no overlap.
Both tool names follow a verb_noun pattern in snake_case, with 'search_cloudflare_documentation' and 'migrate_pages_to_workers_guide', though the second is much longer.
With only 2 tools, the server feels very thin for the broad domain of Cloudflare products. It likely needs more tools to be useful.
Only documentation search and a specific migration guide are provided. Many core Cloudflare operations (e.g., managing resources, troubleshooting) are missing, leading to significant gaps.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Cloudflare Workers MCP server: claude-skill-validator
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-model-router
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceA lightweight MCP server for managing DNS records, purging cache, and interacting with the Cloudflare API through natural language commands.24-
- AlicenseNot gradedqualityCmaintenanceAn MCP server that allows using natural language to manage Cloudflare resources (Workers, KV, R2, D1) through Claude Desktop, VSCode, and other MCP clients.1910Apache 2.0

Cloudflare MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceA token-efficient MCP server that provides access to the entire Cloudflare API (2500+ endpoints) using a code execution pattern, enabling natural language management of Cloudflare services.11810Apache 2.0- AlicenseNot gradedqualityDmaintenanceA high-performance MCP server providing AI assistants with read-only access to the Cloudflare ecosystem. Query your entire Cloudflare infrastructure using natural language through Claude, Cursor, or any MCP-compatible client.5MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cloudflare/mcp-server-cloudflare'
If you have feedback or need assistance with the MCP directory API, please join our Discord server