# MCP

> Connect uibrik's MCP server so your AI assistant can search components, read their props and source, and install them.

Updated Nov 23, 2026.

## 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.

`Server URL`

```
https://uibrik.com/mcp
```

It'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](#pro)).

## Connect

Copy a set-up prompt for your AI assistant, or add the server yourself below.

### Claude Code

```bash
claude mcp add --transport http uibrik https://uibrik.com/mcp
```

### Cursor

One click: [Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=uibrik&config=eyJ1cmwiOiJodHRwczovL3VpYnJpay5jb20vbWNwIn0%3D). Or add it to the config yourself:

`.cursor/mcp.json`

```json
{
  "mcpServers": {
    "uibrik": {
      "url": "https://uibrik.com/mcp"
    }
  }
}
```

### VS Code

One click: [Add to VS Code](vscode:mcp/install?%7B%22name%22%3A%22uibrik%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fuibrik.com%2Fmcp%22%7D). Or add it to the config yourself:

`.vscode/mcp.json`

```json
{
  "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

```bash
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:

`.cursor/mcp.json`

```json
{
  "mcpServers": {
    "uibrik": {
      "url": "https://uibrik.com/mcp",
      "headers": { "Authorization": "Bearer ${env:UIBRIK_LICENSE}" }
    }
  }
}
```

### VS Code

Asks for the key once and stores it securely:

`.vscode/mcp.json`

```json
{
  "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](https://uibrik.com/account). Installing with the CLI instead works as before: see [Pro](https://uibrik.com/docs/pro.md).

## Tools

Every tool is read-only. Installing still happens in your terminal, with your approval.

- `search_components` Finds components by what they do, optionally within one category.
- `get_component` Install commands, npm packages, import line, props and the full source of every file.
- `list_categories` The whole catalog by section and category, with slugs.
- `get_install_instructions` Project 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](https://ui.shadcn.com/docs/mcp)? It reads registries from `components.json`, so adding the `@uibrik` namespace lets it browse and install uibrik components next to shadcn's own.

`components.json`

```json
{
  "registries": {
    "@uibrik": "https://uibrik.com/r/{name}.json"
  }
}
```

```bash
npx shadcn@latest mcp init --client claude
```

The init command also takes `cursor`, `vscode`, `codex` and `opencode`.

## llms.txt

For assistants without MCP, [llms.txt](https://uibrik.com/llms.txt) lists every component and docs page with a link to its Markdown copy, and [llms-full.txt](https://uibrik.com/llms-full.txt) has every component's Markdown in one file. More in [Agents](https://uibrik.com/docs/agents.md).

## 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.

---

Page: https://uibrik.com/docs/mcp · Library map for agents: https://uibrik.com/llms.txt
