Enterprise DNA
M MCP Servers Developer low

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

J

MCP

joaoh82/rustunnel

Added 15 June 2026

#api-gateway #mcp-server #ngrok-alternative #reverse-proxy #rust #rustunnel #self-hosted #tunnel

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
Free 27-page guide

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.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks