rustunnel

joaoh82/rustunnel
★ 630 stars Rust AI/LLM Updated 6mo ago ✗ Risk
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, MCP server for AI agents.
View on GitHub → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The rustunnel Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and 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, MCP server for AI agents. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the AI/LLM domain.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Route this complex analysis task to the connected model and return a structured JSON report."
"Compare the reasoning outputs between two connected models and highlight any discrepancies."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "rustunnel": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "rustunnel"
      ]
    }
  }
}
⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,500+ Ecosystem Dataset ($29) or the Production Starter Kit ($39) with turnkey Python & TypeScript boilerplates.
For Server Authors
Feature This Server
Top homepage & category placement.
Sponsor ($49/wk) →

🛡️ Protodex Verified Badge

Are you the author of rustunnel? Add this badge to your GitHub README for social proof and backlink verification.

Protodex Verified
[![Protodex Verified](https://img.shields.io/badge/Protodex-Verified_MCP-2DD9E0?style=flat-square&logo=github)](https://protodex.io/servers/joaoh82-rustunnel.html)

README Documentation

The open-source tunnel that scales with you. Don't pay for idle time. Secure, Rust-fast, and Pay-as-you-go. Expose local services through a public server over encrypted WebSocket connections with TLS termination, HTTP/TCP proxying, a live dashboard, Prometheus metrics, and audit logging. You can self-host or use our managed service.

View Full Documentation & Updates on GitHub ↗

Tools (11)

DELETEGETPOSTclose_tunnelcreate_tunnelcurlget_connection_infoget_tunnel_historylist_regionslist_tunnelslocalhost

Topics

api-gatewaymcp-serverngrok-alternativereverse-proxyrustrustunnelself-hostedtunneltunnelingwebhook
📊
Building AI Agents or Backtesting Quant Models?
Get the Polymarket Historical Dataset — 23.0M+ 15-minute price & orderbook snapshots across 18,400+ prediction markets. Clean CSV & SQLite download for backtesting & agent training.
Buy Dataset ($19) → View Sample →