Unlocalhost MCP Server
by info-arnavio.github.info-arnav/unlocalhostv0.1.1
Deploy localhost to a private, authenticated link from your AI coding agent.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Unlocalhost MCP server
Install in Claude Code
claude mcp add unlocalhost -e UNLOCALHOST_TOKEN='<unlocalhost-token>' -- npx -y @unlocalhost/unlocalhostInstall in Cursor
{
"mcpServers": {
"unlocalhost": {
"command": "npx",
"args": [
"-y",
"@unlocalhost/unlocalhost"
],
"env": {
"UNLOCALHOST_TOKEN": "<unlocalhost-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"unlocalhost": {
"command": "npx",
"args": [
"-y",
"@unlocalhost/unlocalhost"
],
"env": {
"UNLOCALHOST_TOKEN": "<unlocalhost-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"unlocalhost": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@unlocalhost/unlocalhost"
],
"env": {
"UNLOCALHOST_TOKEN": "<unlocalhost-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"unlocalhost": {
"command": "npx",
"args": [
"-y",
"@unlocalhost/unlocalhost"
],
"env": {
"UNLOCALHOST_TOKEN": "<unlocalhost-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| 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 | — | yes | 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. |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-26 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-26 · 3mo ago · official registry · v0.1.1
FAQ
›How do I install the Unlocalhost MCP server in Claude Code?
Run: claude mcp add unlocalhost -e UNLOCALHOST_TOKEN='<unlocalhost-token>' -- npx -y @unlocalhost/unlocalhost. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Unlocalhost require an API key?
Yes. It expects UNLOCALHOST_TOKEN, of which 1 is a secret.
›Can I use Unlocalhost as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Unlocalhost in the official MCP registry?
Yes, as io.github.info-arnav/unlocalhost.