• NEW TUNNEL
  • ROUTING
  • CONFIG
  • HUMAN

How to provision and configure tunnels with your agent

Connect Cloudflare to your AI client once. After that, you can spin up tunnels and map hostnames using plain text commands.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

Can I set up Cloudflare tunnels using my AI?

Yes. Your agent uses the Cloudflare Tunnel MCP to create tunnels and manage routing. You'll get a fully configured connection without touching the Cloudflare dashboard.

The results of your requests

Where your changes land

Each command you give your agent results in a live update to your Cloudflare network.

NEW TUNNEL

Instant tunnel creation

Your agent uses create_tunnel to spin up a new connection. You get a new tunnel ready for traffic immediately.

ROUTING

Direct traffic control

Your agent manages how hostnames reach your services. It uses create_route to map your domains to the right tunnel.

CONFIG

Updated tunnel settings

You can change how a tunnel behaves. Your agent applies these changes using put_configuration.

HUMAN

Manual oversight needed

Your agent cannot delete tunnels or change your Cloudflare account billing. You keep full control over those sensitive areas.

The workflow

What your agent does when a request arrives.

Your agent translates your intent into specific Cloudflare API actions.

  1. Provision the tunnel

    Your agent starts by creating the connection itself to establish a path into your network.

    create_tunnel
  2. Map the hostnames

    Once the tunnel is live, your agent sets up the routing rules to point your domain to the service.

    create_route
  3. Apply configurations

    Your agent updates the tunnel settings to ensure the connection behaves exactly how you requested.

    put_configuration
  4. Verify the setup

    Your agent checks the current configuration to confirm the tunnel and routes are active.

    put_configuration

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Cloudflare Tunnel tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the Cloudflare Tunnel MCP.

Starting points

These are templates. Replace the tunnel names and hostnames with your own.

Cloudflare Tunnel Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_hT7kuznY9UnZpXYZT9IsTzVtPYMm0Ja2T7OuWTJd/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Cloudflare Tunnel capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "cloudflare-tunnel-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_hT7kuznY9UnZpXYZT9IsTzVtPYMm0Ja2T7OuWTJd/mcp"
    }
  }
}
Copy into chat04
  • 01

    Create a new Cloudflare tunnel named 'production-web-server'.

  • 02

    Set up a route for 'app.example.com' through my 'production-web-server' tunnel.

  • 03

    Update the configuration for the 'dev-tunnel' to change its settings.

  • 04

    Create a tunnel called 'test-connection' and route 'test.local' to it.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Cloudflare Tunnel once, then ask.

Connect your account in one click. Your login stays encrypted on our side, and you can start managing tunnels immediately.

Connect Cloudflare Tunnel to your agent

FAQ

How this task behaves

  • 01

    Can your agent delete my existing tunnels?

    No. Your agent only has tools to create and update. You must delete tunnels manually in the Cloudflare dashboard.

  • 02

    Can I change my Cloudflare billing through your agent?

    No. Your agent cannot access your account billing or subscription details.

  • 03

    Does your agent have access to my Cloudflare password?

    No. You connect via Vinkius, and your credentials stay encrypted and secure.

  • 04

    Can your agent create multiple routes for one tunnel?

    Yes. You can ask your agent to create several different routes for a single tunnel.

  • 05

    Can your agent modify my DNS records?

    No. Your agent manages tunnels and routes, but it does not have tools to modify DNS zone records.

  • More questions about Cloudflare Tunnel? The Connector page answers them. See everything the Cloudflare Tunnel Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Cloudflare Tunnel to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Cloudflare Tunnel plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Cloudflare Tunnel to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.