Skip to main content
Glama

Mozaic MCP Server

npm version npm downloads License: MIT Documentation

Self-contained Claude Code skills and MCP server for the Mozaic Design System by ADEO.

šŸ“š Documentation • šŸŽ® MCP Playground

Overview

This package provides two complementary tools for working with the Mozaic Design System in AI assistants:

  • šŸ¤– Claude Code Skills - 7 interactive skills for guided component building and design token usage

  • šŸ”Œ MCP Server - Model Context Protocol server with 17 tools for programmatic access to Mozaic resources

What's Included

Resource Type

Count

Description

Design Tokens

586

Colors, typography, spacing, shadows, borders, breakpoints

Components

131+

Vue 3, React, Web Components, and Freemarker macros with full documentation

Icons

1,473

SVG icons across 15 categories

CSS Utilities

6

Flexy grid, Container, Margin, Padding, Ratio, Scroll

Documentation

281

Searchable usage guides and best practices

MCP Tools

17

Programmatic access to all resources

Claude Skills

7

Interactive workflows for Vue, React, Web Components, Freemarker, and agnostic use

Quick Start

npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools

Use arrow keys and space to select components, then press Enter to install.

One-Command Installation

# Install everything (skills + MCP server)
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools all

# Install only skills (for Claude Code)
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools skills

# Install only MCP server (for Claude Desktop)
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools mcp

Check Installation Status

npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools list

Try Before Installing

Test the MCP tools directly in your browser without installation:

šŸŽ® Open MCP Playground

The playground lets you:

  • Test all 11 MCP tools interactively

  • Browse components, tokens, and icons

  • Generate code snippets

  • Search documentation

Claude Code Skills

6 self-contained skills that provide interactive workflows for building with Mozaic.

Available Skills

Skill

Description

Use Case

mozaic-vue-builder

Interactive Vue 3 component generator

Building Vue apps with Mozaic

mozaic-react-builder

Interactive React/TSX component generator

Building React apps with Mozaic

mozaic-webcomponents-builder

Interactive Web Components generator

Building framework-agnostic apps with native web components

mozaic-freemarker-builder

Interactive Freemarker macro generator

Building server-side templates with Freemarker

mozaic-design-tokens

Design tokens and styling expert

Accessing colors, typography, spacing

mozaic-css-utilities

CSS utility classes and layouts

Building responsive layouts

mozaic-icons

Icon search and integration

Finding and using Mozaic icons

How Skills Work

Skills are activated automatically in Claude Code based on context, or you can invoke them manually:

User: "I need a login form with Mozaic"

Claude Code will automatically activate the appropriate skill (Vue or React builder) and guide you through:

  1. Component selection

  2. Props configuration

  3. Code generation

  4. Installation instructions

See SKILLS.md for detailed documentation.

MCP Server Tools

14 programmatic tools for accessing Mozaic resources via the Model Context Protocol.

Available Tools

Tool

Category

Description

get_design_tokens

Tokens

Query tokens by category (colors, typography, spacing, etc.)

get_component_info

Components

Get component props, slots, events, and documentation

list_components

Components

List components by category or framework

generate_vue_component

Code Gen

Generate Vue 3 SFC code with props

generate_react_component

Code Gen

Generate React/TSX code with TypeScript

generate_webcomponent

Code Gen

Generate native Web Component HTML with imports

get_webcomponent_info

Web Components

Get attributes, slots, events, CSS properties

list_webcomponents

Web Components

List web components by category

generate_freemarker

Code Gen

Generate Freemarker macro code with configuration

get_freemarker_info

Freemarker

Get macro configuration options and usage

list_freemarker

Freemarker

List Freemarker macros by category

search_documentation

Docs

Full-text search across 281 documentation pages

get_css_utility

CSS

Get CSS utility classes and examples

list_css_utilities

CSS

List available CSS utilities

search_icons

Icons

Search 1,473 icons by name, type, or category

get_icon

Icons

Get icon SVG and framework code

get_install_info

Install

Get npm/yarn/pnpm installation commands

Configuration

Add to your Claude Code or Claude Desktop settings:

For Claude Code (in .claude/settings.json):

{
  "mcpServers": {
    "mozaic": {
      "command": "npx",
      "args": ["-y", "mozaic-mcp-server"]
    }
  }
}

For Claude Desktop (in ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "mozaic": {
      "command": "npx",
      "args": ["-y", "mozaic-mcp-server"]
    }
  }
}

Usage Examples

Using Skills in Claude Code

Skills activate automatically based on your request:

You: "I need a responsive grid with 3 columns"
Claude: [activates mozaic-css-utilities skill]
        Here's the Flexy grid solution...
You: "Add a shopping cart icon"
Claude: [activates mozaic-icons skill]
        I found these cart icons...

