Skip to content
Download Longwave

Cloudflare

Cloudflare is a hosted MCP server for Cloudflare Workers bindings: Workers, KV, R2, D1 and Hyperdrive. Its connected endpoint exposes 0 tools after authorization.

Add to Longwave

Install elsewhere

Install Cloudflare

Choose a harness. These instructions connect to the hosted MCP endpoint shown on this page.

Claude Code

Run this in your terminal. It adds a user-scoped server; use --scope project instead if it should apply only to the current project.

terminal
claude mcp add --scope user --transport http cloudflare https://bindings.mcp.cloudflare.com/mcp

What it does

Cloudflare MCP on this page is the Workers Bindings server. It lists Workers, reads Worker source, and manages KV, R2, D1, and Hyperdrive in the account you sign in with.

  • List Workers and read Worker source.
  • Create and inspect KV namespaces.
  • List and create R2 buckets.
  • List D1 databases and run a query.
  • Inspect Hyperdrive configs.

Questions people ask

Does Cloudflare MCP need an API token?

Not in Longwave. Longwave uses Cloudflare sign-in.

  1. Click Add to Longwave on this page.
  2. Sign in to Cloudflare when Longwave asks.
  3. Start a thread and pick a harness.
How do I use Cloudflare MCP with Claude Code?

Claude Code can list Cloudflare Workers or read a script.

  1. Click Add to Longwave on this page.
  2. Sign in to Cloudflare when Longwave asks.
  3. Start a thread and pick Claude Code.
  4. Ask Claude Code to list Workers or read a script.
How do I use Cloudflare MCP in Cursor?

Cursor can list Cloudflare Workers or read a script.

  1. Click Add to Longwave on this page.
  2. Sign in to Cloudflare when Longwave asks.
  3. Start a thread and pick Cursor.
  4. Ask Cursor to list Workers or read a script.
How can I read a Cloudflare Worker's source with MCP?

The listing returns deployed Worker source, which can differ from the file in your repository.

  1. Click Add to Longwave on this page.
  2. Sign in to Cloudflare when Longwave asks.
  3. Start a thread and pick Claude Code or Cursor.
  4. Ask the agent to list your Workers.
  5. Name the Worker and ask for its source.
  • Choose the Cloudflare account when you have more than one.
How can I query Cloudflare D1 with MCP?

The D1 connection can run the SQL you provide, including destructive statements.

  1. Click Add to Longwave on this page.
  2. Sign in to Cloudflare when Longwave asks.
  3. Start a thread and pick Claude Code or Cursor.
  4. Ask the agent to list your D1 databases.
  5. Name the database and provide the SQL.
  • Start with a SELECT when you need to inspect data.
  • Use a non-production database for statements you would not run by hand.
How can I manage Cloudflare R2 and KV with MCP?

Yes. The listing manages R2 buckets and KV namespaces. For bucket objects or KV keys, use Cloudflare's full API MCP through a custom Marketplace connection.

  1. Click Add to Longwave on this page.
  2. Sign in to Cloudflare when Longwave asks.
  3. Start a thread and pick Claude Code or Cursor.
  4. Ask the agent to list your R2 buckets and KV namespaces.
  5. Ask it to create or delete a bucket or namespace.
  6. Add Cloudflare's full API MCP when you need objects or keys.
Can this listing manage DNS records?

Yes. Use Cloudflare's full API MCP for DNS records. This catalog entry focuses on Workers Bindings. Add the Cloudflare full API MCP in Marketplace.

  1. Open Marketplace and click Add.
  2. Paste the Cloudflare full API MCP endpoint .
  3. Sign in to Cloudflare when the endpoint asks.
  4. Ask the agent to list, create, or update DNS records.
  5. Review the record change before the agent applies it.
Can it read Worker logs?

Yes. Use Cloudflare's Observability MCP for Worker logs and analytics. This catalog entry focuses on Workers Bindings. Cloudflare Observability MCP in Marketplace.

  1. Open Marketplace and click Add.
  2. Paste the Cloudflare Observability MCP endpoint .
  3. Sign in to Cloudflare when the endpoint asks.
  4. Start a thread and ask the agent to inspect Worker logs or traces.
Is this the full Cloudflare API MCP?

Yes. Longwave can use Cloudflare's full API MCP through a custom Marketplace connection. This catalog entry is the Bindings server for Workers, KV, R2, D1, and Hyperdrive.

  1. Open Marketplace and click Add.
  2. Paste the Cloudflare full API MCP endpoint .
  3. Sign in to Cloudflare when the endpoint asks.
  4. Start a thread and ask the agent to use the required Cloudflare API.
Can Cloudflare MCP manage Zero Trust?

Yes. Longwave can manage Cloudflare Zero Trust through the full API MCP. The Bindings server does not include those operations.

  1. Open Marketplace and click Add.
  2. Paste the Cloudflare full API MCP endpoint .
  3. Sign in to Cloudflare when the endpoint asks.
  4. Ask the agent to inspect or change the Zero Trust resource.
  5. Review the policy or configuration change before applying it.

Bring the Worker into the thread.

Let the agent list scripts, read source, and inspect KV, R2, and D1 in the signed-in account.