Cloudflare Docs

Connect AI Agents to
Cloudflare Docs

Automate workflows and connect AI agents to Cloudflare Docs. Metorial is built for developers. Handling OAuth, compliance, observability, and more.

Cloudflare Docs on Metorial

The Cloudflare Docs integration lets you search and retrieve documentation content directly within your workflow, enabling quick access to configuration guides, API references, and best practices without leaving your development environment.

Deploy on Metorial

Combine Cloudflare Docs with other tools

Metorial has 600+ integrations available. Here are some related ones you might find interesting.

Hackernews

Hackernews

The Hackernews integration lets you search and retrieve stories, comments, and user data from Hackernews directly within your workflow, enabling you to analyze trends, monitor discussions, and gather insights from the tech community.

Exa

Exa

The Exa integration lets you search the web using neural search capabilities and retrieve high-quality, AI-ready content directly within your MCP-enabled applications.

Google Drive

Google Drive

The Google Drive integration lets you search, read, create, and manage files and folders in your Drive directly through AI interactions. Use it to organize documents, retrieve file contents, share files, and automate common Drive tasks without switching to your browser.

Neon

Neon

The Neon integration lets you connect to your Neon Postgres databases to query data, inspect schemas, and manage database operations directly from your AI assistant.

Supabase

Supabase

The Supabase integration lets you query and manage your database, authentication, and storage directly from your AI assistant, enabling natural language database operations and real-time data access.

Linear

Linear

The Linear integration lets you create, update, and search issues directly from your workspace, enabling seamless project management and task tracking without leaving your development environment.

Gmail

Gmail

The Gmail integration lets you read, send, and manage emails directly from your workspace, enabling you to automate email workflows and quickly access your inbox without switching applications.

Sentry

Sentry

The Sentry integration lets you monitor and debug application errors directly from your development environment, enabling you to query issues, view stack traces, and manage error reports without leaving your workflow.

Firecrawl

Firecrawl

The Firecrawl integration lets you scrape websites, extract structured data, and convert web pages into LLM-ready formats directly from your MCP-enabled applications.

Connect anything. Anywhere.

Supported tools and capabilities

Metorial helps you connect AI agents to Cloudflare Docs with various tools and resources. Tools allow you to interact with perform specific actions, while resources provide read-only access to data and information.

Help & Documentation

Find guides and articles to help you get started with Cloudflare Docs on Metorial.

More about Cloudflare Docs

Cloudflare Docs MCP Server

A Model Context Protocol (MCP) server that provides direct access to Cloudflare's comprehensive documentation. This server enables AI assistants to search through Cloudflare's extensive product documentation and access specialized guides, making it easier to get accurate, up-to-date information about Cloudflare's developer platform and services. Whether you're working with Workers, Zero Trust, CDN services, or any other Cloudflare product, this server ensures you have the right documentation at your fingertips.

Overview

The Cloudflare Docs MCP Server acts as a bridge between your AI assistant and Cloudflare's official documentation. Instead of manually searching through documentation pages or relying on potentially outdated information, this server provides semantic search capabilities that return relevant documentation chunks based on your queries. It covers the entire Cloudflare ecosystem, from edge computing and storage solutions to security products and infrastructure services.

This server is particularly valuable for developers building on the Cloudflare platform, DevOps engineers managing Cloudflare configurations, and anyone who needs quick, reliable answers about Cloudflare products and features. The semantic search approach means you don't need to know exact terminology or product names—the server understands context and returns the most relevant documentation sections.

Features

Comprehensive Product Coverage

The server provides access to documentation for Cloudflare's complete product suite, including:

  • Developer Platform: Workers, Pages, R2, Images, Stream, D1, Durable Objects, KV, Workflows, Hyperdrive, and Queues
  • AI and Machine Learning: AutoRAG, Workers AI, Vectorize, AI Gateway, and Browser Rendering
  • Security and Zero Trust: Access, Tunnel, Gateway, Browser Isolation, WARP, DDoS protection, Magic Transit, and Magic WAN
  • Core Infrastructure: CDN, Cache, DNS, Zaraz, Argo, Rulesets, Terraform integration, and Account management

Semantic Search

Rather than requiring exact keyword matches, the server uses semantic search to understand the intent behind your queries. This means you can ask questions in natural language and receive relevant documentation chunks that actually answer your question, even if they don't contain your exact words.

Specialized Migration Guidance

