Expose local services via secure tunnels using rustunnel MCP server. Create public URLs for local HTTP/TCP services for testing, webhooks, and deployment.
Expose local services (HTTP/TCP) through public URLs using rustunnel. Perfect for testing webhooks, sharing local development, and deployment workflows.
Always use MCP tools for tunnel management. They handle lifecycle automatically.
| Method | Lifecycle | Recommended |
|---|
| MCP tools (create_tunnel, close_tunnel) | Automatic cleanup | ✅ Yes |
| CLI (rustunnel http 3000) | Manual process management | ❌ Only for cloud sandboxes |
Why MCP tools?
Location: ~/.rustunnel/config.yml
This file stores your server address and auth token. The agent will read from this file instead of asking every time.
Format:
# rustunnel configuration
# Documentation: https://github.com/joaoh82/rustunnel