npx -y @sharnix/agent@1.0.2
The problem
Sharnix only lived in the repo — you couldn't install it with one command, and every restart gave you a new random preview URL to re-send.
What we did
We published @sharnix/agent and @sharnix/mcp-server on npm. Each project folder gets a stable preview link that survives restarts, and AI tools can create share links through MCP.
What you can do now
From any project: npx @sharnix/agent --port 3000 --share. Same folder, same link next time. Add the MCP server to Cursor or Claude to manage tunnels without leaving your editor.
View technical details
- Published
@sharnix/agentand@sharnix/mcp-serverto npm under the@sharnixscope. - Agent CLI accepts
--port,--label,--nameflags. Credentials are auto-provisioned on first run. - Stable tunnel ID per working directory, so the same project keeps the same URL when the agent reconnects.
- MCP server exposes:
list_tunnels,get_tunnel,create_share_link,revoke_link,claim_subdomain,get_link_stats,list_orgs.