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

@cailab/mcp

v1.0.13

Published

Official CAI Model Context Protocol server — proxies Supabase Edge tools from cai-tools.manifest.json

Readme

@cailab/mcp

Official Model Context Protocol server for CAI.com: exposes one MCP tool per entry in app/specs/cai-tools.manifest.json and forwards calls to Supabase Edge Functions.

Human-readable policy and workflows: https://cai.com/skill.md.

Requirements

  • Node.js 18+
  • CAI project Supabase URL + anon key
  • CAI User API key (Dashboard) or OAuth access token with appropriate scopes

Install

From the monorepo:

cd packages/cai-mcp && npm install

Or after publish:

npm install -g @cailab/mcp

Environment

| Variable | Required | Description | |----------|----------|-------------| | CAI_SUPABASE_URL or SUPABASE_URL | yes | https://xxx.supabase.co | | CAI_SUPABASE_ANON_KEY or SUPABASE_ANON_KEY | yes | Supabase anon key (apikey header) | | CAI_API_KEY | usually yes | User API key or OAuth access token (Authorization) | | CAI_USER_JWT | optional | Overrides Bearer for api_key_mail tools (mail / send-email); else use CAI_API_KEY with scope mail or full | | CAI_TOOLS_MANIFEST | optional | Path to manifest JSON (default: repo app/specs/cai-tools.manifest.json) |

Security: Never commit keys. Configure secrets in your MCP host (Cursor, Claude Desktop, OpenClaw).

Staging vs production

  • CAI_SUPABASE_URL / CAI_SUPABASE_ANON_KEY determine which project receives every tool call. For internal testing, point them at a staging Supabase project; do not mix staging URLs with a production API key (or vice versa).
  • Serve the same static paths as app/ on your staging host (/.well-known/agent.json, /specs/cai-tools.manifest.json, /skill.md, /developers.html). Use app/.well-known/agent.staging.example.json as a template for staging Agent Card URLs.
  • Runbook: docs/agent/STAGING_ENV_WORKFLOW.md · STAGING_MCP_PRELAUNCH_RUNBOOK.md · static check: STAGING_ORIGIN=https://… bash scripts/staging-static-assets-check.sh

OpenClaw

  1. openclaw secrets set CAI_API_KEY "…" (staging key from Dashboard; never paste into chat).
  2. Register this server in OpenClaw MCP config with the same env as below (staging Supabase URL + anon key).
  3. Point the CAI skill at https://<your-staging-host>/skill.md until sign-off.
  4. Confirm with openclaw mcp list, then a read-only call (e.g. get_identity or get_exchange_rate).

Cursor / Claude Desktop

Add to MCP config (stdio):

{
  "mcpServers": {
    "cai": {
      "command": "node",
      "args": ["/absolute/path/to/cai/packages/cai-mcp/src/index.js"],
      "env": {
        "CAI_SUPABASE_URL": "https://YOUR.supabase.co",
        "CAI_SUPABASE_ANON_KEY": "eyJ...",
        "CAI_API_KEY": "cai_..."
      }
    }
  }
}

Tool args

Each tool accepts:

  • query — object → URL search params (for GET / some DELETE)
  • body — object → JSON body (POST / PUT / PATCH / DELETE)

GAP / partial_live

Tools aligned with docs/agent/API_GAP_REGISTRY.md include gap_id in the MCP description. Treat responses with gap_id or non-200 as honest limits, not bugs.

OAuth authorize

oauth_authorize is browser-only; the MCP tool returns an error explaining to complete OAuth in a browser per skill.md.

Smoke

cd packages/cai-mcp && node scripts/smoke-list-tools.mjs

Verifies the manifest loads and lists registered tool names (no network).