# Basecoat UI

> Basecoat UI is an open-source MCP server for developer tools. Basecoat UI components and docs so assistants write correct shadcn-style HTML. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI
- **Repository:** https://github.com/sorbh/basecoat-ui-mcp
- **GitHub stars:** 16
- **MCP Registry name:** io.github.Sorbh/basecoat-ui-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-11-23

## About

Basecoat is an HTML and Tailwind port of the shadcn/ui look with no React. This server hands an assistant the real markup, so it stops guessing class names. It tracks Basecoat 1.0.2, which moved variants to data attributes (for example class="btn" data-variant="outline") and replaced document events with methods.

The library covers 90+ component variants across forms, navigation, feedback, interactive, layout and composed examples such as chat, login and settings pages. Usage guides exist for 30 components, including JavaScript needs and notes for migrating from 0.x. The setup tool returns CDN links for eight style packs, from Vega to Rhea, and a script for dark and light themes.

It runs through npx on stdio with no key. The author says it is their first MCP server, built for a hobby project.

## Features

- **90+ variants:** Buttons, fields, cards, dialogs, command menus, drawers, charts and more as ready HTML.
- **Usage docs:** Implementation guides for 30 components with JavaScript requirements.
- **Style pack setup:** CDN links for Vega, Nova, Maia, Lyra, Mira, Luma, Sera and Rhea.
- **Theme script:** A dark and light mode switcher snippet.
- **Search and categories:** Find components by name or by category.
- **Migration notes:** Guidance for moving from Basecoat 0.x markup to the 1.0 API.

## Good for

- Generate a sign-up page with cards, fields and a dark mode toggle
- Look up the exact markup for a dialog or combobox
- Set up Basecoat with the right CDN style pack
- Migrate old Basecoat 0.x markup to 1.0

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add basecoat-ui-mcp -- npx -y basecoat-ui-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add basecoat-ui-mcp -- npx -y basecoat-ui-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.basecoat-ui-mcp]
command = "npx"
args = ["-y", "basecoat-ui-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user basecoat-ui-mcp npx -- -y basecoat-ui-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 7 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `get_component` (name suggests: reads): Get HTML for a component variant
- `list_components` (name suggests: reads): List components by category
- `get_usage` (name suggests: reads): Usage documentation for a component
- `get_setup` (name suggests: reads): Setup code with CDN links for a style pack
- `get_theme_script` (name suggests: reads): Dark and light theme switcher script
- `search_components` (name suggests: reads): Search components by name or category
- `get_category` (name suggests: reads): All components in one category

## FAQ

### Which Basecoat version does Basecoat UI follow?

Version 2.0 of this server targets Basecoat 1.0.2.

### Does Basecoat UI need React?

No, components are plain HTML with Tailwind.

### How do I install Basecoat UI?

Run npx -y basecoat-ui-mcp as a stdio server in any MCP client.

### Is Basecoat UI open source?

Yes, it is published under the MIT licence.

### Is Basecoat UI free?

Yes. Basecoat UI is open source, so you can use and self-host it for free.

### How do I add Basecoat UI to Claude Code?

Run this command in your terminal: claude mcp add basecoat-ui-mcp -- npx -y basecoat-ui-mcp

### What are the best alternatives to Basecoat UI?

The closest alternatives to Basecoat UI are REA, Codebase Memory, Serena MCP: the IDE for your agent, XERJ and HyperFrames by HeyGen.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/basecoat-ui
