← Explore all mcp servers

CLOUD OPERATIONS / Cloudflare

Cloudflare API MCP

Lets an assistant discover Cloudflare API endpoints and execute API calls through code, within the granted Cloudflare permissions.

“MCP server for the entire Cloudflare API using codemode”

01 / THE REASONING

Why this made the selection.

  • API discovery and execution share one source-backed workflow, including documentation lookup.
  • OAuth and API-token paths allow interactive and automated deployments with explicit Cloudflare grants.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • README.md (installation, capability and permission sections)
  • package.json
  • src/index.ts
  • LICENSE
  • src/mcp-handler.ts

Our findings

  • The entrypoint wraps the MCP handler in an OAuth provider and also supports externally supplied Cloudflare credentials.
  • The documented execute tool runs JavaScript that calls cloudflare.request; account/token rights are the relevant authority boundary.

Not established by this review

  • Server startup, authentication and tool execution were not tested.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Connect a server deliberately.

Upstream setup instructions ↗
  1. Add the documented remote configuration and complete Cloudflare OAuth.
  2. Select only the necessary account permissions; use the API-token path only with a suitably scoped token.

Before you start

  • A Cloudflare account and a remote-capable MCP client.

Documented configuration example

Use the client and authentication context described in the setup guidance. Configuration formats vary between hosts.

{
  "mcpServers": {
    "cloudflare-api": {
      "type": "http",
      "url": "https://mcp.cloudflare.com/mcp"
    }
  }
}

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. Official documentation ↗Checked

    https://github.com/cloudflare/mcp/blob/76b19f116e53b1d6ad1c8b2c07d0d2e91a37abf1/README.md

    Supports: summary, whySelected, bestFor, limitations, install, access, compatibility, transports

  2. https://github.com/cloudflare/mcp/blob/76b19f116e53b1d6ad1c8b2c07d0d2e91a37abf1/LICENSE

    Supports: license

  3. https://github.com/cloudflare/mcp/blob/76b19f116e53b1d6ad1c8b2c07d0d2e91a37abf1/package.json

    Supports: language, review

  4. https://github.com/cloudflare/mcp/blob/76b19f116e53b1d6ad1c8b2c07d0d2e91a37abf1/src/index.ts

    Supports: language, review

  5. https://github.com/cloudflare/mcp/blob/76b19f116e53b1d6ad1c8b2c07d0d2e91a37abf1/src/mcp-handler.ts

    Supports: review, transports