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

@innovaccer/mds-mcp

v4.20.0-mcp.6.646140d

Published

MCP server for the Masala Design System

Readme

@innovaccer/mds-mcp

MCP (Model Context Protocol) server for the Masala Design System. Enables AI coding tools (Cursor, Claude Code, Windsurf, OpenWebUI) to correctly use the design system's components, tokens, patterns, and examples.

Features

  • 14 tools: tokens, components, examples, patterns, helpers, usage, and code validation
  • 6 resources: tokens, CSS variables, helper classes, coding conventions, exports, types
  • Deterministic: no AI inside MCP, pure static lookup and regex-based validation
  • Dual transport: stdio (default, for Cursor/Claude) and HTTP (for OpenWebUI)

Install

npm install -g @innovaccer/mds-mcp

Usage

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "masala-design-system": {
      "command": "mds-mcp"
    }
  }
}

Claude Code

claude mcp add masala-design-system mds-mcp

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "masala-design-system": {
      "command": "mds-mcp"
    }
  }
}

HTTP (OpenWebUI / remote clients)

mds-mcp --http --port 3100

Endpoint: http://localhost:3100/mcp Health check: http://localhost:3100/mcp/health

Nginx deployment

All routes are mounted under a single base path (/mcp by default), so one nginx location block is sufficient:

location /mcp {
    proxy_pass http://127.0.0.1:3100/mcp;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
}

Use --base-path to change the mount point if needed:

mds-mcp --http --port 3100 --base-path /api/mcp

| Option | Env var | Default | Description | |--------|---------|---------|-------------| | --http | MCP_TRANSPORT=http | stdio | Use HTTP transport | | --port | MCP_PORT | 3100 | HTTP listen port | | --base-path | MCP_BASE_PATH | /mcp | Base path for all routes | | --manifest-path | MCP_MANIFEST_PATH | auto | Path to generated manifest |

Available Tools

| Tool | Description | |------|-------------| | ds_list_tokens | List design tokens by namespace | | ds_get_token | Get a specific token's details | | ds_search_tokens | Search tokens by name/value | | ds_list_components | List all components by category | | ds_get_component | Get component props, variants, a11y info | | ds_search_components | Search components by keyword | | ds_search_examples | Search usage examples | | ds_get_example | Get full example code | | ds_list_patterns | List UI patterns | | ds_get_pattern | Get pattern code and components | | ds_search_helpers | Search CSS helper/utility classes by keyword | | ds_validate_code | Validate code for DS compliance | | ds_get_usage | Get usage guidelines for a component | | ds_search_usage | Search usage guidelines by keyword |

Validation Rules

ds_validate_code checks for:

  • no-raw-html-controls: Flags <input>, <button>, <select>, <textarea> (use DS components)
  • no-hardcoded-colors: Flags hex/rgb values in color properties (use var(--token))
  • tokens-only: Flags hardcoded px/rem for sizing (use spacing tokens)
  • approved-imports: Flags imports from non-approved UI libraries
  • no-inline-style-layout: Flags inline style props for layout/spacing (use CSS helper classes)

Development

cd mcp

# Install dependencies
npm install

# Generate manifest from design system source
npm run generate

# Type check
npx tsc --noEmit

# Run tests
npm test

# Build
npm run build

# Run locally
node dist/cli.js