Using MCP Tools Programmatically

When configured, Claude can use MCP tools directly:

You: "What design tokens are available?"
Claude: [calls get_design_tokens tool]
        Found 586 tokens across 7 categories...
You: "Generate a React button component"
Claude: [calls get_component_info, then generate_react_component]
        Here's your Button component with TypeScript...

CLI Commands

The adeo-mozaic-install-tools CLI provides several commands:

# Interactive mode (default)
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools

# Install all components
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools all

# Install skills only
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools skills

# Install MCP server only
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools mcp

# Check status
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools list

# Remove components
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools remove skills
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools remove mcp
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools remove all

# Show help
npx -p mozaic-mcp-server@latest adeo-mozaic-install-tools --help

Architecture

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│   Claude Code / Claude Desktop      │
│                                     │
│   ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”  ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā” │
│   │   Skills    │  │ MCP Server  │ │
│   │  (5 total)  │  │ (11 tools)  │ │
│   ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜  ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜ │
│          │                │         │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
           │                │
           ā–¼                ā–¼
    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
    │  Shell Scripts (14)      │
    │  ↓ sqlite3 queries       │
    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
               ā–¼
    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
    │  SQLite Database         │
    │  ~/.claude/mozaic.db     │
    │                          │
    │  • 586 tokens            │
    │  • 91 components         │
    │  • 1,473 icons           │
    │  • 281 docs              │
    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

File Locations

After installation:

~/.claude/
ā”œā”€ā”€ mozaic.db                      # SQLite database (all Mozaic data)
ā”œā”€ā”€ skills/                        # Claude Code skills
│   ā”œā”€ā”€ mozaic-vue-builder/
│   ā”œā”€ā”€ mozaic-react-builder/
│   ā”œā”€ā”€ mozaic-design-tokens/
│   ā”œā”€ā”€ mozaic-css-utilities/
│   └── mozaic-icons/
└── (Claude Code settings.json)    # MCP server config

~/Library/Application Support/Claude/
└── claude_desktop_config.json     # Claude Desktop MCP config

Development

Prerequisites

  • Node.js ≄25.2.0

  • pnpm (recommended)

Setup

# Clone the repository
git clone https://github.com/MerzoukeMansouri/adeo-mozaic-mcp.git
cd mozaic-mcp-server

# Install dependencies
pnpm install

# Build the project (compiles TypeScript + builds database)
pnpm build

# Run tests
pnpm test

# Start MCP server in debug mode
pnpm start:debug

Project Structure

mozaic-mcp-server/
ā”œā”€ā”€ src/                    # TypeScript source code
│   ā”œā”€ā”€ index.ts           # MCP server entry point
│   ā”œā”€ā”€ tools/             # MCP tool implementations
│   └── database/          # Database utilities
ā”œā”€ā”€ skills/                # Claude Code skills
│   ā”œā”€ā”€ mozaic-vue-builder/
│   │   ā”œā”€ā”€ skill.md       # Skill instructions
│   │   └── scripts/       # Shell scripts (4)
│   └── ...                # Other skills
ā”œā”€ā”€ scripts/               # Build and utility scripts
│   ā”œā”€ā”€ build-index.ts     # Database builder
│   └── generate-docs.ts   # Documentation generator
ā”œā”€ā”€ data/                  # Generated database
│   └── mozaic.db
ā”œā”€ā”€ repos/                 # Mozaic Design System repositories (git submodules)
│   ā”œā”€ā”€ mozaic-design-system/
│   ā”œā”€ā”€ mozaic-vue/
│   └── mozaic-react/
ā”œā”€ā”€ bin/                   # CLI entry points
│   └── install.js         # Installation CLI
└── website/               # Documentation website

Building the Database

The SQLite database is built from the Mozaic Design System repositories:

# Update submodules
git submodule update --init --recursive

# Build database
pnpm build

This indexes:

  • Design tokens from mozaic-design-system/packages/tokens

  • Components from mozaic-vue and mozaic-react

  • Icons from mozaic-design-system/packages/icons

  • Documentation from all repositories

Contributing

Contributions are welcome! Please follow these guidelines:

  1. Fork the repository

  2. Create a feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes using Conventional Commits

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

Commit Convention

We use semantic versioning with conventional commits:

  • feat: - New feature (minor version bump)

  • fix: - Bug fix (patch version bump)

  • feat!: or BREAKING CHANGE: - Breaking change (major version bump)

  • chore:, docs:, style:, refactor:, test: - No version bump

Resources

Documentation & Tools

License

MIT License - see LICENSE file for details.

Support

For issues or questions:


Built with ā¤ļø for the ADEO community

Mozaic Design System is maintained by ADEO

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MerzoukeMansouri/adeo-mozaic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server