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

@sr-labs/agentmail-ui

v0.3.1

Published

Localhost proxy that adds a bearer token so an MCP Agent Mail web UI can be browsed without exposing the token.

Readme

@sr-labs/agentmail-ui

agentmail-ui --url <server> serves an MCP Agent Mail web UI on http://localhost:8766, adding Authorization: Bearer $AGENTMAIL_TOKEN to every request. Browsers can't send that header themselves, and passing the token as ?token= leaves it in history and drops it on plain links. The proxy keeps the token out of the browser entirely.

echo 'AGENTMAIL_TOKEN=<token>' >> .env          # keep .env gitignored
agentmail-ui --url https://agentmail.example.com  # or: devkit agentmail --url ...
# open http://localhost:8766/mail

| Flag | Env | Default | Meaning | | ------------ | ----------------- | ------- | --------------------------------------------- | | --url | AGENTMAIL_URL | - | Agent Mail server origin (required) | | --port | AGENTMAIL_PORT | 8766 | Local port | | --path | - | /mail | Start page printed on launch | | --env-file | - | .env | Env file loaded if present (does not override the environment) | | - | AGENTMAIL_TOKEN | - | Bearer token (required; env only, never a flag, to keep it out of shell history) |

The server binds to 127.0.0.1 only: anyone who can reach the proxy gets the token's access. Redirects to the upstream origin are rewritten to stay on the proxy. createProxy({ upstream, token }) is exported for embedding. See the devkit README.

Not using the umbrella package? npx @sr-labs/devkit setup agentmail walks you through setting this one up.