Deploy localhost to a private, authenticated link from your AI coding agent.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Turn localhost into a link only the people you name can open.
Sign in is built in, so you write no auth code and touch no servers.
Your coding agent can write the whole application. It cannot host it, because hosting needs a server, a domain, a certificate, and a login system. So people reach for whatever is fastest, and that is where things go wrong: a public URL with no sign in, an API key committed by accident, or auth bolted on at the end by someone who has never written auth.
unlocalhost closes that gap. You say one sentence to the agent you already have open, and you get back a real URL with a guest list in front of it.
| Tunnel (ngrok) | Platform (Vercel) | unlocalhost | |
|---|---|---|---|
| Survives closing laptop | No | Yes | Yes |
| Private by default | No | No | Yes |
| Auth you have to write | All of it | All of it | None |
| Runs on your own server | No | No | Yes |
Or in any MCP client config:
Then ask your agent to sign in to unlocalhost, and deploy.
The hosted service runs this exact code. Nothing is held back, there is no phone home, and no license check.
You need a domain with wildcard DNS, a DNS provider API token for wildcard TLS,
a GitHub App, and a Google OAuth client. The full walkthrough is in
docs/server-setup.md.
| Package | Job |
|---|---|
web | Landing page, sign in screens, docs |
server/gateway | Public API ingress, CORS, rate limiting, request ids |
server/services/auth-gate | OAuth, sessions, and the allowlist check on every request |
server/services/control-plane | Apps, sharing, GitHub App, deploy pipeline |
server/services/activator | Wakes sleeping apps, puts idle ones back to sleep |
server/services/mcp-server | The unlocalhost npm package your agent talks to |
server/shared | Database, logging, crypto, errors, sessions |
Borrowed rather than built: Dokku and Nixpacks turn a repository into a running container, Caddy handles wildcard TLS. The novel part is small on purpose.
Found a vulnerability? Please follow SECURITY.md rather than
opening a public issue.
Read CONTRIBUTING.md first. In short: every backend module
follows routes β controller β service β repository, code carries no comments,
and there are no test files. Verification is done by running things.
MIT. See LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/unlocalhost)<a href="https://allmcps.com/mcp/unlocalhost"><img src="https://allmcps.com/api/badge/unlocalhost?style=directory" alt="Unlocalhost on AllMCPs" /></a>