unlocalhost for Gemini CLI
io.github.info-arnav/unlocalhost
Deploy localhost to a private, authenticated link from your AI coding agent.
client:Gemini CLI
transport:stdio
runtime:npm
Install unlocalhost in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"unlocalhost": {
"command": "npx",
"args": [
"-y",
"@unlocalhost/unlocalhost"
],
"env": {
"UNLOCALHOST_URL": "<UNLOCALHOST_URL>",
"UNLOCALHOST_TOKEN": "<UNLOCALHOST_TOKEN>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs