unlocalhost for Cursor
io.github.info-arnav/unlocalhost
Deploy localhost to a private, authenticated link from your AI coding agent.
client:Cursor
transport:stdio
runtime:npm
Install unlocalhost in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"unlocalhost": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@unlocalhost/unlocalhost"
],
"env": {
"UNLOCALHOST_URL": "<UNLOCALHOST_URL>",
"UNLOCALHOST_TOKEN": "<UNLOCALHOST_TOKEN>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs