Mistgate

DatabasesBrowser automation

Beta. Self-hosted VPN panel for family, friends or a small team: Hysteria2, VLESS REALITY, AmneziaWG and TrustTunnel, one link per person. Add servers from the browser over SSH; one TCP 443 for several protocols, decoy sites from a template, health checks, Telegram alerts, MCP for AI agents. Two Go binaries, SQLite, no Docker.

Your AI app calls the Mistgate MCP server, which does the databases and browser automation work and sends the result back to the chat.

About Mistgate

Mistgate is a community MCP server from Mistgate, filed in our directory under databases and browser automation. Beta. Self-hosted VPN panel for family, friends or a small team: Hysteria2, VLESS REALITY, AmneziaWG and TrustTunnel, one link per person. Add servers from the browser over SSH; one TCP 443 for several protocols, decoy sites from a template, health checks, Telegram alerts, MCP for AI agents. Two Go binaries, SQLite, no Docker.

At a glance

Publisher
Mistgate (community)
Runs
See the README for setup
Written in
Go
License
AGPL-3.0
GitHub stars
335

How to set up Mistgate

  1. Follow the install steps in the Mistgate README; it is written in Go, so have that toolchain ready.
  2. Check the Mistgate README for keys or settings; the registry lists none that Mistgate requires.
  3. Add Mistgate to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Mistgate tools to confirm the connection.
  5. Run one read-only task with Mistgate first, and keep your app asking before each tool call until the results look right.

Mistgate compared with similar servers

  • Volcengine by volcengine has fewer GitHub stars than Mistgate (334 against 335); Volcengine is official while Mistgate is a community server, and both run locally.
  • Affine by DAWNCR0W has more GitHub stars than Mistgate (339 against 335); both are community servers, and both run locally.
  • Elasticsearch by cr7258 has fewer GitHub stars than Mistgate (324 against 335); both are community servers, and both run locally.

Before you connect Mistgate

  • Give Mistgate its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Mistgate tool call until you trust what it does with them.
  • Treat text that Mistgate fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Mistgate on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Mistgate

How marketing and sales teams put Mistgate to work, by company size. Pick the size closest to yours and start Mistgate on one use case.

Small business

  • A small business with its own app can ask Mistgate plain questions about customers and orders, without writing SQL.
  • Owners can use Mistgate to pull a list of customers who haven't bought in 90 days and plan a win-back email.
  • A small business can use Mistgate to check its own site after every change: forms submit, links work and checkout still loads.
  • Mistgate runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing analysts can connect Mistgate to answer campaign questions from the warehouse directly, instead of waiting on the data team's queue.
  • Lifecycle teams can use Mistgate to build audience lists from product data and check counts before a send.
  • Marketing teams can run Mistgate to test landing pages and signup flows on every release, catching a broken form before paid traffic hits it.
  • Start Mistgate on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should point Mistgate at a read replica with a read-only role, so agents query freely without risk to production data.
  • Data teams can expose curated views through Mistgate, so marketing gets self-serve answers without access to raw customer tables.
  • Enterprises can run Mistgate in isolated environments with allow-listed sites, so browsing agents never reach internal or unknown pages.
  • Mistgate is a community server, so have security review the code and pin a version before Mistgate touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Mistgate README

From Mistgate/mistgate on GitHub, shared under its AGPL-3.0 license. Images are left out; the original has them.

README.md

Mistgate

A self-hosted panel for a small VPN: a few servers of your own and the people you share them with.
Hysteria2, VLESS and AmneziaWG. Two Go binaries, SQLite and systemd.

Docs (mistgate.app/docs) · Install · Protocols · Is it stable? · Compare · Русский · 简体中文 · فارسی · Türkçe

Beta. Expect changes before 1.0. Status and roadmap

What it does

You put the panel on one server and add your VPN servers to it as nodes. Each person gets one subscription link, and their app picks up every server they may use. The panel keeps the nodes configured and checks them.

Everything here runs on invented demo data; the clips are short loops of the real admin.

Add a server from the browser

Type the server's IP, choose how the panel logs in (its own SSH key, added once at your hoster, or the root password) and watch the install. The panel pins the server's SSH host key, checks the host, opens the ports in an active UFW or firewalld and installs the signed agent. No terminal on the new server; a one-time command is there if you prefer it.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en)

One link per person, and a page of their own

Each person gets one subscription link, a QR code and a page behind it with instructions for their platform, days left, traffic and their own devices. Mihomo apps get all protocols from the link, Happ gets Hysteria2 and VLESS, AmneziaVPN takes a key per device from the page. Groups decide which servers each person reaches.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/guide)

