MCP servers · Cloudflare · custom connector
Connect Grok Bot (xAI) to Cloudflare
One line gives Grok Bot (xAI) 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 Grok Bot (xAI)'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 Grok Bot (xAI). xAI's always-on Grok Bot. Add 0n3 as a custom connector once, and your Bot can use every app you added, around the clock.
- Ask Grok Bot (xAI): whoami. Then: "List workers in Cloudflare".
Add 0n3 to Grok Bot (desktop app)
- Open Grok Bot on your computer. In the sidebar, click Connect apps.
- At the bottom, click Add a custom connector.
- For Name, type 0n3. For Type, pick Remote HTTPS. For Server URL, type https://0n3.app/mcp.
- Under HTTP headers, add Authorization with the value Bearer <your 0n token>
- Click Add plugin.
Then try it: send your Bot this
- "Use 0n3: who am I, and which apps can you reach?"
- "Every weekday at 8, use 0n3 to list today's CRM appointments and new Stripe payments, and post a summary to me."
The line above carries a placeholder; 0n3.app/install mints a real key named for Grok Bot (xAI) and fills it in.
What Grok Bot (xAI) 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 Code + CloudflareMCP server + skillClaude (desktop & claude.ai) + CloudflareconnectorChatGPT + Cloudflareconnector · GPT actionCodex CLI + CloudflareMCP serverGemini CLI + CloudflareMCP serverCursor + CloudflareMCP serverVS Code (Copilot) + CloudflareMCP serverWindsurf + CloudflareMCP server
