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

@inite/cli

v0.1.2

Published

Local stdio MCP proxy + browser login for INITE — auto-authenticates and forwards tool calls to remote vertical MCP servers.

Readme

@inite/cli

Local MCP proxy + browser login for INITE. Runs as a stdio MCP server, forwards every tool call to a remote vertical MCP URL, and — the first time a call returns 401 — opens your browser, completes a PKCE + loopback OAuth flow, caches the JWT in ~/.config/inite/auth.json, and transparently retries.

Install

npx -y @inite/cli --help

No global install required for the typical Claude Desktop use-case.

Claude Desktop / Cursor / Goose config

{
  "mcpServers": {
    "inite-rent": {
      "command": "npx",
      "args": ["-y", "@inite/cli", "proxy", "https://inite.rent/mcp/inite-rent"]
    }
  }
}

Restart the desktop client. On the first tool call:

  1. The proxy POSTs the JSON-RPC to https://inite.rent/mcp/inite-rent.
  2. Remote returns 401.
  3. The proxy spawns a one-shot loopback listener, opens https://auth.inite.ai/v1/oauth/authorize?…&redirect_uri=http://127.0.0.1:<port>/callback&….
  4. You sign in (passkey / magic-link / password) and approve.
  5. Auth-service redirects to the loopback; the proxy captures the code, exchanges it at /v1/oauth/token, and caches the resulting JWT at ~/.config/inite/auth.json (mode 0600).
  6. The proxy retries the original tool call with Authorization: Bearer <jwt> and returns the result to the assistant.

Every subsequent call reuses the cached token. When the access_token expires the proxy auto-refreshes via refresh_token — only on full refresh failure does it pop the browser again.

Standalone subcommands

inite login            # browser PKCE login, cache token
inite logout           # delete the cached token
inite whoami           # decode the cached JWT
inite proxy <url>      # stdio MCP proxy (the headline mode above)

Token cache

~/.config/inite/auth.json
{
  "issuer":        "https://auth.inite.ai",
  "client_id":     "inite-cli",
  "access_token":  "eyJ…",
  "refresh_token": "…",
  "expires_at":    1779600000
}

Same file login.sh writes — the CLI and shell installer share state.

Env overrides

| Variable | Default | | ---------------------- | ------------------------- | | AUTH_SERVICE_URL | https://auth.inite.ai | | INITE_CLIENT_ID | inite-cli | | INITE_CONFIG_DIR | $HOME/.config/inite |

Override AUTH_SERVICE_URL for staging / on-prem.

Security model

  • PKCE S256 — no client secret, no risk to CLI-pinned credentials.
  • Loopback listener binds 127.0.0.1 only, single request, then closes.
  • Token file is chmod 600; directory is chmod 700.
  • Proxy never logs the bearer; the [inite] … lines on stderr only carry error messages and the remote URL.

How it differs from login.sh

| | login.sh | @inite/cli proxy | |---|---|---| | Run via | curl ⋯ | bash | npx -y @inite/cli (stdio MCP) | | Auth flow | PKCE+loopback (device-flow fallback) | PKCE+loopback | | Trigger | manual, before connecting clients | automatic on first 401 | | Token cache | same path | same path | | Refresh | on rerun | inline, transparent |

Use login.sh for terminal/CI; use the proxy for desktop assistants.