
Connect Cloudflare to ChatGPT, Claude and Gemini
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Run your entire edge stack through your AI agent.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 25 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 25 available through Cloudflare.
- 01
Create deployment
This capability deploys a specific Worker version to your traffic. You can choose between immediate 100% rollouts or gradual percentage-based deployments.
- 02
Create secret
Use this to add or update encrypted environment variables for a Worker. It injects values like API keys or database passwords at runtime.
- 03
Create tail session
This capability starts a real-time logging session for a Worker. It provides a WebSocket URL to stream logs and exceptions for live debugging.
- 04
Get kv key
This capability retrieves a specific value from a KV namespace. It returns the raw data as JSON for configuration or user data.
05-08
4 capabilities in this set.
Part of 25 available through Cloudflare.
- 05
List deployments
This capability shows all current deployments for a Worker. It returns version IDs, creation dates, and current traffic percentages.
- 06
Query d1
This capability runs SQL queries against your D1 serverless SQLite databases. It supports SELECT, INSERT, UPDATE, and DELETE operations.
- 07
Create worker route
Use this to map a Worker to specific URL patterns or domains. You provide the zone ID and the desired path pattern.
- 08
Delete secret
This capability removes an encrypted secret from a Worker. Use it to rotate credentials or clean up old environment variables.
09-12
4 capabilities in this set.
Part of 25 available through Cloudflare.
- 09
Delete tail session
This capability ends an active tail logging session. It is used to stop streaming logs once you finish debugging.
- 10
Delete worker
This capability permanently removes a Worker script and its associated resources. This action cannot be undone.
- 11
Delete worker route
This capability removes a specific URL route pattern from a Worker. It requires the zone ID and the route ID.
- 12
Get worker
This capability pulls detailed configuration data for a specific Worker. It is useful for auditing settings before making changes.
13-16
4 capabilities in this set.
Part of 25 available through Cloudflare.
- 13
Get worker analytics
This capability fetches performance metrics for a Worker. It provides data on recent invocations and usage trends.
- 14
Get worker version
This capability retrieves metadata for a specific version of a Worker. Use it to inspect code snapshots before a rollback.
- 15
Get zone analytics
This capability pulls aggregated traffic and CDN performance data for a Cloudflare zone. It covers the last 24 hours of activity.
- 16
List d1 databases
This capability returns a list of all D1 databases in your account. It provides names, IDs, and file sizes.
17-19
3 capabilities in this set.
Part of 25 available through Cloudflare.
- 17
List kv keys
This capability lists all keys within a specific KV namespace. It includes metadata like expiration and key size.
- 18
List kv namespaces
This capability identifies all KV namespaces available in your account. It returns the namespace IDs and titles.
- 19
List r2 buckets
This capability lists your R2 object storage buckets. It shows bucket names, creation dates, and storage locations.
20-22
3 capabilities in this set.
Part of 25 available through Cloudflare.
- 20
List secrets
This capability audits the names and types of secrets configured for a Worker. It does not return the actual secret values.
- 21
List worker routes
This capability shows all URL patterns currently routing to a specific Worker. It includes the associated zone IDs.
- 22
List worker versions
This capability retrieves the deployment history for a Worker. It lists version IDs, timestamps, and author info.
23-25
3 capabilities in this set.
Part of 25 available through Cloudflare.
- 23
List workers
This capability pulls a list of all Worker scripts in your account. It is the starting point for managing your edge functions.
- 24
List zones
This capability lists all DNS zones in your account. It provides zone IDs, domain names, and status.
- 25
Purge cache
This capability clears all cached content for a specific zone. Use it to force the CDN to serve fresh origin data.
Real work
What teams actually run
Rapid Feature Rollouts
Deploy a new version of a Worker with a gradual traffic rollout to test stability.
Production Troubleshooting
Start a tail session to watch live logs when a specific endpoint starts throwing errors.
Database Management
Run SQL updates or data migrations on a D1 database without leaving your AI client.
Cache Invalidation
Purge the CDN cache for a zone immediately after updating static assets.
Automate a task
Put Cloudflare to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
Cloudflare works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put Cloudflare to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
808ms average. Fast in production.
Cloudflare is checked daily against the live service.
- Fastest day
- 647ms
- Slowest day
- 968ms
- 14-day trend
- Stable-4%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 25 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of Cloudflare, so you can see the experience inside your AI.
It does not authenticate your account with Cloudflare. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
Cloudflare Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_QxZIaIoAXIL23CyRLSDVkRwHXoDvC0VRLSwRYtQS/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Cloudflare capabilities are ready to use.
{
"mcpServers": {
"cloudflare-mcp": {
"url": "https://edge.vinkius.com/vk_preview_QxZIaIoAXIL23CyRLSDVkRwHXoDvC0VRLSwRYtQS/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up Cloudflare in Claude and other AIs
Who it's for
Built for the work Cloudflare owners hand off.
This MCP is built for engineers managing high-scale edge applications who want to bypass manual CLI workflows.
- 01
Edge Application Developers
They hand off Worker deployments and KV data management to the agent.
- 02
DevOps Engineers
They use the AI to monitor zone analytics and manage secret rotation.
- 03
Full-stack Developers
They use the agent to run ad-hoc D1 SQL queries and manage R2 storage.
FAQ
Questions Cloudflare owners ask.
- 01
How do I connect this MCP to my Cloudflare account?
You need to generate a Cloudflare API token with permissions for Workers, KV, D1, R2, and Analytics, then provide your Account ID to the MCP.
- 02
Can the AI see my actual secret values?
No. The list_secrets capability only returns the names and types of secrets for security purposes; it never exposes the actual encrypted values.
- 03
What AI clients can I use with this?
You can use any MCP-compatible client, including Claude, Cursor, Windsurf, and VS Code.
- 04
Is it possible to roll back a deployment?
Yes. You can use the create_deployment capability to roll back to a previous version of a Worker.
- 05
Does this replace the Wrangler CLI?
It acts as a conversational alternative to the Wrangler CLI, allowing you to perform the same operations using natural language.
- 06
Can I deploy new Worker scripts directly through the AI agent?
Yes! You can orchestrate deployments natively mapping source code variables seamlessly without touching Wrangler.
- 07
Does it interact with specific D1 Serverless SQL definitions?
Absolutely. Ask your agent to parse complex D1 databases and query tables instantly utilizing precise analytical calls.
- 08
How are environment variables and secrets handled?
All add_secret queries execute symmetrically securely masking output variables while committing seamlessly inside Cloudflare matrices.
Explore
More in AI Frontier
Modal (Serverless AI Infrastructure) AI Connector
Manage serverless compute via Modal — audit active apps, track GPU deployments, and monitor network volumes.
ViewStackPath (Edge Computing & CDN API) AI Connector
Manage edge computing workloads and CDN delivery via StackPath — list stacks, deploy workloads, and purge cach
ViewFlightcontrol (AWS PaaS Deployments) AI Connector
Deploy and manage AWS infrastructure via Flightcontrol — list projects, manage environments, and scale service
ViewFly.io AI Connector
Manage edge compute infrastructure via Fly.io — list apps, control machines (VMs), manage volumes and certific
View
Suggestions
Vercel AI Connector
Deploy frontend applications instantly with a platform optimized for Next.js, serverless functions, and edge c
ViewDeno Deploy AI Connector
Manage your Deno Deploy infrastructure — list apps, create deployments, and stream logs directly from your AI
ViewBalena AI Connector
Manage IoT fleets and edge devices via Balena — list devices, manage environment variables, and track releases
ViewCloudflare AI Connector
Manage DNS, Workers, KV, Pages and firewall via Cloudflare — audit records, deploy config and inspect CDN anal
View
Connect Cloudflare to Claude, Cursor, ChatGPT & more
