---
title: "Cloudflare Bindings MCP server: Workers KV, D1 and R2 for agents"
description: "Install the Cloudflare Bindings MCP server in an Aldena project and agents create and inspect KV namespaces, D1 databases and R2 buckets for Workers."
url: "https://aldena.ai/mcp-servers/cloudflare-bindings"
---

# Cloudflare Bindings lets agents set up the storage a Worker binds to

Cloudflare Bindings MCP server. Install the Cloudflare Bindings MCP server in an Aldena project and agents create and inspect KV namespaces, D1 databases and R2 buckets for Workers.

- **Sign-in**: Browser sign-in
- **Installs as**: `cloudflare-bindings`
- **Transport**: Streamable HTTP
- **Last verified**: 2026-11-28

Cloudflare Bindings is the Cloudflare server for building on Workers. Where the other three cover DNS, logs and documentation, this one works on the storage a Worker binds to: KV namespaces, D1 databases and R2 buckets, plus the Workers in the account, acting as the member who signed in.

In an Aldena project the agent writing a Worker can also set up what it needs. Asked to add a staging environment, it creates a D1 database here, applies the repository's migrations, creates the KV namespace for sessions, and writes both bindings into `wrangler.jsonc` in its conversation's sandbox. The pull request it opens through the [GitHub connector](https://aldena.ai/integrations/github) then deploys through your usual pipeline. When a bug report needs data, the agent runs a read query on D1 instead of asking someone with dashboard access.

Creating resources and running SQL are not read-only, so they start on ask in the project's [permissions](https://aldena.ai/features/human-in-the-loop). Pair this server with the [Cloudflare Docs MCP server](https://aldena.ai/mcp-servers/cloudflare-docs) for the binding APIs and the [Cloudflare Observability MCP server](https://aldena.ai/mcp-servers/cloudflare-observability) for the logs once the Worker runs. DNS and zone changes belong to the [Cloudflare MCP server](https://aldena.ai/mcp-servers/cloudflare).

## With Cloudflare Bindings, your agents can

- List the Workers in an account and read their details
- Create and inspect KV namespaces
- Create D1 databases and run SQL against them
- Create and list R2 buckets

## Try asking

- “Create a D1 database called app-staging in Cloudflare, apply the migrations in this repo to it, and add the binding to wrangler.jsonc.”
- “Which KV namespaces exist in our Cloudflare account, and which Workers bind to each one?”
- “Run a query on the production D1 database to count signups per day for the last week.”

## Server

- **Server URL**: `https://bindings.mcp.cloudflare.com/mcp`
- **Website**: [cloudflare.com](https://www.cloudflare.com)
- **MCP docs**: [Cloudflare Bindings MCP docs](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-bindings)

## How to connect Cloudflare Bindings

1. **Open Marketplace.** In a project, open Settings → Connectors → MCP servers and press Marketplace.
2. **Install Cloudflare Bindings.** Search for Cloudflare Bindings and press Install. Aldena adds it as `cloudflare-bindings`.
3. **Sign in to Cloudflare Bindings.** Open the sign-in link Aldena shows and approve. The server then acts as you.
4. **Let agents use it.** Agents find its tools with `mcp_search` and call them with `mcp_call`. Each tool gets its own row in the project's permissions.

## Related MCP servers

- [Cloudflare Docs MCP server](https://aldena.ai/mcp-servers/cloudflare-docs): Search the Cloudflare developer documentation.
- [Cloudflare Observability MCP server](https://aldena.ai/mcp-servers/cloudflare-observability): Query Workers logs, analytics, and error traces.
- [Egnyte MCP server](https://aldena.ai/mcp-servers/egnyte): Search and manage files stored in Egnyte.
- [Neon MCP server](https://aldena.ai/mcp-servers/neon): Manage Postgres projects, branches, and queries.
- [All MCP servers](https://aldena.ai/mcp-servers)

## FAQ

### How is Cloudflare Bindings different from the other Cloudflare MCP servers?

It works on what a Worker binds to: KV namespaces, D1 databases, R2 buckets and the Workers themselves. The Cloudflare server handles zones and DNS, Cloudflare Observability reads Workers logs, and Cloudflare Docs answers documentation questions.

### Can an agent run SQL against a D1 database in production?

If the person who signed in can, yes, which is why tools that create resources or run queries start on ask in Aldena's permissions. Many teams sign in with an account scoped to a staging account, or keep the query tool on ask so every statement gets read first.

### Does Cloudflare Bindings deploy Workers?

Deploys normally go through wrangler in the agent's sandbox and your CI. The Bindings server sets up and inspects the storage a Worker uses, so an agent creates the D1 database or KV namespace here, then writes the binding into the Worker's config and ships it with the code.
