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

@iflow-mcp/southleft-catalog-mcp

v0.1.1

Published

A2UI Catalog MCP Server - Provides component intelligence for AI agents

Readme

A2UI Catalog MCP Server

An MCP (Model Context Protocol) server that provides component intelligence for AI agents building user interfaces with A2UI.

What is This?

This is a Catalog MCP - a reusable server that teaches AI agents about available UI components. It implements the "Truth Contract" pattern, telling agents what components exist and how to use them correctly.

Tools

The server exposes 4 tools:

list_components

Lists all available A2UI components, optionally filtered by category.

{
  "category": "Form Inputs"  // Optional: Layout, Typography, Form Inputs, Feedback, Navigation, Overlays, Data Display, Media
}

get_component_schema

Gets detailed schema, props, and examples for a specific component.

{
  "component": "Button"  // Required: component name
}

get_layout_patterns

Gets pre-built layout patterns for common UI needs.

{
  "intent": "login"  // Optional: contact, login, dashboard, task, product, settings, wizard
}

validate_a2ui

Validates A2UI JSON against the component schema.

{
  "json": "{\"id\": \"btn1\", \"component\": {\"Button\": {\"child\": \"label\"}}}"
}

Resources

The server also exposes the full component catalog as a resource:

  • a2ui://catalog/components - Complete component catalog with all definitions

Installation

# Install dependencies
npm install

# Build
npm run build

# Run
npm start

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "a2ui-catalog": {
      "command": "node",
      "args": ["/path/to/a2ui-bridge/apps/demo/mcp-server/dist/index.js"]
    }
  }
}

Usage with MCP Clients

import { Client } from '@modelcontextprotocol/sdk/client/index.js';

// Connect to the server
const client = new Client({
  name: 'my-app',
  version: '1.0.0',
});

// List all components
const components = await client.callTool('list_components', {});

// Get Button schema
const buttonSchema = await client.callTool('get_component_schema', {
  component: 'Button'
});

// Find login patterns
const loginPatterns = await client.callTool('get_layout_patterns', {
  intent: 'login'
});

Architecture

┌─────────────────────────────────────────────────────────┐
│                     AI Agent                            │
│  (Claude, GPT, etc.)                                   │
└────────────────────┬────────────────────────────────────┘
                     │ MCP Protocol
                     ▼
┌─────────────────────────────────────────────────────────┐
│              A2UI Catalog MCP Server                   │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐    │
│  │list_        │  │get_component│  │get_layout_  │    │
│  │components   │  │_schema      │  │patterns     │    │
│  └─────────────┘  └─────────────┘  └─────────────┘    │
│  ┌─────────────┐                                       │
│  │validate_    │                                       │
│  │a2ui         │                                       │
│  └─────────────┘                                       │
│                                                         │
│  📁 components.json (35+ components, 7 patterns)       │
└────────────────────┬────────────────────────────────────┘
                     │ A2UI JSON
                     ▼
┌─────────────────────────────────────────────────────────┐
│              A2UI Bridge Renderer                      │
│  (React, Vue, Web Components)                          │
└─────────────────────────────────────────────────────────┘

Component Categories

  • Layout: Card, Column, Row, Grid, Stack, Divider
  • Typography: Text, Title, Badge, Avatar
  • Form Inputs: Button, TextField, Checkbox, Switch, Select, MultiSelect, DatePicker, Rating, Slider
  • Feedback: Alert, Progress, Skeleton, Tooltip
  • Navigation: Tabs, Stepper, Breadcrumb
  • Overlays: Modal, Drawer
  • Data Display: Table, Accordion, Timeline
  • Media: Image, Icon

License

MIT