MCP server

Give your AI assistant the Cozy UI docs. @0xtrou/cozy-ui-mcp is a Model Context Protocol server with every component’s docs, install commands, tokens and palettes. It runs locally over stdio and works offline.

Claude Code

claude mcp add cozy-ui -- npx -y @0xtrou/cozy-ui-mcp

Claude Desktop, Cursor, VS Code

mcp config
{
  "mcpServers": {
    "cozy-ui": { "command": "npx", "args": ["-y", "@0xtrou/cozy-ui-mcp"] }
  }
}

mcpfs

mcpfs mounts MCP servers as a read-only folder, so agents and scripts can use ls, cat and grep on the docs, and run tools as commands.

npm install -g @0xtrou/cozy-ui-mcp
mkdir -p /tmp/cozy
mcpfs-fusefs mount stdio:// /tmp/cozy -- cozy-ui-mcp

ls /tmp/cozy/resources/cozy-ui/components
cat /tmp/cozy/resources/cozy-ui/components/sheet.md
/tmp/cozy/tools/get_install_command --components '["button","sheet"]' --method npm
/tmp/cozy/search 'sticky header'

fusermount3 -u -- /tmp/cozy

Resources

URIWhat
cozy-ui://overview.mdWhat Cozy UI is and every page of the docs
cozy-ui://install.mdnpm and shadcn CLI install steps
cozy-ui://palettes.mdThe five palettes and their colour roles
cozy-ui://tokens.jsonAll design tokens
cozy-ui://components/<slug>.mdOne per component: description, install, usage, props, example and source

Tools

ToolInputReturns
list_components–Every component with a one-line description
get_componentnameThe full docs of one component
search_docsquery, limit?Best matches with excerpts
get_install_commandcomponents[], method? (npm | shadcn)The exact install command and import

Prefer plain text? The same content is at llms.txt and llms-full.txt.