@vizejs/musea-mcp-server

MCP server for building Vue.js design systems - component analysis, documentation, variant generation, and design tokens
78,243 908
Install
npm install @vizejs/musea-mcp-server
Latest Version:0.529.0
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: ubugeeei

@vizejs/musea-mcp-server

MCP (Model Context Protocol) server for Musea design system integration.

Features

  • AI Integration - Connect Musea to AI assistants
  • Component Discovery - Query available components
  • Design Token Access - Retrieve design system tokens
  • Documentation - Access component docs via MCP

Installation

Install vp once from the Vite+ install guide, then add the server to your project:

vp install -D @vizejs/musea-mcp-server

Usage

With Claude Desktop

Add to claude_desktop_config.json. Replace the executable and project paths with absolute paths; the server uses the installed package from that project:

{
  "mcpServers": {
    "musea": {
      "command": "/absolute/path/to/vp",
      "args": ["-C", "/absolute/path/to/project", "exec", "musea-mcp", "/absolute/path/to/project"]
    }
  }
}

Standalone

vp exec musea-mcp /absolute/path/to/project

MCP Tools

  • analyze_component - Extract props and emits from a Vue SFC or linked art component
  • get_palette - Derive an interactive props palette from an art file
  • list_components - List registered components with status, variants, and resource URIs
  • get_component - Get full component details, analysis, palette, and docs
  • get_variant - Get one specific variant
  • search_components - Search components by title, tags, category, component name, and variants
  • recommend_components - Rank components by user intent or UI task
  • generate_variants - Generate an .art.vue draft from a component
  • generate_csf - Convert an art file to Storybook CSF
  • generate_docs - Generate Markdown docs for a component
  • generate_catalog - Generate a catalog for the whole design system
  • get_tokens - Read design tokens
  • search_tokens - Search tokens without loading the full token tree

Reproducible Prompting

Musea helps AI assistants stay grounded in real component data, but reusable prompts still need to be tuned for reproducibility.

A practical loop is:

  1. Fix a few evaluation scenarios first.
  2. Run the prompt in fresh assistant sessions.
  3. Collect both self-reported ambiguity and tool/checklist traces.
  4. Fix one ambiguity per iteration.

For Musea-specific workflows, check whether the assistant:

  • used real components from the registry
  • matched prop and variant names to MCP output
  • read tokens before suggesting visual values
  • reported missing metadata instead of guessing

The MCP guide covers client setup, concrete requests, and available tools: docs/content/integrations/mcp.md

License

MIT

Related Packages

@primevue/mcp

Model Context Protocol (MCP) server for PrimeVue component library

76,898
@sdata/web-vue-mcp

Model Context Protocol (MCP) server for the SD Design Vue component library

14,421 2
vite-vue-mcp-inspect

Vite plugin that turns a running Vue app into an MCP server

2,930 0
@quasar/mcp

MCP server for AI agents: the Quasar documentation and component API, served fro...

1,715 27,205

Version History

Version Released License
0.529.0 MIT
0.528.0 MIT
0.527.0 MIT
0.526.0 MIT
0.525.0 MIT
Pre-releases (50)
Version Released License
0.0.1-alpha.121 MIT
0.0.1-alpha.120 MIT
0.0.1-alpha.119 MIT
0.0.1-alpha.118 MIT
0.0.1-alpha.114 MIT