BusinessMCP
Cloudflare Workers logo

Cloudflare Workers

Free forever

cloudflare · Dev Tools

70k installs

Connect in 1 click

The Cloudflare Workers MCP server gives AI agents direct, structured control over your Cloudflare edge stack — Workers, KV namespaces, R2 buckets, and D1 databases — without hand-writing wrangler commands or juggling separate API tokens. Instead of stitching together the Cloudflare API, dashboard, and CLI, teams connect this MCP server once inside BusinessMCP and immediately expose deploy, query, and storage operations to any AI agent (Claude, GPT, Gemini, or a custom orchestration layer) through a single hosted endpoint at /api/mcp, authenticated with a Bearer mcph_* key.

Because BusinessMCP unifies tools, databases, and revenue data into one MCP server plus a business-intelligence dashboard, the Cloudflare Workers integration doesn't live in isolation. Edge deployment events, KV read/write patterns, R2 storage usage, and D1 query activity surface alongside the rest of your stack's operational and business metrics, so a DevOps lead or founder can ask an agent to "deploy the latest worker to production and summarize this week's D1 query volume" and get a single coherent answer — not five separate dashboards to reconcile. This is especially useful for teams running edge-first or serverless architectures who want AI copilots to actually operate infrastructure rather than just describe it.

Typical use is DevOps and platform engineering: an agent can push a new Worker script, roll back a deployment, create or inspect KV namespaces for feature flags and session data, manage R2 buckets for object storage and static assets, and run migrations or ad-hoc queries against D1 without a human context-switching into the Cloudflare dashboard. Support and reliability teams can use the same connection to pull recent Worker logs or KV state when triaging an incident, while product teams can let an agent provision a new R2 bucket or D1 table as part of an automated onboarding flow. Because the server speaks MCP natively, it works the same way whether it's called from a chat-based agent, a scheduled automation, or BusinessMCP's own growth-suite app — no per-model glue code required.

The integration is model-agnostic by design: swapping the underlying LLM doesn't require re-implementing the Cloudflare tool calls, since every agent talks to the same hosted MCP server and the same /api/mcp contract. It's also cookieless and GDPR-friendly, which matters for teams that need edge and storage operations auditable and compliant without adding a tracking or cookie-consent layer on top of infrastructure tooling. For engineering organizations already using Cloudflare as their edge and serverless backbone, this MCP server turns Workers, KV, R2, and D1 into something an AI agent can operate directly — read, write, deploy, and query — rather than something a human has to translate for it.

Pair it with related infrastructure and observability MCP servers inside BusinessMCP to build a fuller picture: connect Terraform for infrastructure-as-code changes that provision the Cloudflare resources this server then manages, or Vercel and Render if your workloads span multiple hosting targets. The result is a single hosted MCP layer where any AI agent can deploy, inspect, and reason about your edge and serverless footprint alongside the rest of your business data — without new integration work every time you add a model or a tool.

$ npx mcphosting-cli add cloudflare-mcp-server-cloudflare

Just say it in a thread

No configs, no docs. Once connected, these are the kinds of messages your agents act on.

"Deploy or update a cloudflare worker script to a specified environment — and give me the highlights."

"List all deployed workers and their current status for me, then post a summary in the thread."

"Retrieve recent execution logs for a given worker for debugging or monitoring and flag anything that needs my approval."

What teams use it for

  • Let an AI agent deploy or roll back a Cloudflare Worker as part of a CI/CD or chatops workflow
  • Provision and inspect KV namespaces for feature flags or session data without touching the dashboard
  • Create and manage R2 buckets for static assets or object storage directly from an agent conversation
  • Run ad-hoc queries or migrations against D1 databases to support debugging and reporting
  • Pull recent Worker logs during incident response so agents can help triage edge-side errors

Agent-callable tools

deploy_worker

Deploy or update a Cloudflare Worker script to a specified environment.

list_workers

List all deployed Workers and their current status.

get_worker_logs

Retrieve recent execution logs for a given Worker for debugging or monitoring.

create_kv_namespace

Create a new KV namespace for storing key-value data at the edge.

put_kv_value

Write a key-value pair into a specified KV namespace.

create_r2_bucket

Provision a new R2 bucket for object or asset storage.

run_d1_query

Execute a SQL query or migration against a specified D1 database.

list_d1_databases

List available D1 databases and their basic metadata.

Your data stays yours

Credentials live in your vault. We route requests — we never store, log, or train on your data.

Works with every AI

Connect once — portable across Claude, GPT, Gemini, and every local agent you run.

Frequently asked questions

What can the Cloudflare Workers MCP server actually do?

It exposes Cloudflare Workers, KV namespaces, R2 buckets, and D1 databases as callable tools, so an AI agent can deploy code, read or write key-value data, manage storage, and query databases directly.

How does this fit with BusinessMCP's business-intelligence dashboard?

Once connected, Cloudflare activity like deployments, storage usage, and D1 query volume shows up alongside your other tools and revenue data in the same dashboard, accessible through one hosted MCP endpoint at /api/mcp.

Does it work with any AI model?

Yes, the server is model-agnostic — Claude, GPT, Gemini, or any other agent can call the same tools through the same Bearer-authenticated endpoint without custom integration work per model.

Give your AI team the Cloudflare Workers skill

Free forever plan, no credit card. Connected and working in under five minutes.

Connect Cloudflare Workers free