AI and MCP
Give your coding agent the Haze registry, llms.txt index, and per-entry Markdown docs so it installs real components instead of guessing markup.
Machine-readable endpoints
- /llms.txt
Compact directory of guides and every component/block with direct links to its Markdown twin.
- /llms-full.txt
Complete props, accessibility rules, use-when notes, and source code concatenated in one file.
- /DESIGN.md
Generated design tokens, OKLCH palette rules, radius scale, and do/don't rules in Google Labs format.
- /r/registry.json
shadcn-compatible registry index with derived npm dependencies and full source payloads.
Configure the shadcn MCP server
Once @haze is listed in your components.json, the official shadcn MCP server exposes every Haze entry to Claude Code, Cursor, VS Code, and Codex:
components.json
json
{
"registries": {
"@haze": "http://localhost:4329/r/{name}.json"
}
}.mcp.json / cursor mcp
json
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": ["shadcn@latest", "mcp"]
}
}
}