llms.txt Content
# rustunnel
> rustunnel is an open-source, self-hosted tunnel server written in Rust. Expose local HTTP, TCP, and UDP services to the internet — for webhooks, sharing a dev server, or AI agents — through the managed cloud or your own server. A self-hostable ngrok alternative.
## Start here
- [rustunnel](https://rustunnel.com): Product overview, pricing, and FAQ for the managed cloud.
- [Documentation index](https://rustunnel.com/docs/llms.txt): Curated index of all docs pages; the full docs as one markdown file are at https://rustunnel.com/docs/llms-full.txt.
- [Quickstart](https://rustunnel.com/docs/quickstart.md): Install the client, sign in with an API token, and expose your first local service over HTTPS.
## Use cases
- [Use cases hub](https://rustunnel.com/use-cases): Solution pages for commercial intent — webhook testing, share localhost, AI agents/MCP, TCP/SSH, game servers, IoT.
- [Test webhooks locally](https://rustunnel.com/use-cases/webhook-testing): Public HTTPS for Stripe/GitHub/SaaS callbacks to localhost.
- [Share local dev server](https://rustunnel.com/use-cases/share-localhost): Expose localhost to clients and teammates.
- [AI agents / MCP tunnel](https://rustunnel.com/use-cases/ai-agents): Let agents open tunnels via MCP in plain language.
## AI tools and agents
- [Agent manual (agents.md)](https://rustunnel.com/agents.md): Canonical copy-paste recipes for AI agents — install, open a tunnel, get the public URL, tear down, troubleshoot a 502 — plus an FAQ for agents.
- [AI tools hub](https://rustunnel.com/ai-tools): Per-harness setup pages with install one-liners and agent-ready prompts for Claude Code, Cursor, Windsurf, and any MCP client.
- [Using rustunnel from an AI agent or LLM harness](https://rustunnel.com/docs/guides/agent-integration.md): Copy-paste MCP config for Claude Code, Claude Desktop, Codex, Cursor, Windsurf, Cline, and any custom MCP client.
- [MCP Tunnel Server](https://rustunnel.com/docs/guides/mcp-server.md): An
OpenAPI Spec (preview)
openapi: 3.1.0
info:
title: rustunnel platform API
version: 0.2.24
summary: Accounts, API keys, usage, and billing for rustunnel.
description: |
The platform API behind rustunnel.com — user registration, JWT auth,
API-key management, tunnel usage history, and pay-as-you-go billing.
Tunnels themselves are NOT created over this API: tunnel creation happens
over the rustunnel control plane (WebSocket, port 4040) via the `rustunnel`
CLI or the `rustunnel-mcp` MCP serve