A custom MCP server that gives Claude Code, Cursor, and other AI agents instant access to every component, prop, token, and story in the SLI Design System.
Storybook's official MCP server only supports React. Our Vue + Blade components were invisible to AI assistants — leading to hallucinated props, wrong syntax, and missed patterns. This server fixes that.
AI reads your Vue files one at a time. It guesses prop names, invents variants that don't exist, and doesn't know about your Blade equivalents.
The MCP server parses all 96 components on startup and serves structured metadata — typed props, emits, slots, tokens — on demand.
AI queries exact props, checks real story variants, uses correct tokens, and generates Blade syntax — all verified against the source.
Each tool is a focused query into the design system. Agents call them via the MCP protocol to get structured, accurate data.
On startup, the server parses 7 data sources into a unified manifest. Tools query this manifest to serve structured metadata over stdio.
{ "mcpServers": { "sli-design-system": { "command": "npx", "args": ["tsx", "mcp-server/src/index.ts"], "cwd": "/path/to/sli-skel" } } }
The server is already built and configured. Just install, restart, and go.
Run npm install inside the mcp-server directory to pull in the MCP SDK, Vue compiler, and other dependencies.
cd mcp-server && npm install
The .mcp.json at the project root is already configured. Restart Claude Code (or your MCP client) to pick up the new server.
claude
Run /mcp in Claude Code — you should see sli-design-system with 8 tools. Try asking: "What props does AdminDataTable accept?"
/mcp
Call rebuild_manifest from any MCP client, or simply restart Claude Code. The manifest regenerates on startup.
Run npm run build-storybook to update index.json, then rebuild_manifest to pick up the new story index.
If you modify _tokens.scss, the changes are picked up on the next server restart or rebuild_manifest call.