Cloudflare Tunnel MCP Server for Claude CodeGive Claude Code instant access to 17 tools to Cleanup Connections, Create Route, Create Tunnel, and more
Claude Code is Anthropic's agentic CLI for terminal-first development. Add Cloudflare Tunnel as an MCP server in one command and Claude Code will discover every tool at runtime. ideal for automation pipelines, CI/CD integration, and headless workflows via Vinkius.
Ask AI about this MCP Server for Claude Code
The Cloudflare Tunnel MCP Server for Claude Code is a standout in the Industry Titans category — giving your AI agent 17 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
# Your Vinkius token. get it at cloud.vinkius.com
claude mcp add cloudflare-tunnel --transport http "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install Cloudflare Tunnel and 4,000+ MCP Servers from a single visual interface.





* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Cloudflare Tunnel MCP Server
Connect your Cloudflare account to any AI agent to take full control of your Zero Trust connectivity and private network routing through natural conversation.
Claude Code registers Cloudflare Tunnel as an MCP server in a single terminal command. Once connected, Claude Code discovers all 17 tools at runtime and can call them headlessly. ideal for CI/CD pipelines, cron jobs, and automated workflows where Cloudflare Tunnel data drives decisions without human intervention.
What you can do
- Tunnel Management — List all tunnels in your account, filter by status (healthy, degraded, down), and fetch detailed metadata for specific tunnels.
- Remote Configuration — Retrieve and update ingress rules and origin settings for remotely-managed tunnels without touching the CLI.
- Network Routing — Manage private network routes (CIDR) and IP-based routing to connect your internal resources securely.
- Connection Monitoring — Inspect active connectors, list tunnel connections, and clean up stale sessions to ensure high availability.
- Lifecycle Actions — Create new tunnels, update secrets, or delete decommissioned tunnels directly from your workspace.
The Cloudflare Tunnel MCP Server exposes 17 tools through the Vinkius. Connect it to Claude Code in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 17 Cloudflare Tunnel tools available for Claude Code
When Claude Code connects to Cloudflare Tunnel through Vinkius, your AI agent gets direct access to every tool listed below — spanning cloudflare-tunnel, zero-trust, cloudflared, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Cleanup connections on Cloudflare Tunnel
If no client_id is provided, all connectors are removed. Clean up Cloudflare Tunnel connections
Create route on Cloudflare Tunnel
Create a tunnel route
Create tunnel on Cloudflare Tunnel
Create a new Cloudflare Tunnel
Delete route on Cloudflare Tunnel
Delete a tunnel route
Delete tunnel on Cloudflare Tunnel
Delete a Cloudflare Tunnel
Get configuration on Cloudflare Tunnel
Get configuration for a remotely-managed tunnel
Get connector on Cloudflare Tunnel
Get Cloudflare Tunnel connector details
Get management token on Cloudflare Tunnel
Get a Cloudflare Tunnel management token
Get route by ip on Cloudflare Tunnel
Get tunnel route by IP
Get tunnel on Cloudflare Tunnel
Get details for a single Cloudflare Tunnel
Get tunnel token on Cloudflare Tunnel
Get a Cloudflare Tunnel token
List connections on Cloudflare Tunnel
List Cloudflare Tunnel connections
List routes on Cloudflare Tunnel
List tunnel routes
List tunnels on Cloudflare Tunnel
List and filter Cloudflare Tunnels in an account
Put configuration on Cloudflare Tunnel
Add or update configuration for a remotely-managed tunnel
Update route on Cloudflare Tunnel
Update a tunnel route
Update tunnel on Cloudflare Tunnel
Update an existing Cloudflare Tunnel
Connect Cloudflare Tunnel to Claude Code via MCP
Follow these steps to wire Cloudflare Tunnel into Claude Code. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Claude Code
npm install -g @anthropic-ai/claude-code if not already installedAdd the MCP Server
Verify the connection
claude mcp to list connected servers, or type /mcp inside a sessionStart using Cloudflare Tunnel
Why Use Claude Code with the Cloudflare Tunnel MCP Server
Claude Code provides unique advantages when paired with Cloudflare Tunnel through the Model Context Protocol.
Single-command setup: `claude mcp add` registers the server instantly. no config files to edit or applications to restart
Terminal-native workflow means MCP tools integrate seamlessly into shell scripts, CI/CD pipelines, and automated DevOps tasks
Claude Code runs headlessly, enabling unattended batch processing using Cloudflare Tunnel tools in cron jobs or deployment scripts
Built by the same team that created the MCP protocol, ensuring first-class compatibility and the fastest adoption of new protocol features
Cloudflare Tunnel + Claude Code Use Cases
Practical scenarios where Claude Code combined with the Cloudflare Tunnel MCP Server delivers measurable value.
CI/CD integration: embed Cloudflare Tunnel tool calls in your deployment pipeline to validate configurations or fetch secrets before shipping
Headless batch processing: schedule Claude Code to query Cloudflare Tunnel nightly and generate reports without human intervention
Shell scripting: pipe Cloudflare Tunnel outputs into other CLI tools for data transformation, filtering, and aggregation
Infrastructure monitoring: run Claude Code in a cron job to query Cloudflare Tunnel status endpoints and alert on anomalies
Example Prompts for Cloudflare Tunnel in Claude Code
Ready-to-use prompts you can give your Claude Code agent to start working with Cloudflare Tunnel immediately.
"List all active tunnels in my Cloudflare account [ACCOUNT_ID]."
"Show me the ingress rules for tunnel [TUNNEL_ID]."
"Create a new Cloudflare tunnel named 'office-gateway' in account [ACCOUNT_ID]."
Troubleshooting Cloudflare Tunnel MCP Server with Claude Code
Common issues when connecting Cloudflare Tunnel to Claude Code through Vinkius, and how to resolve them.
Command not found: claude
npm install -g @anthropic-ai/claude-codeConnection timeout
Cloudflare Tunnel + Claude Code FAQ
Common questions about integrating Cloudflare Tunnel MCP Server with Claude Code.
How do I add an MCP server to Claude Code?
claude mcp add --transport http "" in your terminal. Claude Code registers the server and discovers all tools immediately.Can Claude Code run MCP tools in headless mode?
How do I list all connected MCP servers?
claude mcp in your terminal to see all registered servers and their status, or type /mcp inside an active Claude Code session.Explore More MCP Servers
View all →
Kajabi
16 toolsAll-in-one business platform for creators — manage courses, customers, and marketing via AI.

Mashvisor
10 toolsAnalyze real estate investments — compare Airbnb vs traditional rental ROI via AI.

OpenAlex Alternative
14 toolsAutomate scholarly research via OpenAlex — search millions of works, authors, and institutions directly from any AI agent.

Travis CI
10 toolsManage CI/CD pipelines, trigger custom builds, and oversee repository testing health securely via your AI agent.
