Skip to main content
Glama
cloudflare

mcp-server-cloudflare

Official
by cloudflare

MCP-сервер Cloudflare

Model Context Protocol (MCP) — это новый стандартизированный протокол для управления контекстом между большими языковыми моделями (LLM) и внешними системами. В этом репозитории вы найдете несколько MCP-серверов, позволяющих подключаться к сервисам Cloudflare из MCP-клиента (например, Cursor, Claude) и использовать естественный язык для выполнения задач в вашей учетной записи Cloudflare.

Эти MCP-серверы позволяют вашему MCP-клиенту считывать конфигурации из вашей учетной записи, обрабатывать информацию, предлагать решения на основе данных и даже вносить эти предложенные изменения за вас. Все эти действия могут выполняться в рамках множества сервисов Cloudflare, включая разработку приложений, безопасность и производительность.

Они поддерживают как транспорт streamable-http через /mcp, так и транспорт sse (устаревший) через /sse.

В этот репозиторий включены следующие серверы:

Название сервера

Описание

URL сервера

Сервер документации

Получение актуальной справочной информации по Cloudflare

https://docs.mcp.cloudflare.com/mcp

Сервер привязок Workers

Создание приложений Workers с использованием хранилища, ИИ и примитивов вычислений

https://bindings.mcp.cloudflare.com/mcp

Сервер сборок Workers

Получение аналитики и управление сборками Cloudflare Workers

https://builds.mcp.cloudflare.com/mcp

Сервер наблюдаемости

Отладка и получение аналитики по логам и метрикам вашего приложения

https://observability.mcp.cloudflare.com/mcp

Сервер Radar

Получение глобальной аналитики интернет-трафика, трендов, сканирований URL и других утилит

https://radar.mcp.cloudflare.com/mcp

Сервер контейнеров

Запуск среды разработки в песочнице

https://containers.mcp.cloudflare.com/mcp

Сервер рендеринга браузера

Получение веб-страниц, преобразование их в markdown и создание скриншотов

https://browser.mcp.cloudflare.com/mcp

Сервер Logpush

Получение кратких сводок о состоянии заданий Logpush

https://logs.mcp.cloudflare.com/mcp

Сервер AI Gateway

Поиск по логам, получение подробной информации о запросах и ответах

https://ai-gateway.mcp.cloudflare.com/mcp

Сервер журналов аудита

Запрос журналов аудита и создание отчетов для проверки

https://auditlogs.mcp.cloudflare.com/mcp

Сервер аналитики DNS

Оптимизация производительности DNS и отладка проблем на основе текущих настроек

https://dns-analytics.mcp.cloudflare.com/mcp

Сервер мониторинга цифрового опыта

Получение быстрой аналитики по критически важным приложениям для вашей организации

https://dex.mcp.cloudflare.com/mcp

Сервер Cloudflare One CASB

Быстрое выявление ошибок конфигурации безопасности для SaaS-приложений для защиты пользователей и данных

https://casb.mcp.cloudflare.com/mcp

Сервер GraphQL

Получение аналитических данных с помощью GraphQL API от Cloudflare

https://graphql.mcp.cloudflare.com/mcp

Какой 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 tools
migrate_pages_to_workers_guideA
Read-only

ALWAYS read this guide before migrating Pages projects to Workers.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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_documentationA
Read-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.
	
ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultsYes

TDQS

A4.1/5.0
Behavior4/5

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.

Conciseness4/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

  1. 2 tool updatesv1.0.4
    • Changedmigrate_pages_to_workers_guide1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedsearch_cloudflare_documentation2 fields changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
      • changedOutput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. 1 tool updatev1.0.3
    • Changedsearch_cloudflare_documentation1 field changed
      • changedOutput 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"
        +}
  3. 2 tool updatesv1.0.2
    • Changedmigrate_pages_to_workers_guide1 field changed
      • removedInput schema / additionalProperties
        Removed value: -false
    • Changedsearch_cloudflare_documentation1 field changed
      • removedInput schema / additionalProperties
        Removed value: -false
  4. 2 tool updates
    • First observedmigrate_pages_to_workers_guide
    • First observedsearch_cloudflare_documentation

TDQS

A3.9/5.0
Disambiguation5/5

The two tools have clearly distinct purposes: one for general documentation search and one specifically for migrating Pages to Workers. There is no overlap.

Naming Consistency4/5

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.

Tool Count2/5

With only 2 tools, the server feels very thin for the broad domain of Cloudflare products. It likely needs more tools to be useful.

Completeness2/5

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

ActivityActive
ResponsivenessWithin a week

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

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    A 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.
    11
    810
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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.
    5
    MIT

Latest Blog Posts

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