npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lobsterline/agent

v0.1.0

Published

LobsterLine agent — runs on your host, opens a persistent WS to the relay, forwards MCP traffic to the local @lobsterline/mcp server. The bridge that makes any user-controlled machine a LobsterLine backend.

Readme

@lobsterline/agent

Runs on your host machine. Opens a persistent outbound WebSocket to the LobsterLine relay; spawns and manages a local @lobsterline/mcp child process; tunnels MCP HTTP traffic between the two.

The agent is what makes any user-controlled machine — Mac, Linux box, VPS, container — a LobsterLine backend. No inbound network access required on the host.

Run

You first register a backend in the dashboard and copy the printed agent token (lla_...). Then on the host:

LOBSTERLINE_AGENT_TOKEN=lla_... \
LOBSTERLINE_RELAY_URL=wss://relay.lobsterline.app/agent \
npx @lobsterline/agent

Or via launchd / systemd / Windows service for permanence — the agent reconnects with exponential backoff on disconnect, and auto-restarts the MCP child if it crashes.

Local development

Point at the dev relay running on localhost:

LOBSTERLINE_AGENT_TOKEN=lla_dev_agent_smoke \
LOBSTERLINE_RELAY_URL=ws://127.0.0.1:18792/agent \
npm run dev --workspace=@lobsterline/agent

(With matching DEV_AGENT_TOKEN=lla_dev_agent_smoke on the relay so the dev token is accepted.)

Env

| Var | Required? | Default | Purpose | |---|---|---|---| | LOBSTERLINE_AGENT_TOKEN | yes | — | Per-machine token from the dashboard. Lives in env / launchd plist. | | LOBSTERLINE_RELAY_URL | no | wss://relay.lobsterline.app/agent | Override for self-hosted relay or local dev | | LOBSTERLINE_MCP_PORT | no | 18791 | Loopback port the MCP child binds to | | PING_INTERVAL_MS | no | 30000 | WS ping cadence |

What the agent is NOT

  • Not a daemon manager — use launchd / systemd / pm2 for keep-alive across reboots.
  • Not aware of MCP semantics — it tunnels HTTP-over-WS frames. Tier classification, destructive-command holds, scrollback — all of that is in @lobsterline/mcp.
  • Not multi-process — one agent per host. (One MCP child. One relay connection.) If you want to attach multiple hosts, run one agent on each.

Trust posture

  • Agent connects out only — host never opens an inbound port.
  • Agent token is long-lived but revocable from the dashboard. Revoke = the relay refuses the next reconnect; in-flight requests fail.
  • The MCP child binds 127.0.0.1 only and accepts no auth from local connections — the agent is the only thing talking to it.
  • Compromise of the host: attacker has shell already, no point routing through MCP. Compromise of the agent token: attacker can run safe/moderate commands; destructive commands still hold for explicit confirmation surfaced to whoever has a connected client.