Checks from the client's side

Every 5 minutes the panel connects to every protocol on every node the way an app does and shows the delay through each tunnel, so you hear about a broken server before the people on it do. A doctor on each node runs 23 host checks and offers ten fixes; none of them runs without your confirmation.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/operations)

One TCP 443 for several protocols

Many networks let through only TCP 443. A node can keep VLESS REALITY, VLESS over TLS, TrustTunnel and MTProto on that one port: the agent tells them apart by the name the client asks for. When you put a second profile on a taken port, the panel offers to put it beside the first and shows the DNS record to add.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/guide)

Decoy sites from a template

A stranger who opens a node should see an ordinary small site, not a Mistgate page. Pick a country and one of ten kinds (a status page, documentation, a blog, a small business, a portfolio and more) and the panel builds a site in that country's language, with its own look and texts, different every time. Look at it, ask for another variant, then save. With your own free photo key a site gets real photographs, served from the node itself.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/guide)


Updates that roll out and roll back

Nodes never update on their own. A rollout installs one canary node first and gives it 5 minutes to pass a health check, then goes on in small batches. A node that fails gets its previous build back and the rollout pauses. The panel updates itself only when you confirm, and puts the old binary and data back if the new one does not stay up.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/operations)

Updates of the servers' systems

See which servers wait for security updates or a reboot, without logging in to each of them. Install security updates or reboot one server, or tick several and run them as a rollout: a few at a time, each node health-checked afterwards, a stop at the first that fails.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/operations)

WARP exit, with a check that it works

Send a profile's traffic out through Cloudflare WARP, with one account per node. The card shows the tunnel, the traffic and an egress check; the panel also fetches a list of sites through each node's WARP and raises an alert when some of them start to block it. A profile with the WARP exit never falls back to the node's own address.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/guide/warp.md)

DNS presets for the apps

A preset says which DNS servers a person's app asks and how (plain, DoT or DoH), with split rules for a country or a list of sites, such as Russian sites direct, and ads blocked in the apps. Give one to everybody, to a group or to one person; the editor shows what each app will really get.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/guide/dns.md)

An assistant and MCP, with a plan first

A built-in assistant (a cloud model you connect with your own key) answers about your nodes and people and prepares changes. MCP gives an outside AI agent the same: it reads the fleet and plans changes, and you approve each risky one in the admin before it is applied. An API token can disable or rewrite at most 10 people an hour unless you lift the limit.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/guide)

Alerts in Telegram

Connect your own bot and the panel writes to your chat when a node goes down or comes back, a check fails, a backup fails or an agent's plan waits for you. It only sends alerts: nothing is approved or changed from the chat. Each admin links their own chat.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/operations)

Encrypted backups and a careful restore

Backups go to your own Cloudflare R2 bucket, on a schedule or on demand, encrypted before they leave the panel with a key you keep offline. A restore checks the backup first and shows what it holds against what you have now; nothing changes until you confirm, and the data from before the restore is kept.

Docs (github.com/Mistgate/mistgate/blob/main/docs/en/operations)

Also in the box:

  • When some networks cannot reach a server, people get to it through another of your nodes, which only forwards the encrypted traffic. The panel checks the path before switching it on and watches it afterwards; Ways in on the node page is a graph of how people reach the server, and the Nodes page maps the whole fleet. Relays
  • Optional checks of whether your servers open from inside a country, network by network: Globalping probes on home and mobile networks over IPv4 and IPv6, volunteer and SIM probes, block lists and a TSPU probe from your own node. Most sources work only in Russia. Reachability
  • No Docker, no database server. The panel idles at 39-44 MiB of memory on a 1 vCPU / 1 GB server. Benchmarks, including where Mistgate is slower.
  • Strangers who open the panel's address see a decoy site; the admin is behind a secret path or host name.
  • Who gets which server: a node goes to everyone, to chosen groups or to nobody yet, and a person can be in several groups. Groups
  • A desktop app for Windows, Mistgate, works with these panels and with plain subscription links.

Not there yet: a Telegram bot beyond alerts, and the Cloudflare Workers edition is still a preview. Some defaults lean towards users in Russia; all of them are settings.

Protocols

