joaoh82/rustunnel
by Various
Self-hosted, secure tunnel server in Rust. Expose local HTTP/HTTPS/TCP/UDP services to the public internet via TLS-encrypted WebSocket. Open-source, pay-as-you-go managed option, M
MCP
joaoh82/rustunnel
Added 15 June 2026
Overview
Rustunnel is a self-hosted secure tunnel server written in Rust. It exposes local HTTP, HTTPS, TCP, and UDP services to the public internet through TLS-encrypted WebSocket connections. The project is open-source with an optional pay-as-you-go managed hosting option and includes an MCP server for AI agents.
Best for
Best for
Developers needing a secure, self-hosted tunnel to expose local services to the internet
Use cases
- Expose a local web app for external testing or demo
- Share a TCP service for remote debugging or collaboration
- Connect an AI agent to a local MCP server from public internet
How to use
Tools exposed
rustunnel-mcp
Tested with
Cursor
Example client config
{"command":"rustunnel-mcp","args":["--server","eu.edge.rustunnel.com:4040","--api","https://eu.edge.rustunnel.com:8443"],"env":{"RUSTUNNEL_TOKEN":"YOUR_TOKEN"}} Notes
Rustunnel is a self-hosted secure tunnel server written in Rust. It exposes local HTTP, HTTPS, TCP, and UDP services to the public internet through TLS-encrypted WebSocket connections. The project is open-source with an optional pay-as-you-go managed hosting option and includes an MCP server for AI agents.
636 stars on GitHub. Last updated 2026-06-13. Licensed AGPL-3.0.
Use cases
- Expose a local web app for external testing or demo
- Share a TCP service for remote debugging or collaboration
- Connect an AI agent to a local MCP server from public internet
Pros
- Open-source and self-hosted gives full control over infrastructure
- Supports multiple protocols (HTTP, HTTPS, TCP, UDP) in a single tool
- Written in Rust for performance and memory safety
Cons
- Requires self-hosting a server, adding operational overhead
- Managed option incurs ongoing cost if not self-hosted
- Documentation and community support may be limited compared to larger alternatives
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Open-source and self-hosted gives full control over infrastructure
- Supports multiple protocols (HTTP, HTTPS, TCP, UDP) in a single tool
- Written in Rust for performance and memory safety
Cons
- Requires self-hosting a server, adding operational overhead
- Managed option incurs ongoing cost if not self-hosted
- Documentation and community support may be limited compared to larger alternatives
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.