Rustunnel
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.
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.
{
"mcpServers": {
"rustunnel": {
"command": "rustunnel-mcp",
"args": [
"--server",
"edge.rustunnel.com:4040",
"--api",
"https://edge.rustunnel.com:8443"
]
}
}
}
# rustunnel [](https://github.com/joaoh82/rustunnel/actions/workflows/ci.yml) [](LICENSE) [](https://www.rust-lang.org)  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. --- ## Table of Contents - [Hosted service](#hosted-service) - [Architecture overview](#architecture-overview) - [Requirements](#requirements) - [Local development setup](#local-development-setup) - [Build](#build) - [Run tests](#run-tests) - [Run the server locally](#run-the-server-locally) - [Run the client locally](#run-the-client-locally) - [Git hooks](#git-hooks) - [Production deployment (Ubuntu / systemd)](#production-deployment-ubuntu--systemd) - [1 — Install dependencies](#1--install-dependencies) - [2 — Build release binaries](#2--build-release-binaries) - [3 — Create system user and directories](#3--create-system-user-and-directories) - [4 — Install the server binary](#4--install-the-server-binary) - [5 — Create the server config file](#5--create-the-server-config-file) - [6 — TLS certificates (Let's Encrypt + Cloudflare)](#6--tls-certificates-lets-encrypt--cloudflare) - [7 — Set up systemd service](#7--set-up-systemd-service) - [8 — Open firewall ports](#8--open-firewall-ports) - [9 — Verify the server is running](#9--verify-the-server-is-running) - [Updating the server](#updating-the-server) - [Docker deployment](#docker-deployment) · [full guide](docs/docker-deployment.md) - [Client configuration](#client-configuration) - [Installation](#installation) - [Setup wizard](#setup-wizard) - [Quick start (CLI flags)](#quick-start-cli-flags) - [Config file](#config-file) - [Token management](#token-management) - [Port reference](#port-reference) - [Config file reference (server)](#config-file-reference-server) - [REST API](#rest-api) - [AI agent integration (MCP server)](#ai-agent-integration-mcp-server) - [OpenClaw skill](#openclaw-skill) - [Monitoring](#monitoring) - [Roadmap](#roadmap) - [Contributing](#contributing) - [License](#license) - [Contact](#contact) --- ## Hosted service You can use rustunnel without running your own server. We operate a global fleet of public edge servers that you can connect to immediately. ### Available regions | Region ID | Server | Location | Control plane | Status | |-----------|--------|----------|---------------|--------| | `eu` | `eu.edge.rustunnel.com` | Helsinki, FI | `:4040` | Live | | `us` | `us.edge.rustunnel.com` | Hillsboro, OR | `:4040` | Live | | `ap` | `ap.edge.rustunnel.com` | Singapore | `:4040` | Live | The client auto-selects the nearest region by default. Use `--region ` to connect to a specific one. The legacy address `edge.rustunnel.com` is a CNAME to `eu.edge.rustunnel.com` and will continue to work for backward compatibility. ### Getting an auth token Sign up for a free account at **[rustunnel.com](https://rustunnel.com)** — no waiting list, no manual approval. 1. Create an account at [rustunnel.com](https://rust...
A collection of MCP servers.
Chrome DevTools for coding agents
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, M...
Playwright MCP server
GitHub's official MCP Server
🚀 The fast, Pythonic way to build MCP servers and clients.