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

@shalomormsby/mcp

v0.1.0

Published

Model Context Protocol server for Sage UI - discover and integrate components with AI assistants

Readme

@sage/mcp

Model Context Protocol server for Sage UI

Enable AI assistants like Claude Desktop, Cursor, and VS Code to browse, search, and install Sage UI components directly through natural language.

Features

  • 🔍 Browse all 48 components across 7 functional categories
  • 🔎 Semantic search by keywords, use cases, or functionality
  • 📖 Detailed component info including props, dependencies, and examples
  • 📦 Installation instructions with all required dependencies
  • 🤖 AI-native - Built specifically for LLM interaction

Installation

Quick Start

pnpm add -D @sage/mcp
# or
npm install --save-dev @sage/mcp
# or
yarn add -D @sage/mcp

MCP Client Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "sds": {
      "command": "npx",
      "args": ["@sage/mcp"]
    }
  }
}

Restart Claude Desktop to activate.

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "sds": {
      "command": "npx",
      "args": ["@sage/mcp"]
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "sds": {
      "command": "npx",
      "args": ["@sage/mcp"]
    }
  }
}

Available Tools

The MCP server provides four tools for AI interaction:

1. list_components

List all available components, optionally filtered by category.

Parameters:

  • category (optional): Filter by actions, forms, navigation, overlays, feedback, data-display, or layout

Example AI prompts:

  • "Show me all Sage UI components"
  • "List all form components"
  • "What overlay components are available?"

2. search_components

Search for components by keywords, descriptions, or use cases.

Parameters:

  • query (required): Search term

Example AI prompts:

  • "Find components for date selection"
  • "Search for dropdown components"
  • "Show me components for displaying user profiles"

3. get_component

Get detailed information about a specific component.

Parameters:

  • name (required): Component name (case-insensitive, accepts PascalCase or kebab-case)

Example AI prompts:

  • "Tell me about the Button component"
  • "What props does the DataTable have?"
  • "Show me details for the date-picker"

4. install_component

Get installation instructions for a component.

Parameters:

  • name (required): Component name to install

Example AI prompts:

  • "Install the Dialog component"
  • "How do I add the DataTable to my project?"
  • "Show me how to install the ComboBox"

Component Categories

The Sage UI organizes components functionally (not atomically):

  • Actions (3) - Interactive elements that trigger behaviors
  • Forms (11) - Input controls for data collection
  • Navigation (6) - Moving through content and hierarchy
  • Overlays (9) - Contextual content above the main UI
  • Feedback (5) - System state communication
  • Data Display (6) - Presenting information visually
  • Layout (8) - Spatial organization

Usage Examples

Once configured, you can interact with the server through your AI assistant:

Browse Components

"Show me all components in the Sage UI"

The AI will use list_components to display all 48 components organized by category.

Search for Specific Functionality

"I need a component for selecting dates"

The AI will use search_components with query "date" and find:

  • Calendar
  • DatePicker

Get Component Details

"Tell me about the Button component"

The AI will use get_component to show:

  • Description
  • Use cases
  • Dependencies
  • Import statements
  • Documentation link

Install a Component

"Add the Dialog component to my project"

The AI will use install_component to provide:

  • Package installation commands
  • Peer dependency requirements
  • Import examples
  • Usage code

Architecture

The MCP server consists of:

  1. Component Registry (src/registry.ts) - Metadata for all 48 @sage/ui components
  2. MCP Server (src/index.ts) - Model Context Protocol implementation
  3. Tool Handlers - Four tools for listing, searching, viewing, and installing

All data is statically defined - no network requests or external dependencies required.

Development

Build

pnpm build

Test Locally

pnpm start

The server runs in stdio mode, communicating via stdin/stdout per the MCP specification.

Documentation

  • Full Documentation: https://ui.shalomormsby.com/
  • GitHub: https://github.com/shalomormsby/ecosystem
  • MCP Specification: https://modelcontextprotocol.io/

Support

For issues or questions:

  • GitHub Issues: https://github.com/shalomormsby/ecosystem/issues
  • Documentation: https://ui.shalomormsby.com/#mcp-server

License

MIT © Shalom Ormsby


Part of the Sage UI - Build lovable products at AI speed.