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

@aaspaiui/mcp

v1.0.3

Published

Official Model Context Protocol (MCP) server for AASPAI UI component discovery

Readme

@aaspaiui/mcp

Official Model Context Protocol (MCP) server for AASPAI UI.

Installation

Using npx (Recommended)

The easiest way to use this MCP server is via npx:

npx -y @aaspaiui/mcp@latest

Install MCP Configuration

Add to your IDE's MCP config:

For Cursor:

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

For Claude Desktop:

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

For Windsurf:

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

Example Usage

Once configured, you can ask questions like:

"List all available UI components"

"Show me components in the Form category"

"Get the code for the button component"

"What categories are available?"

Available Tools

The server provides the following tools callable via MCP:

| Tool Name | Description | | ------------------------ | ---------------------------------------------------------------------------------------- | | list_components | Lists all available UI components with optional filtering by category, search, and limit | | get_categories | Get all available component categories | | get_component_code | Get metadata and source code information for a specific component | | get_component_variants | Get available variants for a specific component |

Tool Details

list_components

Lists all available UI components with optional filtering.

Parameters:

  • category (optional): Filter by category (e.g., "Form", "Display", "Navigation")
  • search (optional): Search components by name, category, or subcategory
  • limit (optional): Maximum number of components to return (default: 50, max: 100)

Example:

{
  "name": "list_components",
  "arguments": {
    "category": "Form",
    "limit": 10
  }
}

get_categories

Get all available component categories.

Parameters: None

Example:

{
  "name": "get_categories",
  "arguments": {}
}

get_component_code

Get metadata and source code information for a specific component.

Parameters:

  • componentName (required): Name of the component (e.g., "button", "card")

Example:

{
  "name": "get_component_code",
  "arguments": {
    "componentName": "button"
  }
}

get_component_variants

Get available variants for a specific component.

Parameters:

  • componentName (required): Name of the component

Example:

{
  "name": "get_component_variants",
  "arguments": {
    "componentName": "button"
  }
}

Component Registry

The server reads component information from a bundled components.json file, which contains:

  • Component metadata (name, category, subcategory)
  • Dependencies (npm packages required)
  • Registry dependencies (other components required)
  • File information and content (when available)

Development

Building from Source

cd mcp-server
npm install
npm run build

Project Structure

mcp-server/
├── src/
│   ├── index.ts              # Entry point
│   ├── server.ts             # MCP server setup
│   ├── types.ts              # TypeScript interfaces
│   ├── services/
│   │   └── registry-service.ts  # Component registry service
│   ├── tools/
│   │   ├── list-components.ts
│   │   ├── get-categories.ts
│   │   ├── get-component-code.ts
│   │   └── get-component-variants.ts
│   └── utils/
│       └── paths.ts          # Path resolution utilities
├── scripts/
│   └── copy-components-json.js  # Script to bundle components.json
├── dist/                     # Compiled output
├── components.json          # Bundled component registry
├── package.json
├── tsconfig.json
└── README.md

License

MIT