Protocol On the node What you can set
Hysteria2 The official Hysteria2 core UDP (QUIC). Salamander obfuscation (Gecko is experimental), port hopping, a Let's Encrypt or a pinned self-signed certificate.
VLESS xray-core REALITY over XHTTP or TCP (RAW + Vision); TLS over XHTTP or WebSocket, direct or behind a CDN.
AmneziaWG amneziawg-go in userspace, or the kernel module Versions 3.1 (the default) and 2.0, a separate key per device. 1.5 and 1.0 are not offered.
TrustTunnel Mistgate's own engine in the node agent Experimental. A VPN inside ordinary HTTPS (HTTP/2, HTTP/3 optional) with a real certificate; tt:// keys for the official TrustTunnel apps.
MTProto Mistgate's own MTProto core Experimental. A proxy for the Telegram app only: Fake TLS with the node's own domain or another site as the name, a key per person, the decoy site for everyone else.

Hysteria2 and VLESS can share a node, TCP 443 included. Not every app format carries every profile: see what works where.

Not supported yet: VMess, Trojan, Shadowsocks, TUIC and plain WireGuard. More protocols are planned; each new one plugs into the same subscription link through the contract below.

A protocol is two halves compiled into the binaries. On the panel, one Go interface: a JSON Schema for its settings (the admin builds the form from it), validation, the spec a node runs, credential issuing, and its piece of each subscription format. On the node, an engine that runs the spec, swaps credentials without a restart and reports traffic and health. A new protocol goes only to agents that announce it, so older agents keep working. See the protocol plugin contract.

Is it stable?

It is beta, and young: v0.1.0 was tagged on 2026-10-03, and the 0.2.0 line redraws the whole interface. Until 1.0 the API, the stored settings and the node protocol may still change. Releases do not go through an automated upgrade test from older versions yet; that is one of the conditions for 1.0.

I run it on my own six servers for family and friends.

The tunnels do not depend on the panel: a node keeps serving its last applied configuration while the panel is down, a user change does not restart the server, and older agents work with a newer panel. In the benchmark, adding and removing users and restarting the panel dropped no connection.

Checks:

  • CI on every push and pull request (ci.yml): Go tests and vet, the race detector on the panel-agent session, govulncheck, the admin's lint and tests, the docs build, the installer on Debian and Ubuntu.
  • An end-to-end run (scripts/e2e-wsl.sh): a real panel and node with real Hysteria2, AmneziaWG, Xray, mihomo and sing-box clients, plus agent updates, rollbacks and an install over SSH. It runs by hand before every release, in WSL or a VM, not in CI.
  • GitHub Actions builds each tag as a draft. I rebuild it from the tag on a machine with the offline release key and sign only binaries that match byte for byte; nodes and the panel install only signed builds. Releases and signing

Updating (Updates):

  • Nodes never update on their own. A rollout updates one canary node first and gives it 5 minutes to pass a health gate, then goes on in batches of one or two. A node that fails gets its previous build back, and the rollout pauses.
  • The agent also rolls itself back if a new build does not connect within 5 minutes or keeps crashing. Any node can be rolled back by hand.
  • A node whose link to the panel stalls can finish the download from GitHub. The panel offers it as a second source only when the release there is signed by the panel's own key and has the same files; it is on by default, a switch in Settings turns it off, and GitHub sees the node's address.
  • The panel updates itself only when you confirm. It backs up its data first and restores the old binary and data if the new one does not stay up for 45 seconds.
  • Keep encrypted backups of /var/lib/mistgate anyway.

Mistgate is written with AI coding agents. I review what they write and decide what is merged and released; the checks above are the same for their code as for anyone's. Commits made with an agent carry a Co-Authored-By line, and the rules agents follow in this repository are in AGENTS.md.

Quick start

You need a fresh Linux server (amd64 or arm64) with systemd, a domain that points directly at it (here panel.example.com), TCP ports 80 and 443 free, and either openssh-client with ssh-keygen -Y verify support or OpenSSL 3.2 or newer. On the server, run:

curl -fsSL https://mistgate.app/install.sh | sudo bash -s -- --public-url https://panel.example.com

The installer verifies the signed panel manifest, starts Mistgate under systemd and prints the admin URL with a one-time setup link (valid for 30 minutes). It leaves the firewall alone. --yes skips the questions, --dry-run only verifies the release; manual installation and other options are in Install the panel.

Then:

  1. Open the setup link and create the owner: a passkey, or a password with an authenticator code.
  2. Add servers in Nodes → Add node, over SSH or with a one-time command (Add a node).
  3. Add people: First users.

An AI agent that can run ssh can do these steps with the prompt in the AI agent guide; you still create the owner account yourself.

Compared with other panels

