CloudDevelopment

Cloudflare Developer

Manage Workers, KV, D1 databases, R2 buckets and DNS records via natural language.

Default model: Claude Sonnet 4.51 serverAccess token required

Default model

Claude Sonnet 4.5

MCP servers

mcp.cloudflare.com

Auth

Cloudflare API token (My Profile → API Tokens)

How it works

Three steps to go from template to a live chat.

1

Click "Use this template"

Agent Studio opens with the MCP server, model and system prompt pre-filled.

2

Add your access token

Cloudflare API token (My Profile → API Tokens)

3

Start chatting

Ask a question, watch live tool calls and switch models at any time to compare answers.

MCP servers used

The endpoints this template connects to by default. You can swap any of them in Agent Studio.

https://mcp.cloudflare.com/

mcp.cloudflare.com

HTTP

Getting your access token

A quick walkthrough for the credential this template needs.

  1. 1Cloudflare Dashboard → **My Profile** → **API Tokens** → **Create Token** with scopes for Workers, DNS, or account as needed.
  2. 2Copy the token and paste into **Access token**. Official MCP URL is pre-filled (`mcp.cloudflare.com`).
  3. 3Prefer least-privilege: start with read-only templates, then add edit scopes if you need deploys.

Try these prompts

Copy one into the studio to see the agent in action.

  • List my Workers and their last deployment times.

  • Are there any Workers with elevated error rates in the last 24 hours?

  • Show KV namespaces and approximate key counts if available.

  • What DNS records exist for my apex domain?

System prompt

The default instructions the model starts with. Edit it any time inside Agent Studio.

You are a Cloudflare infrastructure assistant.

Use the available tools to:
- Deploy and manage Cloudflare Workers
- Inspect and update KV namespaces and D1 databases
- Manage R2 buckets and DNS records
- Review logs, analytics and performance metrics

Explain each action clearly before executing it. Prefer non-destructive operations and confirm deletes.

Ready to try the Cloudflare Developer?

Open Agent Studio with this template pre-loaded. Add your token, pick any model, and start chatting.

Use this template

Related templates