Deploy localhost to a private, authenticated link from your AI coding agent.
Connect Runs on your machine
claude mcp add unlocalhost -e UNLOCALHOST_URL=<UNLOCALHOST_URL> -e UNLOCALHOST_TOKEN=<UNLOCALHOST_TOKEN> -- npx -y @unlocalhost/[email protected]
{
"mcpServers": {
"unlocalhost": {
"command": "npx",
"args": [
"-y",
"@unlocalhost/[email protected]"
],
"env": {
"UNLOCALHOST_URL": "<UNLOCALHOST_URL>",
"UNLOCALHOST_TOKEN": "<UNLOCALHOST_TOKEN>"
}
}
}
}
{
"mcpServers": {
"unlocalhost": {
"command": "npx",
"args": [
"-y",
"@unlocalhost/[email protected]"
],
"env": {
"UNLOCALHOST_URL": "<UNLOCALHOST_URL>",
"UNLOCALHOST_TOKEN": "<UNLOCALHOST_TOKEN>"
}
}
}
}
{
"servers": {
"unlocalhost": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@unlocalhost/[email protected]"
],
"env": {
"UNLOCALHOST_URL": "<UNLOCALHOST_URL>",
"UNLOCALHOST_TOKEN": "<UNLOCALHOST_TOKEN>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
UNLOCALHOST_URLOptional | 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_TOKENOptional, secret | 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. |
Details
| Package | @unlocalhost/[email protected] (NPM, stdio) |
| First published | 26 Jul 2026 |
| Last updated | 26 Jul 2026 |
| Registry name | io.github.info-arnav/unlocalhost |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