Mistgate 3x-ui Remnawave Hiddify PasarGuard s-ui
Runs without Docker ✅ ✅ ❌ ✅ 🟡 partial ✅
Database SQLite SQLite or PostgreSQL PostgreSQL + Redis MySQL + Redis SQLite, MySQL, MariaDB or PostgreSQL SQLite
Panel RAM, idle 39-44 MiB¹ 73-76 MiB¹ 436-464 MiB¹ not measured 273-277 MiB¹ not measured
Add a node from the panel (SSH) ✅ ❌ ❌ ❌ ❌ ?
Hysteria2 ✅ native ✅ 🟡 partial ✅ ✅ ✅
VLESS REALITY ✅ ✅ ✅ ✅ ✅ ✅
AmneziaWG ✅ native, 2.0 and 3.1 ✅ 3.1 ❌ ❌ ❌ ❌
TrustTunnel ✅ experimental ❌ ❌ ❌ ❌ ❌
Telegram proxy (MTProto) ✅ experimental ✅ ❌ ✅ ✅ in the source ❌
WireGuard ❌ ✅ 🟡 core config only ✅ ✅ ✅
TUIC ❌ ✅ ❌ ✅ 🟡 sing-box core, only in the source ✅
VMess, Trojan, Shadowsocks ❌ ✅ 🟡 partial ✅ ✅ ✅
Xray JSON or sing-box subscriptions ✅ both Xray JSON ✅ both ✅ both ✅ both sing-box
Relay through an entry node ✅ 🟡 outbound chaining 🟡 bridge by hand ✅ relay domains ? ?
Decoy site ✅ 🟡 Hysteria2 only ? ✅ ? ?
Device limit ✅ ✅ ✅ ? ✅ ?
Several admins with roles ❌ one admin ? ❌ ✅ ✅ ?
Health checks and alerts ✅ client-eye checks, node doctor, reachability from a country ✅ tunnel monitor (opt-in) ✅ status, Prometheus 🟡 partial 🟡 partial 🟡 status only
Telegram bot 🟡 alerts only ✅ 🟡 partial ✅ ✅ 🟡 third-party bot
Built-in MCP server for AI agents ✅ ❌ ❌ ? ? ?

¹ Private memory of the whole panel group, idle, 0 to 200 users, no node attached, on a 1 vCPU / 1 GB test server (3x-ui includes its Xray core and fail2ban). Method, versions and limits: Benchmarks. "?" means the project's own README and docs do not say. "❌" for another project means it says so itself, or its source code does not mention the feature (a code search on 2026-11-24). "native" means the protocol's own core runs on the node, not a reimplementation inside Xray or sing-box.

Others are ahead in protocol breadth, community size, admin roles and full Telegram bots. The full table with sources, checked on 2026-10-09 and in part again on 2026-11-24, is in Comparison with other panels.

Documentation

Everything is at mistgate.app and in docs/. Good places to start:

Contributing

Bug reports, fixes and documentation are welcome. CONTRIBUTING.md has the build, the code map, the checks CI runs and the conventions. Coding agents start with AGENTS.md; the AI agent guide has a ready prompt for contributing.

Security

Report vulnerabilities privately: see SECURITY.md. Back up the panel's data directory (/var/lib/mistgate): it holds the database, the master key and the CA your nodes trust.

Licence

Mistgate is free software under the GNU Affero General Public License v3.0 only. If you run a modified panel for others, its admin shows a "Source code" link (serve --source-url) that should point to your source.

Star History

Questions about Mistgate

What is the Mistgate MCP server?

Beta. Self-hosted VPN panel for family, friends or a small team: Hysteria2, VLESS REALITY, AmneziaWG and TrustTunnel, one link per person. Add servers from the browser over SSH; one TCP 443 for several protocols, decoy sites from a template, health checks, Telegram alerts, MCP for AI agents. Two Go binaries, SQLite, no Docker. Mistgate is maintained by Mistgate on GitHub at Mistgate/mistgate, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Mistgate MCP server?

Mistgate doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (Mistgate/mistgate). Like most servers, Mistgate ends with a command or URL you paste into your AI app's MCP config.

Does Mistgate need an API key?

The registry lists no required keys for Mistgate. Check the Mistgate README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Mistgate an official MCP server?

No. Mistgate is a community server maintained by Mistgate. Community servers can be excellent; read the code and the open issues before you give Mistgate access to company data.

What license is Mistgate under?

Mistgate is released under the AGPL-3.0 license, according to its GitHub repository. The license covers the code of Mistgate; the service it connects to has its own terms.