localtunnel
$ lt Community High Risklocaltunnel (lt) is a Node.js CLI that creates a temporary public HTTPS URL forwarding requests to a local HTTP server (lt --port 3000 --subdomain myapp). Useful for quick webhook testing without signup, though the public relay requires an IP verification password page for browser visitors.
npm install -g localtunnel Forwards remote HTTP traffic over persistent sockets to a local web server (lt --port); MCP servers cannot expose local dev servers publicly.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Simple CLI flags without interactive prompts, but blocks indefinitely, prints plain-text URLs only, and depends on a sometimes flaky public relay.
- Non-interactive flags (
--port,--subdomain) - Plain-text stdout (
your url is: ...); no JSON output
Exposes local HTTP ports on a public URL without user auth; relies on a loca.lt IP-check splash screen that breaks automated webhook/browser hits unless bypassed.
- Publicly exposes localhost HTTP endpoints
- No credential files stored locally
Available anywhere Node.js is installed via npm install -g localtunnel or npx localtunnel.
- Cross-platform npm/npx package
Quick zero-account HTTPS tunnel, though public relay uptime and interstitial page limit reliability compared to cloudflared or zrok.
- Requires
bypass-tunnel-reminderheader or IP password for many requests
Community repository (localtunnel/localtunnel) under MIT with minimal recent maintenance.
- Infrequent upstream commits in
localtunnel/localtunnel
Minimal README and lt --help cover the small option set.
- README and
lt --help
Security, Auth & Guardrails
No local credentials stored; connects to localtunnel.me or a custom --host server.
Free, MIT-licensed npm package and free public localtunnel.me relay.
# localtunnel Agent Rules - Never run `lt --port` without user approval, as it immediately makes the local HTTP service reachable from the public internet. - Remember that `loca.lt` shows an abuse-prevention splash page to browsers unless the caller sends `bypass-tunnel-reminder` or enters the tunnel IP.
Agent-Ready Command Recipes
Safe Read-Only Queries
lt --help
Displays --port, --subdomain, --local-host, --host, and --print-requests options.
Controlled Writes & Previews
lt --port 3000 --subdomain myapp
Opens a public https://myapp.loca.lt tunnel forwarding HTTP requests to localhost:3000.
Strengths for Agents
- + Zero-account
npx localtunnel --port 3000works immediately in Node.js environments. - + Supports
--print-requeststo log incoming tunneled HTTP hits in the terminal.
Caveats & Pitfalls
- ! Public
loca.ltrelay can be unstable and injects an IP-password splash page for browser requests. - ! Upstream project maintenance is minimal compared to
cloudflaredorngrok.