AI tools and MCP
Coding assistants can find, read and install Prop UI pieces on their own. Give them the MCP server, or point them at the Markdown versions of the pages.
MCP server
The Prop UI MCP server lets an assistant search the library, read a piece’s full reference and get the exact install command. It is read-only and needs no key. Installing the pieces it finds needs a free account: the install command reads your personal token from the PROPUI_TOKEN environment variable (copy it from your account).
https://propui.dev/api/mcpConnect a client
Claude Code
claude mcp add --transport http propui https://propui.dev/api/mcpCursor, in .cursor/mcp.json
{
"mcpServers": {
"propui": {
"url": "https://propui.dev/api/mcp"
}
}
}VS Code, in .vscode/mcp.json
{
"servers": {
"propui": {
"type": "http",
"url": "https://propui.dev/api/mcp"
}
}
}Any other client that supports MCP over Streamable HTTP can use the same URL.
What the server can do
search_piecesFind pieces by what you need, for example “revenue dashboard”.list_piecesList every piece, or one category.get_pieceThe full reference for a piece: what it shows, install, usage, notes for AI.get_install_commandOne shadcn command for one or more pieces, for npm, pnpm, yarn or bun.
Try asking your assistant: “Add a revenue dashboard from Prop UI to this project.”
Markdown and llms.txt
Every piece page has a Markdown version at /p/<piece>/markdown. Give an assistant that link instead of a screenshot. The whole library is indexed for AI tools at:
- /llms.txt — the index, install notes and rules for agents
- /llms-full.txt — the index plus every piece’s full Markdown
- /r/catalog.json — metadata for every piece, without source
Registry namespace
Put your token in .env.local as PROPUI_TOKEN, add Prop UI to components.json once, then install pieces by name:
{
"registries": {
"@propui": {
"url": "https://propui.dev/r/{name}.json",
"headers": {
"Authorization": "Bearer ${PROPUI_TOKEN}"
}
}
}
}npx shadcn@latest add @propui/halyard-saasPrefer the full URL? Every piece page shows it under Installation.