Cloudflare MCP server

OfficialCloudflare3,806Config last verified Jun 1, 2026

Cloudflare's remote MCP servers: build and manage Workers, KV, R2, D1, and Hyperdrive from an agent.

Cloudflare ships a suite of official remote MCP servers, each scoped to a product area such as documentation, Workers builds, observability, Radar, AI Gateway, and DNS analytics — sixteen in total, all hosted on the *.mcp.cloudflare.com domain with Cloudflare OAuth built in. The most generally useful for building applications is the Workers Bindings server at https://bindings.mcp.cloudflare.com/mcp, documented here. It connects an agent to the Workers developer platform so it can list and read your Workers, manage KV namespaces, R2 buckets, D1 databases, and Hyperdrive configs, run SQL against D1, and search the Cloudflare documentation, all the storage and compute primitives you bind into a Worker.

The canonical deployment is the hosted remote endpoint with an interactive Cloudflare OAuth login, so there is nothing to install locally — point any MCP client that speaks Streamable HTTP at the URL and authorize. The server also accepts a Cloudflare API token for headless use. Because every server in the suite shares the same OAuth and transport, you can mix the bindings server with the observability or Radar servers in the same client and only grant the scopes each one needs.

Quick install

Copy-paste configs are provided for all 8 supported clients. Pick your client below.

Add to ~/.claude.json

~/.claude.json
json
{
  "mcpServers": {
    "cloudflare": {
      "type": "http",
      "url": "https://bindings.mcp.cloudflare.com/mcp"
    }
  }
}
Or via CLI
bash
claude mcp add --transport http cloudflare https://bindings.mcp.cloudflare.com/mcp

Heads up

  • First tool call opens a browser to authorize.

Available tools

ToolDescription
accounts_listList all accounts in your Cloudflare account.
set_active_accountSet the active account used for tool calls that require an account ID.
kv_namespaces_listList the Workers KV namespaces in your account.
kv_namespace_createCreate a new Workers KV namespace.
kv_namespace_deleteDelete a Workers KV namespace.
kv_namespace_getGet the details of a Workers KV namespace.
kv_namespace_updateUpdate the title of a Workers KV namespace.
workers_listList the Workers deployed in your account.
workers_get_workerGet the details of a Cloudflare Worker.
workers_get_worker_codeGet the source code of a Cloudflare Worker (may be the bundled version).
r2_buckets_listList R2 buckets in your Cloudflare account.
r2_bucket_createCreate a new R2 bucket.
r2_bucket_getGet details about a specific R2 bucket.
r2_bucket_deleteDelete an R2 bucket.
d1_databases_listList all of the D1 databases in your Cloudflare account.
d1_database_createCreate a new D1 database in your Cloudflare account.
d1_database_deleteDelete a D1 database in your Cloudflare account.
d1_database_getGet a D1 database in your Cloudflare account.
d1_database_queryRun a SQL query against a D1 database.
hyperdrive_configs_listList the Hyperdrive configurations in your account.
hyperdrive_config_createCreate a new Hyperdrive configuration.
hyperdrive_config_deleteDelete a Hyperdrive configuration.
hyperdrive_config_getGet the details of a Hyperdrive configuration.
hyperdrive_config_editEdit the settings of a Hyperdrive configuration.
search_cloudflare_documentationSearch the Cloudflare documentation for up-to-date reference information.
migrate_pages_to_workers_guideReturns the guide to read before migrating a Pages project to Workers.

What you can do with it

Scaffold a Workers app end to end

Ask the agent to spin up a D1 database, a KV namespace, and an R2 bucket, then wire them into a Worker as bindings without leaving the chat.

Inspect production from the agent

Have the agent list your deployed Workers, pull a Worker's source, and run a read query against a D1 database to answer a question about live data.

FAQ

Is it free?
Yes. The MCP servers are free and open source; you only pay for whatever Cloudflare resources (Workers, D1, R2, KV) you actually use under your normal account plan.
Does it support remote/OAuth?
Yes. Every Cloudflare MCP server is a hosted remote endpoint on *.mcp.cloudflare.com with built-in Cloudflare OAuth; the Workers Bindings server lives at https://bindings.mcp.cloudflare.com/mcp. A Cloudflare API token can be used for headless access.
← Browse all cloud-infra servers