unlocalhost
v0.1.1Deploy localhost to a private, authenticated link from your AI coding agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
unlocalhost_login Sign in to unlocalhost
Start a one-time browser sign-in. Show the user the returned URL and code, then wait — this tool blocks until they approve.
unlocalhost_deploy Deploy a repository
Deploy a GitHub repository and get a private URL. IMPORTANT: before calling this, you must yourself create a GitHub repository and push the code using the user's own git credentials, and make sure .env is listed in .gitignore. Pass any .env values through the env argument instead of committing them. STORAGE: the deployed app gets a persistent disk at /app/data and an env var DATABASE_PATH set to /app/data/app.db. If the app stores data, use SQLite at process.env.DATABASE_PATH. There is no managed Postgres or MySQL, and anything written outside /app/data is lost on the next deploy.
| Parameter | Type | Description |
|---|---|---|
repoFullName * | string | The GitHub repository you just pushed, as owner/repo. You must create and push this repository yourself using the user's own git credentials before calling this tool. |
branch | string | Branch to deploy. Defaults to the repo default. |
emails | array | Email addresses allowed to open the app. Everyone else is blocked. |
env | object | Environment variables from the local .env file. Pass them here — never commit .env to the repository. |
unlocalhost_list List deployed apps
List the apps this user has deployed, with URLs and status.
unlocalhost_logs Read app logs
Fetch runtime and build logs for an app. Use this to diagnose a failed deploy, then fix the code and deploy again.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app id returned by deploy or list. |
lines | number | How many log lines to return. Default 200. |
unlocalhost_status unlocalhost status
Report which unlocalhost instance this MCP is pointed at and whether it is signed in.