Skip to content

AI and MCP

Use vip/ui with AI tools: the shadcn MCP server, llms.txt, Markdown pages, the CLI, and the agent skill.

Use the MCP server

The shadcn MCP server lets an AI assistant find and install vip/ui components. It reads registries from your components.json, so add the namespace first.

Run the setup command for your client, then restart the client. See the shadcn MCP guide (opens in a new tab) for other clients.

Or add the server to your MCP config by hand:

.mcp.json

Then ask for items by name:

  • Add @vip-ui/button and @vip-ui/dialog to my project.
  • Show me the files in @vip-ui/toast before you install it.
  • Build a settings page with vip/ui components.

Machine-readable sources

  • https://vip-ui.dev/llms.txt lists the guides and all components.
  • Add .md to a component URL to get the page as Markdown, for example https://vip-ui.dev/components/button.md. Guides have no Markdown copy.
  • https://vip-ui.dev/r/registry.json is the registry index. Each item is at https://vip-ui.dev/r/<name>.json.

Use the CLI

Agents can use the shadcn CLI (opens in a new tab). shadcn view @vip-ui/button shows an item's dependencies, files, and source without changing your project. To compare a local file with the registry, see Update a component.

Install the vip/ui skill

The vip/ui agent skill tells an agent which components exist and how to use them: names, sizes, motion, and color tokens. It does not install components.

The command asks which agents to install the skill for. The skill source is in skills/vip-ui (opens in a new tab).