Getting started
MCP server
Agents search the AtroUI registry and copy an install command. The server does not write files — you still own the install. Same registry as Installation: shadcn or
@atroui/cli.Install paths agents should use
bash
# Prefer when the project already uses shadcn
npx shadcn@latest add @atroui/home-hero
# Prefer when the project does not use shadcn
npx @atroui/cli@latest add home-heroNever import UI from the npm package atroui. Host APIs only: atroui/api/*.
Cursor
Add to .cursor/mcp.json:
json
{
"mcpServers": {
"atroui": {
"command": "npx",
"args": ["-y", "@atroui/mcp"]
}
}
}Local monorepo (before publish): point command at node and packages/mcp/dist/index.js.
Claude Code
Same JSON block in .mcp.json.
Tools
- search_components — search name / title / description
- get_item — one item + both install commands + docs link
- get_skill —
design(Family Values) orhost-api(BYOK)
Already on shadcn MCP
If @atroui is in components.json, npx shadcn@latest mcp can browse this registry too. Use @atroui/mcp when you want AtroUI skills + dual install commands in one place.
Agent playbook
Paste rules and recipes: For agents.