MCPInstall
Cloudflare Workers (via Bindings) logo

Cloudflare Workers (via Bindings)

Featured
by cloudflare 4,424 stars cloudflare/mcp-server-cloudflare

Integrates tools for managing resources in the Cloudflare Workers Platform.

READMEHEAD

Cloudflare Workers Bindings MCP Server

[!WARNING] This server is deprecated. Use the Cloudflare API MCP server at https://mcp.cloudflare.com/mcp instead. It covers the full Cloudflare API, including Workers Bindings.

This is a Model Context Protocol (MCP) server that supports remote MCP connections, with Cloudflare OAuth built-in.

It integrates tools for managing resources in the Cloudflare Workers Platform, which you can connect to your Worker via Bindings.

The /mcp URL uses a stateless SDK v2 handler that creates a fresh server with request-scoped auth/account context for every request. The retired /sse URL returns 410 Gone pointing at /mcp. OAuth and product bindings remain application/security state; no MCP protocol session or protocol Durable Object is retained.

🔨 Available Tools

Currently available tools:

CategoryToolDescription
KV Namespaceskv_namespaces_listList all of the kv namespaces in your Cloudflare account
kv_namespace_createCreate a new kv namespace in your Cloudflare account
kv_namespace_deleteDelete a kv namespace in your Cloudflare account
kv_namespace_getGet details of a kv namespace in your Cloudflare account
kv_namespace_updateUpdate the title of a kv namespace in your Cloudflare account
Workersworkers_listList all Workers in your Cloudflare account
workers_get_workerGet the details of a Cloudflare Worker
workers_get_worker_codeGet the source code of a Cloudflare Worker
R2 Bucketsr2_buckets_listList r2 buckets in your Cloudflare account
r2_bucket_createCreate a new r2 bucket in your Cloudflare account
r2_bucket_getGet details about a specific R2 bucket
r2_bucket_deleteDelete an R2 bucket
D1 Databasesd1_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_queryQuery a D1 database in your Cloudflare account
Hyperdrivehyperdrive_configs_listList Hyperdrive configurations in your Cloudflare account
hyperdrive_config_createCreate a new Hyperdrive configuration in your Cloudflare account
hyperdrive_config_deleteDelete a Hyperdrive configuration in your Cloudflare account
hyperdrive_config_getGet details of a specific Hyperdrive configuration in your Cloudflare account
hyperdrive_config_editEdit (patch) a Hyperdrive configuration in your Cloudflare account

This MCP server is still a work in progress, and we plan to add more tools in the future.

Prompt Examples

  • List my Cloudflare accounts.
  • Show me my KV namespaces.
  • Create a new KV namespace called 'my-kv-store'.
  • Get the details for KV namespace 'YOUR_NAMESPACE_ID'. (Replace YOUR_NAMESPACE_ID)
  • Delete the KV namespace 'NAMESPACE_TO_DELETE_ID'. (Replace NAMESPACE_TO_DELETE_ID)
  • List my Cloudflare Workers.
  • Get the code for the 'my-worker-script' worker.
  • Show me my R2 buckets.
  • Create an R2 bucket named 'my-new-bucket'.
  • Get details for the R2 bucket 'my-data-bucket'.
  • Delete the R2 bucket 'old-bucket'.
  • List my D1 databases.
  • Create a D1 database named 'analytics-db'.
  • Get details for D1 database 'YOUR_D1_DB_ID'. (Replace YOUR_D1_DB_ID)
  • Run the query 'SELECT * FROM customers LIMIT 10;' on D1 database 'YOUR_D1_DB_ID'. (Replace YOUR_D1_DB_ID)
  • Delete the D1 database 'TEMP_DB_ID'. (Replace TEMP_DB_ID)
  • List my Hyperdrive configurations.
  • Create a Hyperdrive config named 'prod-db-cache' for my database. (You might need to provide more origin details)
  • Get details for Hyperdrive config 'YOUR_HYPERDRIVE_ID'. (Replace YOUR_HYPERDRIVE_ID)
  • Update the cache settings for Hyperdrive config 'YOUR_HYPERDRIVE_ID'. (Replace YOUR_HYPERDRIVE_ID)
  • Delete the Hyperdrive config 'OLD_HYPERDRIVE_ID'. (Replace OLD_HYPERDRIVE_ID)

Connect to the MCP server

Connect your MCP client directly to https://bindings.mcp.cloudflare.com/mcp. If prompted, complete the Cloudflare OAuth flow in your browser. The tools become available after authorization.

Interested in contributing, and running this server locally? See CONTRIBUTING.md to get started.

More Deployment & DevOps MCP servers

Similar servers from the same category.

OpsLevel

opslevel

Provides direct access to OpsLevel's developer portal data, enabling intelligent interactions with service catalogs, component metrics, and operational workflows for DevOps teams managing service infrastructure.

TextModel

KubeSphere

kubesphere

Integrates with KubeSphere APIs to enable management of Kubernetes clusters, workspaces, users, and extensions through natural language commands without navigating the web console.

Deployment & DevOps

EdgeOne Pages

tencentedgeone

Enables rapid deployment of HTML content to Tencent's EdgeOne Pages service with integrated Functions and KV store support for edge hosting

content

mcpgate

mokeyish

⚡ Blazing-fast MCP gateway written in Rust. Experience unparalleled speed & performance! 🚀

FormPerform