Cloudflare Tunnel

Cloudflare Tunnel MCP Connector for Claude

A+

Manage Cloudflare Tunnels directly from your AI agent — list, create, and configure secure Zero Trust connections to your private infrastructure.

17 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Cloudflare account to any AI agent to take full control of your Zero Trust connectivity and private network routing through natural conversation.

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.

How it works

  1. Subscribe to this server
  2. Enter your Cloudflare API Token (with Cloudflare Tunnel permissions)
  3. Start managing your secure tunnels from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • DevOps Engineers — quickly check tunnel health and update ingress rules during deployments without leaving the terminal or IDE.
  • Security Teams — audit active tunnels and network routes to ensure compliance with Zero Trust policies.
  • System Administrators — automate the cleanup of stale connections and monitor the status of remote connectors across multiple accounts.
cloudflare-tunnelzero-trustcloudflarednetwork-securityremote-access

17 tools expose this connector's capabilities to your AI agent.

cleanup_connections

If no client_id is provided, all connectors are removed. Clean up Cloudflare Tunnel connections

create_route

Create a tunnel route

create_tunnel

Create a new Cloudflare Tunnel

delete_route

Delete a tunnel route

delete_tunnel

Delete a Cloudflare Tunnel

get_configuration

Get configuration for a remotely-managed tunnel

get_connector

Get Cloudflare Tunnel connector details

get_management_token

Get a Cloudflare Tunnel management token

get_route_by_ip

Get tunnel route by IP

get_tunnel_token

Get a Cloudflare Tunnel token

get_tunnel

Get details for a single Cloudflare Tunnel

list_connections

List Cloudflare Tunnel connections

list_routes

List tunnel routes

list_tunnels

List and filter Cloudflare Tunnels in an account

put_configuration

Add or update configuration for a remotely-managed tunnel

update_route

Update a tunnel route

update_tunnel

Update an existing Cloudflare Tunnel

See how to talk to your AI agent using Cloudflare Tunnel.

List all active tunnels in my Cloudflare account [ACCOUNT_ID].

I've retrieved your tunnels. You have 3 active tunnels: 'web-server-prod' (Healthy), 'db-bridge' (Healthy), and 'test-lab' (Inactive). Would you like to see the configuration for any of these?

Show me the ingress rules for tunnel [TUNNEL_ID].

Fetching configuration for tunnel [TUNNEL_ID]... The current ingress rules route 'app.example.com' to 'http://localhost:8080' and 'api.example.com' to 'http://localhost:3000'.

Create a new Cloudflare tunnel named 'office-gateway' in account [ACCOUNT_ID].

I've created the tunnel 'office-gateway'. Its ID is [NEW_TUNNEL_ID]. You can now use `get_tunnel_token` to retrieve the token needed to run the connector.

Yes. Use the `put_configuration` tool to update the ingress rules and origin request settings for any tunnel that is configured for remote management.

Related Connectors