The server includes dedicated tools for accessing specialized guides, such as the Pages to Workers migration guide, ensuring you have access to detailed, step-by-step instructions for complex operations.

Optimized Code Generation

With access to Cloudflare's official prompt engineering guidance, the server can help generate more accurate and idiomatic code for Cloudflare's developer platform, following best practices and recommended patterns.

Tools

search_cloudflare_documentation

Purpose: Search through Cloudflare's documentation using semantic search.

When to use: This is your primary tool for answering any question about Cloudflare products, features, configuration, or troubleshooting. Use it whenever you need information about how Cloudflare services work, how to configure them, or how to solve problems.

Input Parameters:

  • query (required, string): Your search query in natural language. Be specific about what you're looking for, but don't worry about exact terminology.

What it returns: Semantically similar documentation chunks that match your query. Results are ranked by relevance, so the most applicable information appears first.

Example use cases:

  • "How do I set up caching rules for static assets?"
  • "What are the rate limits for D1 databases?"
  • "How to configure Zero Trust access policies"
  • "Best practices for Workers KV storage"

migrate_pages_to_workers_guide

Purpose: Retrieve the complete guide for migrating Cloudflare Pages projects to Workers.

When to use: Use this tool before attempting any Pages to Workers migration. It provides comprehensive, step-by-step guidance to ensure a smooth migration process.

Input Parameters: None required.

What it returns: The full migration guide with detailed instructions, considerations, and best practices for transitioning from Pages to Workers.

Important note: Always consult this guide before starting a migration to understand the implications and requirements of moving from Pages to Workers architecture.

Prompts

workers-prompt-full

Purpose: Access Cloudflare's official detailed prompt for generating code for Workers and other developer platform products.

Description: This prompt contains comprehensive guidance from Cloudflare's official documentation on how to effectively generate code for the Cloudflare developer platform. It includes best practices, common patterns, API usage examples, and recommended approaches for various use cases.

When to use: Reference this prompt when you need to generate production-quality code for Cloudflare Workers, Pages, or other developer platform products. It ensures your generated code follows Cloudflare's recommended patterns and takes advantage of platform-specific features.

Benefits:

  • Generates more idiomatic Cloudflare code
  • Follows official best practices and patterns
  • Leverages platform-specific optimizations
  • Produces code that aligns with Cloudflare's architectural recommendations

Use Cases

Rapid Development

When building applications on Cloudflare's platform, you can quickly look up API references, configuration options, and code examples without leaving your development environment. The semantic search understands context, so you can ask questions like "How do I handle POST requests in Workers?" and get directly relevant documentation.

Troubleshooting and Debugging

When something isn't working as expected, search for error messages, troubleshooting guides, or configuration issues. The server can help you find solutions to common problems and understand the root causes of issues.

Architecture Planning

Before building a new feature or application, search for architectural guidance, limitations, and best practices. Understanding how different Cloudflare products work together helps you design more robust and efficient solutions.

Migration Projects

When migrating existing applications to Cloudflare or between Cloudflare products, access detailed migration guides and understand the implications of your architectural decisions.

Learning and Onboarding

New to Cloudflare or a specific product? Use the server to explore documentation, understand concepts, and learn about capabilities without manually navigating through extensive documentation sites.

Getting Started

Once the server is configured and connected to your AI assistant, simply start asking questions about Cloudflare products and services. The server will automatically search the documentation and provide relevant information. For code generation tasks, the assistant can reference the Workers prompt to ensure generated code follows Cloudflare's best practices.

You don't need to specify which tool to use—your AI assistant will automatically select the appropriate tool based on your request. Just ask natural language questions about Cloudflare products, and the server handles the rest.

Ready to build with Metorial?

Let's take your AI-powered applications to the next level, together.

About Metorial

Metorial provides developers with instant access to 600+ MCP servers for building AI agents that can interact with real-world tools and services. Built on MCP, Metorial simplifies agent tool integration by offering pre-configured connections to popular platforms like Google Drive, Slack, GitHub, Notion, and hundreds of other APIs. Our platform supports all major AI agent frameworks—including LangChain, AutoGen, CrewAI, and LangGraph—enabling developers to add tool calling capabilities to their agents in just a few lines of code. By eliminating the need for custom integration code, Metorial helps AI developers move from prototype to production faster while maintaining security and reliability. Whether you're building autonomous research agents, customer service bots, or workflow automation tools, Metorial's MCP server library provides the integrations you need to connect your agents to the real world.

Star us on GitHub