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

@getmagical/cli

v0.1.13

Published

Magical CLI for shared MCP operations

Readme

@getmagical/cli

Magical CLI for the shared MCP operation surface.

Rules

  • Shared operational commands come from packages/mcp-registry.
  • Do not add shared commands directly in this package or in services/mcp/operations.

Usage

mgcl --version
mgcl update
mgcl auth login
mgcl settings env base-url http://main.localhost:1355
mgcl org list
mgcl automations list --limit 10
mgcl automations update --id ... --input-json ...
mgcl automation-runs list --automation-id ...
mgcl automations run-draft --draft-automation-id ... --agent-id ... --idempotency-key ...

Local Development

Run the CLI from source without building:

npm run cli -- --help

Production installs use the bundled WorkOS client ID by default. To persist a local or staging API target, set:

mgcl settings env base-url http://main.localhost:1355
mgcl auth login

When a persisted base URL override is present, mgcl auth login uses the bundled staging/dev WorkOS client ID automatically. Changing or resetting the override clears saved auth so you can log into the correct environment again.

To remove the override and return to defaults:

mgcl settings env base-url --reset

Install Script

Host install-mgcl.sh in the S3 bucket for CLI install, then users can install with a single command:

curl -fsSL https://cli.getmagical.io/install.sh | bash
curl -fsSL https://cli.getmagical.io/install.sh | bash -s -- --uninstall

The installer uses a user-local npm prefix, so it does not require sudo. It installs a managed Node.js runtime, then installs @getmagical/cli from npm into a user-local prefix. It creates mgcl and magical wrappers and defaults to the npm latest tag. If the requested version is already present, the installer skips the reinstall.

Once installed, users can update from the same channel with:

mgcl --update

Installed CLIs also check the configured npm dist-tag before running subcommands. If the local version is behind, mgcl blocks the command and asks the user to run mgcl update before rerunning it.

To remove the managed install:

curl -fsSL https://cli.getmagical.io/install.sh | bash -s -- --uninstall