unlocalhost
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@unlocalhostdeploy this and let sarah@gmail.com in"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
unlocalhost
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.
Website · Docs · MIT licensed · Self hostable
The problem
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.
you deploy this and let sarah@gmail.com in
agent pushed your code to a private repo
agent building
agent live at sarahs-todo.unlocalhost.tech
agent sarah@gmail.com can sign in and open itRelated MCP server: chatpipe-mcp
How it works
You add unlocalhost to your coding agent as an MCP server and sign in once with GitHub.
You tell the agent to deploy, and name who is allowed in.
Your agent pushes the code using your own git credentials. unlocalhost never holds write access to anything.
We clone read only, scan for committed secrets and refuse to continue if we find any, then build and run it.
Visitors sign in with GitHub or Google. Their verified email is checked against the guest list before the request ever reaches your app.
What makes it different
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 |
Quick start
claude mcp add unlocalhost -- npx -y @unlocalhost/unlocalhostOr in any MCP client config:
{
"mcpServers": {
"unlocalhost": {
"command": "npx",
"args": ["-y", "@unlocalhost/unlocalhost"]
}
}
}Then ask your agent to sign in to unlocalhost, and deploy.
Self hosting
The hosted service runs this exact code. Nothing is held back, there is no phone home, and no license check.
git clone https://github.com/info-arnav/unlocalhost.git
cd unlocalhost/deploy
cp .env.example .env # fill it in
docker compose --env-file .env run --rm migrate
docker compose --env-file .env up -dYou 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.
Architecture
internet :443 → Caddy → auth-gate /verify → activator → Dokku → your appPackage | Job |
| Landing page, sign in screens, docs |
| Public API ingress, CORS, rate limiting, request ids |
| OAuth, sessions, and the allowlist check on every request |
| Apps, sharing, GitHub App, deploy pipeline |
| Wakes sleeping apps, puts idle ones back to sleep |
| The |
| 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.
Security
Apps are private until you name someone. Removing them revokes access at once.
Every deploy is scanned for committed secrets and refused if any are found.
Sign in is enforced at the edge, before a request reaches your app.
Environment variables are encrypted at rest with AES 256 GCM.
We hold read only access, and only to repositories you pick.
Found a vulnerability? Please follow SECURITY.md rather than
opening a public issue.
Contributing
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.
Licence
MIT. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables secure coordination between multiple LLM agents through authenticated messaging, status updates, and conversation management. Features automatic secret redaction, rate limiting, and audit trails for safe multi-agent collaboration in development environments.Last updatedMIT
- AlicenseAqualityCmaintenancePublish live web pages from AI coding agents. Instant shareable URLs for dashboards, landing pages, and reports with password protection.Last updated41MIT
- Alicense-qualityBmaintenanceEnables coding agents to join a secure agent-to-agent network for team collaboration, with tools for direct messaging, shared rooms, and approval-gated file/command requests.Last updatedMIT
- Alicense-qualityBmaintenanceEnables sharing artifacts (HTML, files, sites) with password protection and custom branding on your own domain, directly from any AI agent.Last updated8MIT
Related MCP Connectors
Deploy a multi-user web app from your agent: hosting, auth, database, and permissions.
Agent-first hosting: create apps, commit code, deploy, get HTTPS URLs. OAuth sign-in, no tokens.
Publish & manage shareable HTML/Markdown pages from your LLM, with access control.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/info-arnav/unlocalhost'
If you have feedback or need assistance with the MCP directory API, please join our Discord server