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

@nectary/mcp

v1.2.0

Published

MCP server that exposes the Nectary (sinch-*) web component design library to AI agents

Readme

@nectary/mcp

MCP (Model Context Protocol) server that exposes the Nectary design library (sinch-* web components) to AI agents. Component reference data is resolved at runtime from @nectary/kb — this package ships only the MCP server.

Prerequisites

  • Node ^18.19.0 or >=20.5.0

@nectary/kb is installed automatically as a dependency — you do not add it separately.

Installation

@nectary/mcp is published to npm. For Cursor and other MCP clients, you typically do not add it to your app's package.json — the client spawns it via npx.

Recommended: npx (no install)

npx -y @nectary/mcp

Pin latest explicitly (same as unpinned, but fixed to the dist-tag):

npx -y @nectary/mcp@latest

Global install (optional)

npm install -g @nectary/mcp
nectary-mcp

Cursor MCP configuration

Open Cursor Settings → Features → MCP (or edit your MCP config file directly).

Published package (recommended):

{
  "mcpServers": {
    "nectary-design-system": {
      "command": "npx",
      "args": ["-y", "@nectary/mcp"]
    }
  }
}

Explicit latest tag:

{
  "mcpServers": {
    "nectary-design-system": {
      "command": "npx",
      "args": ["-y", "@nectary/mcp@latest"]
    }
  }
}

Pin an exact version (for reproducible setups):

{
  "mcpServers": {
    "nectary-design-system": {
      "command": "npx",
      "args": ["-y", "@nectary/[email protected]"]
    }
  }
}

Local development:

{
  "mcpServers": {
    "nectary-design-system": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/nectary-mcp/dist/index.js"]
    }
  }
}

After saving, reload MCP servers in Cursor. The agent will see nectary-design-system and its resources, tools, and prompts.

What the agent can do

  • Resources

    • design-system://tokens — design tokens from @nectary/kb
    • design-system://components/list — primitive registry (tagName + description)
    • design-system://components/{component-name} — per-component markdown from KB (e.g. sinch-button)
    • design-system://skills/catalog — Nectary agent skills manifest (internal-skills install)
  • Tools

    • search_components — search by intent or tag name
    • get_component_snippet — HTML/JS starter generated from KB component records (props and events); use design-system://components/{name} for full docs and examples
    • validate_markup — validate sinch-* attributes against KB mcpSchemaAttrs
    • get_skill_install_commands — sparse-clone internal-skills and symlink skills into Cursor or Claude Code
  • Prompts

    • scaffold_ui — build a UI from requirements using only documented sinch-* components
    • scaffold_compositions — build a React UI from requirements using Nectary compositions (@nectary/cli) plus primitives where needed

Development

From a clone of this repository:

pnpm install
pnpm run build
pnpm run start

Architecture

  • @nectary/kb is the single source of truth for catalog, tokens, component JSON, and markdown docs.
  • src/kb.ts resolves KB artifacts via Node module resolution (@nectary/kb/catalog, @nectary/kb/tokens, dist/components/*.json, dist/md/*.md).
  • No bundled data/ directory — the published MCP package is a thin server over KB.