@vizejs/musea-mcp-server
@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 componentget_palette- Derive an interactive props palette from an art filelist_components- List registered components with status, variants, and resource URIsget_component- Get full component details, analysis, palette, and docsget_variant- Get one specific variantsearch_components- Search components by title, tags, category, component name, and variantsrecommend_components- Rank components by user intent or UI taskgenerate_variants- Generate an.art.vuedraft from a componentgenerate_csf- Convert an art file to Storybook CSFgenerate_docs- Generate Markdown docs for a componentgenerate_catalog- Generate a catalog for the whole design systemget_tokens- Read design tokenssearch_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:
- Fix a few evaluation scenarios first.
- Run the prompt in fresh assistant sessions.
- Collect both self-reported ambiguity and tool/checklist traces.
- 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
Model Context Protocol (MCP) server for the SD Design Vue component library
MCP server for AI agents: the Quasar documentation and component API, served fro...
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 | |
| 0.524.0 | MIT | |
| 0.523.0 | MIT | |
| 0.522.0 | MIT | |
| 0.521.0 | MIT | |
| 0.520.0 | MIT | |
| 0.519.0 | MIT | |
| 0.518.0 | MIT | |
| 0.517.0 | MIT | |
| 0.516.0 | MIT | |
| 0.515.0 | MIT | |
| 0.514.0 | MIT | |
| 0.513.0 | MIT | |
| 0.512.0 | MIT | |
| 0.511.0 | MIT | |
| 0.510.0 | MIT | |
| 0.509.0 | MIT | |
| 0.508.0 | MIT | |
| 0.507.0 | MIT | |
| 0.506.0 | MIT | |
| 0.504.0 | MIT | |
| 0.503.0 | MIT | |
| 0.502.0 | MIT | |
| 0.501.0 | MIT | |
| 0.500.0 | MIT | |
| 0.499.0 | MIT |
Showing the latest 30 of 434. See every release on npm
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 | |
| 0.0.1-alpha.113 | MIT | |
| 0.0.1-alpha.112 | MIT | |
| 0.0.1-alpha.108 | MIT | |
| 0.0.1-alpha.107 | MIT | |
| 0.0.1-alpha.106 | MIT | |
| 0.0.1-alpha.105 | MIT | |
| 0.0.1-alpha.104 | MIT | |
| 0.0.1-alpha.103 | MIT | |
| 0.0.1-alpha.102 | MIT | |
| 0.0.1-alpha.101 | MIT | |
| 0.0.1-alpha.100 | MIT | |
| 0.0.1-alpha.99 | MIT | |
| 0.0.1-alpha.98 | MIT | |
| 0.0.1-alpha.88 | MIT | |
| 0.0.1-alpha.87 | MIT | |
| 0.0.1-alpha.86 | MIT | |
| 0.0.1-alpha.85 | MIT | |
| 0.0.1-alpha.84 | MIT | |
| 0.0.1-alpha.83 | MIT | |
| 0.0.1-alpha.82 | MIT | |
| 0.0.1-alpha.81 | MIT | |
| 0.0.1-alpha.80 | MIT | |
| 0.0.1-alpha.79 | MIT | |
| 0.0.1-alpha.78 | MIT | |
| 0.0.1-alpha.77 | MIT |
Showing the latest 30 of 50. See every release on npm