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

visuality-mcp

v0.2.1

Published

The **setup MCP** for [Visuality](../../README.md) — an [MCP](https://modelcontextprotocol.io) server a coding agent connects to in order to add EU-hosted video calling to the user's app. It provisions a project against the control plane and scaffolds a `

Readme

visuality-mcp

The setup MCP for Visuality — an MCP server a coding agent connects to in order to add EU-hosted video calling to the user's app. It provisions a project against the control plane and scaffolds a <VideoRoom> page + a server-only token route into the repo. It doubles as our QA tool (create_project → scaffold_embed → verify_project → delete_project).

Run

VISUALITY_API_URL=https://preprod-api.vt.rocklabs.co.uk   # the control-plane management API (https://)
VISUALITY_ACCOUNT_TOKEN=vt_at_...                        # an org account token (mint at https://preprod-app.vt.rocklabs.co.uk)
npx -y visuality-mcp                                     # speaks MCP over stdio

The agent learns the ordered setup sequence from the server's instructions; every tool call is guarded (auth + scope + spend cap + rate limit) before it runs.

Tools

  • Provision: create_project, delete_project, rotate_secret, create_key, revoke_key, scaffold_embed.
  • Read: get_api_keys, get_usage, get_plan, get_connection, list_projects, verify_project (exercises the token-mint path server-side, so a project that would 500 on mint reads not ready — it isn't just a key-presence check).

scaffold_embed returns the files for the agent to write (a <VideoRoom> page importing visuality-embed, and a token route importing createToken from visuality-embed/server). It takes an optional room template (one_to_one | group (default) | recording) that's baked into the token route. The scaffolded route is a starting point: it's unauthenticated and fails closed in production (403 unless VISUALITY_ALLOW_UNAUTH_TOKENS is set) — gate it behind your own auth before shipping.

Key rotation

rotate_secret swaps a project's keys atomically: it revokes every existing key the moment the new pair is issued, so a deployed app still using the old publishable key starts failing at once. For zero-downtime rotation, use the overlapping-key flow instead: create_key(projectId) issues an additional active pair alongside the current one (up to 2 active keys per project) → deploy the new publishableKey → revoke_key(projectId, publishableKey) the old one once traffic has moved over. revoke_key refuses to revoke a project's last active key.

The generated token route reads VISUALITY_SECRET_KEY (required) and optionally VISUALITY_TOKEN_ENDPOINT to point at a different control-plane stage; when the secret is unset it returns 503 video_unconfigured rather than erroring.

Versioning & compatibility

visuality-mcp and visuality-embed are versioned in lockstep for now: the scaffold emits imports (visuality-embed, visuality-embed/server) that must exist in the embed release the app installs. Install the same version of both (e.g. [email protected] with [email protected]); a mismatch may scaffold imports the embed package doesn't expose. See CHANGELOG.md for what changed.