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

gcmcp

v0.1.3

Published

Interactive MCP servers switcher for Gemini CLI (~/.gemini/settings.json)

Readme

gcmcp

Interactive CLI to toggle Gemini CLI (~/.gemini/settings.json) mcpServers on/off.

  • Disabled entries are not deleted, but moved to a sidecar JSON next to the settings file, e.g. ~/.gemini/settings.json.disabled.json, so you can re‑enable them anytime. This avoids conflicts when using multiple settings files.
  • ESM + TypeScript, single‑file bundle via tsup (no source map in package).

Requirements

  • Node.js >= 20

Install

Use via npx (once published):

npx gcmcp

Or run locally from source (see Development below).

Usage

Interactive toggle UI (default):

gcmcp                       # launch interactive checklist UI

Subcommands:

gcmcp ls                    # list enabled servers (use --all or --disabled)
gcmcp enable <id>           # move <id> from disabled list to enabled
gcmcp disable <id>          # move <id> from enabled to disabled list
gcmcp diff                  # show current enabled/disabled state
gcmcp diff --compose a,b    # preview changes if only a,b are enabled

Options:

  • --dry-run to show changes without writing files (supported by toggle/enable/disable).

Paths

  • Settings: ~/.gemini/settings.json (override with GEMINI_SETTINGS_PATH).
  • Disabled list: <settings path>.disabled.json (sidecar next to settings; JSON map of id -> definition).

Development

Install deps and build:

npm i
npm run build  # TypeScript -> single ESM at dist/index.js

Run locally:

node dist/index.js
node dist/index.js ls --all
node dist/index.js enable <id>
node dist/index.js disable <id>

Quality checks:

npm run typecheck   # TypeScript type checking (no emit)
npm run lint        # ESLint on .ts/.tsx
npm run validate    # typecheck + lint + tests

Tests (Vitest):

npm test

Publishing (npm)

WSL-friendly login options:

# 1) Device flow (no browser auto-open)
npm login --auth-type=web --browser=none

# 2) Legacy (if your org allows)
# npm login --auth-type=legacy

Or create a classic token on npmjs.com and use a per-project .npmrc:

cp .npmrc.example .npmrc
export NPM_TOKEN=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Pre-flight and publish:

npm run validate
npm version patch   # or minor / major
npm publish --access public

Notes:

  • prepack builds automatically; published files are limited to dist and README.md.
  • Engines require Node >= 20.

Notes

  • The tool never edits server definitions; it only moves entries between enabled (settings.json.mcpServers) and disabled (disabled.json).
  • A single backup is written as <settings path>.gcmcp.bak (overwritten each time).