Skip to content
MCP server

Basecoat UI

Basecoat UI components and docs so assistants write correct shadcn-style HTML

Runs locally

Basecoat UI is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI
Runs
Locally
What it can do
Read-only
GitHub stars
16
Last commit

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Basecoat UI

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.

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

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_componentName suggests: reads
Get HTML for a component variant
list_componentsName suggests: reads
List components by category
get_usageName suggests: reads
Usage documentation for a component
get_setupName suggests: reads
Setup code with CDN links for a style pack
get_theme_scriptName suggests: reads
Dark and light theme switcher script
search_componentsName suggests: reads
Search components by name or category
get_categoryName suggests: reads
All components in one category

What it does

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

Pricing

Open source

Free, MIT licence

Basecoat UI 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.

How AIPoweredBot checks servers