Skip to content
Prop UI
Get started

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/mcp

Connect a client

Claude Code

claude mcp add --transport http propui https://propui.dev/api/mcp

Cursor, 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:

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-saas

Prefer the full URL? Every piece page shows it under Installation.