MCP servers · Cloudflare · MCP server + skill
Connect Claude Code to Cloudflare
One line gives Claude Code your Cloudflare account as tools: 21 endpoints, workers, kv, r2, called with your own connection. No key in the prompt, a receipt for every call, revoke Claude Code's access alone any time.
Three steps
- Create a free 0n3 account and connect Cloudflare. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Claude Code. The terminal agent. One command, then every connection you hold is a tool in your shell. The skill file teaches it how 0n3 works.
- Ask Claude Code: whoami. Then: "List workers in Cloudflare".
Install (user scope — every project)
claude mcp add --transport http --scope user 0n3 https://0n3.app/mcp --header "Authorization: Bearer <your 0n token>"
The line above carries a placeholder; 0n3.app/install mints a real key named for Claude Code and fills it in.
What Claude Code can then do in Cloudflare
Workers · Deploy and manage Cloudflare Workers3
List workers
GET /accounts/{accountId}/workers/scriptsGet a worker
GET /accounts/{accountId}/workers/scripts/{scriptName}Delete a worker
DELETE /accounts/{accountId}/workers/scripts/{scriptName}Kv · Key-Value storage for Workers5
List kv namespaces
GET /accounts/{accountId}/storage/kv/namespacesCreate a kv namespace
POST /accounts/{accountId}/storage/kv/namespacesRead a kv value
GET /accounts/{accountId}/storage/kv/namespaces/{namespaceId}/values/{keyName}Write kv value
PUT /accounts/{accountId}/storage/kv/namespaces/{namespaceId}/values/{keyName}Delete a kv value
DELETE /accounts/{accountId}/storage/kv/namespaces/{namespaceId}/values/{keyName}R2 · S3-compatible object storage2
List r2 buckets
GET /accounts/{accountId}/r2/bucketsCreate a r2 bucket
POST /accounts/{accountId}/r2/bucketsD1 · Serverless SQL database3
List d1 databases
GET /accounts/{accountId}/d1/databaseCreate a d1 database
POST /accounts/{accountId}/d1/databaseQuery d1
POST /accounts/{accountId}/d1/database/{databaseId}/queryDns · DNS zone and record management4
List dns records
GET /zones/{zoneId}/dns_recordsCreate a dns record
POST /zones/{zoneId}/dns_recordsUpdate a dns record
PUT /zones/{zoneId}/dns_records/{recordId}Delete a dns record
DELETE /zones/{zoneId}/dns_records/{recordId}Pages · Cloudflare Pages static site deployments1
List pages projects
GET /accounts/{accountId}/pages/projectsCloudflare in other AI clients
Claude (desktop & claude.ai) + CloudflareconnectorChatGPT + Cloudflareconnector · GPT actionCodex CLI + CloudflareMCP serverGemini CLI + CloudflareMCP serverCursor + CloudflareMCP serverVS Code (Copilot) + CloudflareMCP serverWindsurf + CloudflareMCP server
