For AI Agents
vuelix is built to be used by coding agents (Claude Code, Cursor, Codex and friends) as easily as by people. Everything below is public and needs no API key.
MCP server
A hosted Model Context Protocol server lets agents list, search, read and install components.
txt
https://vuelix.dev/mcpbash
claude mcp add --transport http vuelix https://vuelix.dev/mcpbash
codex mcp add vuelix --url https://vuelix.dev/mcpjson
{
"mcpServers": {
"vuelix": { "type": "http", "url": "https://vuelix.dev/mcp" }
}
}| Tool | What it does |
|---|---|
list_components | Every component, optionally filtered by section (components, blocks, ai, charts) |
search_components | Keyword search across names, descriptions and categories |
get_component | Full details plus the complete source of every file |
get_install_command | The command to add it: copy source (shadcn-vue CLI) or the npm package |
Agent skill
Teach your agent to reach for vuelix before hand-rolling UI:
bash
npx skills add kdpisda/vuelix --skill vuelixThe skill tells the agent to search the catalogue first, pick the closest component, install it and compose from the generated source.
Endpoints
| URL | Contents |
|---|---|
/llms.txt | Markdown index of the site (llmstxt.org format) |
/r | JSON catalogue of every item: slug, description, section, URLs, dependencies, files |
/r/{slug}.json | shadcn-vue registry item with inline file contents (what the CLI installs) |
/r/raw/{slug}/{file} | Plain-text source of a single file |
/r/registry.json | The shadcn-vue registry manifest |
Agent flow without MCP
- Fetch
https://vuelix.dev/rand pick an item byslug/description. - Either run its
installcommand, or fetch eachfiles[].raw_urland write it tofiles[].path. - Make sure
lib/utils.tsexists (utils.raw_urlin the catalogue) and install the item'sdependencies.
Components use shadcn-vue's semantic tokens (bg-primary, text-muted-foreground, border, …), so they inherit the target app's theme. They need Tailwind CSS v4.
Catalogue entry shape
json
{
"slug": "dock",
"name": "Dock",
"description": "A magnifying dock where icons grow as the pointer approaches.",
"section": "components",
"category": "Navigation",
"page_url": "https://vuelix.dev/components/dock",
"detail_url": "https://vuelix.dev/r/dock.json",
"install": "npx shadcn-vue@latest add https://vuelix.dev/r/dock.json",
"npm": { "package": "vuelix", "imports": ["Dock", "DockItem"] },
"dependencies": ["motion-v"],
"files": [
{ "path": "components/ui/dock/Dock.vue", "raw_url": "https://vuelix.dev/r/raw/dock/Dock.vue" }
]
}