How to Use the Cloudflare MCP in Cline
Cline builds and deploys your Cloudflare stack by executing tasks end-to-end.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Cloudflare MCP to Cline
Create your Vinkius account to connect Cloudflare to Cline and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Automated deployment and route management
Cline writes your code and then uses `create_deployment` to push it to your account. It maps your endpoints by calling `create_worker_route` so your services go live instantly. You tell the agent to update a specific path and it handles the entire process. It verifies the change by listing deployments with `list_deployments` to confirm the version is active.
Direct database and storage interaction
Interact with your persistent data by using `query_d1` to execute SQL statements. You can also audit your R2 storage buckets with `list_r2_buckets` to ensure your assets are placed correctly. The agent fetches specific records from KV namespaces using `get_kv_key`. It then uses that data to inform its next coding step.
Proactive error handling and monitoring
Cline monitors your performance by calling `get_worker_analytics` to check for elevated error rates. If it detects an issue, it can initiate a rollback using `create_deployment` to a previous version ID. It captures runtime logs by starting a session with `create_tail_session`. The agent reads these logs to pinpoint the exact line of code causing a failure.
Set up Cloudflare MCP in Cline
Prerequisites
- VS Code with Cline extension installed
- Active Vinkius subscription with a valid endpoint token
- 1
Open Cline MCP settings
Click the Cline icon in the VS Code sidebar to open the Cline panel. Then click the MCP Servers icon (server stack) at the top-right corner of the panel.
- 2
Add a remote server
Click "Remote Servers" at the top, then click "Add Remote MCP". In the Name field, type
cloudflare-mcp. In the URL field, paste your Vinkius endpoint:https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp. Get your token from cloud.vinkius.com. - 3
Enable the server
After saving, the server appears in the Cline MCP panel. Toggle the switch to enable it. The status indicator turns green when the connection is live.
- 4
Start using tools
Return to the Cline chat and ask: "Check my latest Cloudflare refund status." Cline will discover the available tools and request your approval before invoking each one — giving you full control over every action.
{
"mcpServers": {
"cloudflare-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Cloudflare. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Cloudflare MCP in Cline
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Cloudflare MCP today
We host it, we monitor it, we maintain it. You just paste one token.