Cloudflare Docs MCP server
Public real-time documentation search and retrieval for all Cloudflare products without authentication.
Remote (HTTP)No auth
Set up Cloudflare Docs
Configuration examples, not tested connections. Replace placeholders and review the upstream documentation before use.
Claude Code
Run in your terminal.
claude mcp add --transport http cloudflare-docs https://docs.mcp.cloudflare.com/mcp
Cursor
Merge into ~/.cursor/mcp.json
{
"mcpServers": {
"cloudflare-docs": {
"url": "https://docs.mcp.cloudflare.com/mcp"
}
}
}
Codex
Run in your terminal.
codex mcp add cloudflare-docs --url https://docs.mcp.cloudflare.com/mcp
Gemini CLI
Merge into ~/.gemini/settings.json
{
"mcpServers": {
"cloudflare-docs": {
"httpUrl": "https://docs.mcp.cloudflare.com/mcp"
}
}
}
OpenCode
Merge into ~/.config/opencode/opencode.jsonc
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"cloudflare-docs": {
"type": "remote",
"url": "https://docs.mcp.cloudflare.com/mcp",
"enabled": true
}
}
}
VS Code
Merge into .vscode/mcp.json
{
"servers": {
"cloudflare-docs": {
"type": "http",
"url": "https://docs.mcp.cloudflare.com/mcp"
}
}
}
Using more than one server?Add to a config with other servers
Step-by-step setup guides: Claude Code and Codex CLI, Cursor and VS Code. In Claude Desktop, add the URL as a custom connector. This is a remote server; see remote vs local servers and authentication and security basics.
Overview
The Cloudflare Docs server is one of the domain-specific MCP servers Cloudflare runs from its mcp-server-cloudflare repository. It is hosted at https://docs.mcp.cloudflare.com/mcp and gives your agent up-to-date reference material from the Cloudflare developer documentation. Behind the scenes it uses Cloudflare AI Search (AutoRAG), configured with the complete developer docs, to find the passages that answer a question.
It exposes one tool, search_cloudflare_documentation. Use it when you are building on Workers, R2, D1, Durable Objects or another Cloudflare product and want answers grounded in the current docs rather than in what a model remembers. Upstream's example prompts include whether Workers costs depend on response size, how many indexes Workers Analytics Engine supports, and how to use the AI Search binding.
Setup is the simplest in this registry. The server is public and needs no account, OAuth flow or API key; point any client that supports remote MCP servers at the URL. Cloudflare serves a stateless Streamable HTTP handler at /mcp. The /sse path is kept only as a compatibility alias, and legacy SSE requests to it receive a 410 response, so configure /mcp. If you also need to change your Cloudflare account rather than read about it, pair this with the Cloudflare Code Mode server, which needs authorization.
Choose your client setup
The setup examples above include the Codex registration command for this public endpoint. Use the tabs to select your client; Cloudflare MCP configuration in VS Code shows the editor format and how to combine connections.
Frequently asked questions
Does Cloudflare Docs MCP need an API key?
No. The public documentation server at https://docs.mcp.cloudflare.com/mcp does not require an account or API key.
Is Cloudflare Docs the same as the Cloudflare API server?
No. Docs searches public reference material. Use the Cloudflare API MCP server for operations on your account.
Example tools
No example tools are listed for this server. Your client shows the tools the server offers once it is connected.
Related Cloud servers
Sources
This page was written from the upstream documentation below and last reviewed on 6 November 2026. Listing is not a security or compatibility endorsement. Report a correction through the contact page.