MCP
Connect uibrik's MCP server so your AI assistant can search components, read their props and source, and install them.
Updated
Overview
uibrik runs its own MCP server. Connect it once and your AI assistant can search the library, read any component's props and source, and install it with the right command for your project.
https://uibrik.com/mcpIt's a remote server over HTTP: nothing to install or run locally, and it always serves the latest components. No account or key needed, except to read Pro source (see Pro components).
Connect
Copy a set-up prompt for your AI assistant, or add the server yourself below.
Claude Code
claude mcp add --transport http uibrik https://uibrik.com/mcpCursor
One click: Add to Cursor. Or add it to the config yourself:
{
"mcpServers": {
"uibrik": {
"url": "https://uibrik.com/mcp"
}
}
}VS Code
One click: Add to VS Code. Or add it to the config yourself:
{
"servers": {
"uibrik": {
"type": "http",
"url": "https://uibrik.com/mcp"
}
}
}Other clients
Any client that supports remote MCP servers over Streamable HTTP works: add a server with the URL above. In Claude Desktop and claude.ai, add it as a custom connector.
Pro components
Without a key the server shows Pro components' props and previews but not their source. Add your license key to the connection and get_component returns the full source of every Pro component too, so your assistant can add it straight away.
The key goes in your MCP config as an Authorization header, not in the chat, so the model never sees it. Keep it out of committed files.
Claude Code
claude mcp add --transport http uibrik https://uibrik.com/mcp \
--header "Authorization: Bearer YOUR_LICENSE_KEY"Already added the server? Run claude mcp remove uibrik first.
Cursor
Reads the key from the UIBRIK_LICENSE environment variable:
{
"mcpServers": {
"uibrik": {
"url": "https://uibrik.com/mcp",
"headers": { "Authorization": "Bearer ${env:UIBRIK_LICENSE}" }
}
}
}VS Code
Asks for the key once and stores it securely:
{
"inputs": [
{ "type": "promptString", "id": "uibrik-license", "description": "uibrik Pro license key", "password": true }
],
"servers": {
"uibrik": {
"type": "http",
"url": "https://uibrik.com/mcp",
"headers": { "Authorization": "Bearer ${input:uibrik-license}" }
}
}
}Your key is on your account page. Installing with the CLI instead works as before: see Pro.
Tools
Every tool is read-only. Installing still happens in your terminal, with your approval.
search_componentsFinds components by what they do, optionally within one category.get_componentInstall commands, npm packages, import line, props and the full source of every file.list_categoriesThe whole catalog by section and category, with slugs.get_install_instructionsProject set-up for Next.js, Vite or a manual copy.
Example prompts
- Find a uibrik pricing block and add it to the pricing page.
- Which uibrik chart fits a 30-day uptime history? Install it on the status page.
- Add the uibrik gauge dial for disk usage on the dashboard, using our theme colours.
With the shadcn MCP
Already use the shadcn MCP server? It reads registries from components.json, so adding the @uibrik namespace lets it browse and install uibrik components next to shadcn's own.
{
"registries": {
"@uibrik": "https://uibrik.com/r/{name}.json"
}
}npx shadcn@latest mcp init --client claudeThe init command also takes cursor, vscode, codex and opencode.
llms.txt
For assistants without MCP, llms.txt lists every component and docs page with a link to its Markdown copy, and llms-full.txt has every component's Markdown in one file. More in Agents.
Questions
- Is the uibrik MCP server free?
- Yes. It needs no account or key for free components, and it's a remote server, so there is nothing to install or keep updated. Pro buyers add their license key to the connection to get Pro source too.
- Which AI assistants can use it?
- Claude Code, Cursor, VS Code, Claude Desktop and claude.ai (as a custom connector), and any other client that supports remote MCP servers over Streamable HTTP.
- Can the MCP server change my files?
- No. Every tool is read-only. Your assistant installs a component by running the shadcn CLI in your terminal, with your approval.
- Can my agent install Pro components over MCP?
- Yes. Add your license key to the MCP connection as an Authorization header and get_component returns the full source of Pro components. Without it, the agent can find Pro components and read their props, and installs them through the Pro registry with your key in the environment.
- What if my assistant doesn't support MCP?
- Point it at https://uibrik.com/llms.txt, or https://uibrik.com/llms-full.txt for every component's install line, import and props in one file.