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

sigilum-opencode-setup

v1.0.0

Published

One-shot setup: registers the sigilum MCP in opencode (~/.config/opencode/opencode.json) with your token. Installs opencode if missing. Idempotent — re-running only refreshes the token.

Readme

sigilum-opencode-setup

One-shot setup that connects the sigilum MCP to opencode. It writes the MCP entry into ~/.config/opencode/opencode.json for you — no hand-editing JSON.

SIGILUM_TOKEN=viz_your_token npx -y sigilum-opencode-setup

Get your viz_… token from the web app → Sigils⚙ Connect agentGenerate token (shown once). The "Connect agent" panel also shows this exact command with your token already filled in.

What it does (Linux)

  1. Checks your token (from SIGILUM_TOKEN — legacy VISUALIZER_TOKEN also works — or --token viz_…).
  2. Checks opencode is installed. If not, it asks whether to install it; on yes it runs npm install -g opencode-ai, falling back to the official installer (curl -fsSL https://opencode.ai/install | bash) if that fails. On no, it stops.
  3. Idempotently adds the MCP under mcp.sigilum in ~/.config/opencode/opencode.json:
    • creates the file / the mcp object / the entry when missing;
    • if the entry already exists, only the token is refreshed — your command, enabled flag and any other fields stay exactly as they are.

The token is never printed. An existing opencode.json that isn't valid JSON is left untouched (the tool refuses to overwrite it).

The entry it writes:

{
  "mcp": {
    "sigilum": {
      "type": "local",
      "command": ["npx", "-y", "sigilum-mcp@latest"],
      "enabled": true,
      "environment": { "SIGILUM_TOKEN": "viz_your_token" }
    }
  }
}

Options & environment

  • SIGILUM_TOKEN (env) or --token viz_… / -t viz_… — your API token (required). Legacy VISUALIZER_TOKEN is honoured as a fallback.
  • SIGILUM_URL (env; legacy VISUALIZER_URL) — point the MCP at another deployment (e.g. http://127.0.0.1:3001 for local dev). Only applied when the entry is first created.
  • --yes / -y — auto-confirm the opencode install prompt (useful for unattended runs).
  • --uninstall / -u — remove the MCP instead of adding it (see below). No token needed.

Remove it later

npx -y sigilum-opencode-setup --uninstall

Idempotently checks ~/.config/opencode/opencode.json and removes the sigilum entry if it's there — running it again (or when the entry was never added) is a safe no-op. Doesn't touch opencode itself or any other MCP entries. Equivalent to deleting the sigilum block from ~/.config/opencode/opencode.json by hand.


This package only configures opencode. The MCP server itself is sigilum-mcp, which the entry above launches via npx.