Unlocalhost runs on your own machine — the client starts it, so there is no endpoint to ping. 45 installs a week from npm. Last commit 26 Jul 2026.
Deploy localhost to a private, authenticated link from your AI coding agent.
We read the source, 4 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
async exec(command: string[]): Promise<CommandResult> {
USER root
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add unlocalhost -- npx -y @unlocalhost/unlocalhost
{
"mcpServers": {
"unlocalhost": {
"command": "npx",
"args": [
"-y",
"@unlocalhost/unlocalhost"
]
}
}
}
[mcp_servers.unlocalhost]
command = "npx"
args = ["-y", "@unlocalhost/unlocalhost"]
{
"mcpServers": {
"unlocalhost": {
"command": "npx",
"args": [
"-y",
"@unlocalhost/unlocalhost"
]
}
}
}
{
"servers": {
"unlocalhost": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@unlocalhost/unlocalhost"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
UNLOCALHOST_URL (Base URL of the unlocalhost instance to talk to. Defaults to the hosted instance. Set this to point the tools at your own self hosted deployment), UNLOCALHOST_TOKEN (API token. Normally written by the unlocalhost_login tool after you approve the device in a browser, so you should not need to set this by hand).
Agent-first hosting: create apps, push code, and deploy to HTTPS URLs from your coding agent.
Deploy local apps, add managed Postgres, and inspect logs from your AI coding agent.
Deploy a built website from your coding agent and share one client review link.
Create static websites and deploy HTML, CSS and JS to a live HTTPS link from your AI agent.
Deploy a site to its SFTP/FTP host from a coding agent. Changed files only, undo, live checks.
The place where your team's AI lives: deploy what your agent builds to a private, shareable link.
List, create and deploy your Prefab project templates from any MCP agent.
Operate ohmyho.st hosting from your coding agent: deploy GitHub apps, Postgres, mail, domains.
Answers built from our own checks of this server.