Captain UI

MCP

Let your agent list, search, read and install components.

The Captain UI MCP server runs at https://captain-ui.vercel.app/api/mcp over streamable HTTP. Add it to Claude Code:

claude mcp add --transport http captain-ui https://captain-ui.vercel.app/api/mcp

With Pro, add your key as a header so the server can hand over Pro source:

claude mcp add --transport http captain-ui https://captain-ui.vercel.app/api/mcp \
  --header "Authorization: Bearer $CAPTAIN_UI_LICENSE"

Cursor, VS Code and Codex take the same URL:

{
  "mcpServers": {
    "captain-ui": { "url": "https://captain-ui.vercel.app/api/mcp" }
  }
}

Tools

  • list_components lists everything, by category, with tiers.
  • search_components finds components for a need, like “bottom sheet” or “date range”.
  • get_component returns the docs: usage, props, keyboard and accessibility.
  • get_install returns the exact shadcn command and the one-time setup.
  • get_source returns the source files. Pro components need a key.
  • get_setup explains the registry, theme and license setup.

The shadcn MCP works too

shadcn’s own MCP server reads any registry in components.json. With the @captain registry added (see Getting started), run npx shadcn@latest mcp init --client claude and ask for Captain components by name.

Try it

Ask your agent: “Use captain-ui to add a switch to the settings page.” It will search, read the docs and run the install.