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/mcpWith 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_componentslists everything, by category, with tiers.search_componentsfinds components for a need, like “bottom sheet” or “date range”.get_componentreturns the docs: usage, props, keyboard and accessibility.get_installreturns the exact shadcn command and the one-time setup.get_sourcereturns the source files. Pro components need a key.get_setupexplains 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.