mcp

mcp

An efficient MCP server for Cloudflare API with code mode support.

MCPDevOpen source
Type
MCP
Transport
http
Open source
Yes
GitHub Stars
★ 1.0k
Source
mcp-github

Overview

Cloudflare MCP Server is an efficient MCP server designed to access the Cloudflare API. It compresses the entire Cloudflare API (around 2,500 endpoints) into 1k tokens using code mode, significantly reducing token costs. This capability enables AI to query and invoke Cloudflare API by writing JavaScript code, making it suitable for scenarios requiring integration with Cloudflare services. It supports access via OAuth or API Token, ideal for developers and automation tools.

Capabilities

  • ▪Query Cloudflare API documentation
  • ▪Execute Cloudflare API calls
  • ▪Automatically parse API endpoints
  • ▪Support OAuth and API Token authentication

Use cases

Automated management of Cloudflare resourcesIntegrating Cloudflare services into workflowsDeveloping applications based on Cloudflare API

Setup

Requires: API KeyOAuth
Configure the MCP URL: `https://mcp.cloudflare.com/mcp`, and set the Bearer Token to your Cloudflare API Token.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to disable code mode?

Add the parameter `?codemode=false` to the MCP URL.

How to handle missing permissions?

Reauthorize according to MCP authorization guidelines or check error messages in the tool results.

Related skills