unlocalhost

v0.1.1
io.github.info-arnav/unlocalhost Checked 1 day ago Published 4 months ago

Deploy 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.

ParameterTypeDescription
repoFullName *stringThe 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.
branchstringBranch to deploy. Defaults to the repo default.
emailsarrayEmail addresses allowed to open the app. Everyone else is blocked.
envobjectEnvironment 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_share Share an app

Grant email addresses access to a deployed app.

ParameterTypeDescription
appId *stringThe app id returned by deploy or list.
emails *arrayEmail addresses to grant access to.

unlocalhost_unshare Revoke access to an app

Remove email addresses from an app allowlist. Takes effect immediately.

ParameterTypeDescription
appId *stringThe app id returned by deploy or list.
emails *arrayEmail addresses to revoke access from.

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.

ParameterTypeDescription
appId *stringThe app id returned by deploy or list.
linesnumberHow 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.