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

@trusty-squire/mcp

v1.0.43

Published

Trusty Squire signs up / in to websites for you so you don’t have to.

Readme

Try asking your coding agent:

  • “Sign me up for Resend and save the API key.”
  • “Sign in to Sentry and configure the webhook.”
  • “Set up Resend, Sentry, PostHog, and Postgres for this app.”
  • “Add Google OAuth to my app without showing me the client secret.”
  • “Let my deployed app call OpenAI without giving it the OpenAI key.”
  • “That app token leaked — revoke its access now.”

Trusty Squire is an MCP server for Claude Code, Cursor, Codex, and other coding agents. It opens the real website, completes the signup or sign-in flow, handles the setup behind the login, and stores generated credentials in the vault instead of returning them through credential tools or writing them to source code or an .env file.

Install

npx @trusty-squire/mcp@latest connect

connect signs you in with Google or GitHub, detects your coding agent, and writes its MCP configuration. Restart the agent, then ask it to do one of the jobs above.

To choose an agent explicitly:

npx @trusty-squire/mcp@latest connect --target=codex

Supported targets: claude-code, cursor, codex, goose, cline, continue, and hermes.

What happens when you ask

  1. Your coding agent tells Trusty Squire which website and task you asked for.
  2. Trusty Squire opens a real browser session and works through the site one step at a time. It can use your existing Google or GitHub session when you choose that option.
  3. If the site creates an API key or client secret, Trusty Squire stores it directly in your vault. The credential extraction result does not return the raw value.
  4. Your agent can use the saved credential through Trusty Squire, or give your app a scoped, rate-limited token that you can revoke without rotating the underlying key.

Successful website flows can be saved and replayed, so the next run does not have to rediscover every click.

How secrets are handled

  • Credential tools do not return stored values or write them to source code, .env files, or the consuming app. Browser screenshots and diagnostic captures can contain whatever was visible on the page, so treat those diagnostics as sensitive.
  • When an API call needs a credential, Trusty Squire injects it into the request on the server side. The API provider receives its credential; the caller does not.
  • A deployed app receives a scoped Trusty Squire token instead of the provider key. Access can be rate-limited, audited, and revoked.
  • Trusty Squire does not type your Google or GitHub password. You sign in in a real browser, and the browser keeps that session.
  • If a site needs a decision or action that should be yours, the run stops and asks you instead of guessing.

MCP tools

  • operate_start, operate_observe, and operate_act open a website, read the page, and act one step at a time.
  • operate_extract captures a credential from the current page into a sealed slot or stores it in the vault.
  • operate_remember and operate_use save and replay a successful website flow.
  • list_credentials and use_credential find saved credentials and make authenticated API calls without returning their raw values.
  • grant_app_access and revoke_app_access give an app scoped access and take it away.
  • audit_log shows credential activity without exposing credential values.

Development

git clone https://github.com/Trusty-Squire/trusty-squire.git
cd trusty-squire
./scripts/bootstrap.sh

After bootstrap, pnpm typecheck and pnpm test should pass. Stop the local services with docker compose -f docker-compose.dev.yml down; add -v to reset their data.

Requirements: Node 20.11.0 (.nvmrc), pnpm 8.15+, Docker, and Docker Compose.

Product language and public-web changes should follow PRODUCT.md and DESIGN.md.

Repository structure

trusty-squire/
├── apps/
│   ├── api/        Accounts, OAuth, machine tokens, proxy, inbox, vault, and billing
│   ├── mcp/        The MCP server coding agents install; browser and credential tools
│   ├── registry/   Signed, replayable website skills and their verification service
│   └── web/        Public site and vault UI
└── packages/
    ├── vault/        Encrypted credential storage and audit log
    ├── inbox/        Email verification code and link extraction
    └── skill-schema/ Shared schema for replayable website skills

See docs/ARCHITECTURE.md for the architecture and security model.

License

MIT © Trusty Squire