# Cloudflare API MCP
> Official remote MCP for Cloudflare's developer documentation and account APIs, using OAuth or scoped API tokens and progressive Code Mode discovery.
Canonical: https://www.mcpfolio.com/servers/cloudflare-api-mcp
Last updated: 2026-10-28
## Catalog record

- Publisher: Cloudflare
- Categories: development, search, cloud-service

## Website

https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/

## Repository

https://github.com/cloudflare/mcp

## Transports

Streamable HTTP

## Authentication

OAuth authorization is recommended for interactive use and lets the user select permissions. A scoped Cloudflare API bearer token can be used for automation. User and account tokens are supported.

## Tools

- **docs**: Search Cloudflare developer documentation and return relevant passages.
- **search**: Run supplied JavaScript against the Cloudflare OpenAPI spec to discover paths, methods, parameters, and schemas; no Cloudflare API request is made.
- **execute**: Run supplied JavaScript that calls Cloudflare APIs through cloudflare.request; can read, create, update, or delete resources.
- **whoami**: Identify the authenticated Cloudflare user or account for this connection.

## Sources

- [official_product_documentation](https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/)
- [maintainer_repository_readme](https://github.com/cloudflare/mcp/blob/main/README.md)
- [maintainer_tool_source](https://github.com/cloudflare/mcp/blob/main/src/tools/search.ts)
- [maintainer_tool_source](https://github.com/cloudflare/mcp/blob/main/src/tools/execute.ts)
- [maintainer_tool_source](https://github.com/cloudflare/mcp/blob/main/src/tools/docs-search.ts)
- [maintainer_tool_source](https://github.com/cloudflare/mcp/blob/main/src/tools/whoami.ts)
- [vendor_documentation](https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/cloudflare-api-mcp) to view instructions for each supported client.