Logo vun Basecoat MCP 服务器

Basecoat MCP 服务器

Communautéit
Sorbh

A Model Context Protocol (MCP) server that provides programmatic access to Basecoat CSS components and their usage documentation. This server allows AI assistants to help developers build HTML interfaces using the Basecoat CSS framework.

EditeurSorbh
Repositorybasecoat-ui-mcp
SproochHTML
Forks
2
Stären
12
Disponibel Tools
7
Transporttypstdio
Kategorien
Linken
  • Tools mat KI-Workflows verbannen

    Basecoat MCP 服务器 stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 7 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    12 Stären an 2 Forks aus dem verlinkte Repository.

Basecoat MCP Server

License: MIT Node.js Version

Story

While building my hobby project — turning old devices into a Digital Photo Frame — I struggled with UI components. I wanted to use Basecoat CSS, the HTML port of ShadCN UI, but there was no MCP server to easily pull components and docs into AI-assisted coding.

So I built one.
This is my first MCP server, and it’s here to make working with Basecoat (and ShadCN-style components) effortless for everyone. Feedback and contributions are welcome!


A Model Context Protocol (MCP) server that provides programmatic access to Basecoat CSS components and their usage documentation. This server allows AI assistants to help developers build HTML interfaces using the Basecoat CSS framework.

Features

  • 30+ Component Variants: Access to buttons, inputs, cards, dialogs, tabs, and more.
  • Usage Documentation: Complete implementation guides with examples for each component.
  • Setup Scripts: Get CDN links and theme switching code instantly.
  • Search & Discovery: Find components by name or category.
  • Accessibility Ready: All components include ARIA attributes and semantic HTML.

Tech Stack

Installation

  1. Clone this repository:
    bash
    git clone https://github.com/Sorbh/basecoat-ui-mcp.git
    cd basecoat-mcp-server
  2. Install dependencies:
    bash
    npm install

MCP Configuration

You can run this server either by using npx (if the package is published on npm) or by cloning the repository for local development.

Using NPX (Recommended)

This method is the easiest way to get started and doesn't require cloning the repository.

Claude Desktop

Update your claude_desktop_config.json:

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

Other MCP Clients

Configure the server to run:

bash
npx basecoat-ui-mcp

Using Git Clone (Local Development)

For local development or if you want to modify the server:

  1. Clone and setup:

    bash
    git clone https://github.com/Sorbh/basecoat-ui-mcp.git
    cd basecoat-ui-mcp
    npm install
  2. Claude Desktop Configuration:

    json
    {
      "mcpServers": {
        "basecoat-ui": {
          "command": "node",
          "args": ["/path/to/basecoat-ui-mcp/server.js"],
          "cwd": "/path/to/basecoat-ui-mcp"
        }
      }
    }

    Replace /path/to/basecoat-ui-mcp with the actual path where you cloned the repository.

  3. Other MCP Clients:

    bash
    cd /path/to/basecoat-ui-mcp
    node server.js

Available Tools

ToolDescriptionParameters
get_componentGet HTML code for a specific component variantname: Component name (e.g., "button-primary", "card-basic")
list_componentsList all available components organized by categoryNone
get_usageGet comprehensive usage documentation for a componentcomponent: Base component name (e.g., "button", "card")
get_setupGet Basecoat CSS setup code with CDN linksNone
get_theme_scriptGet theme switcher script for dark/light modeNone
search_componentsSearch for components by name or categoryquery: Search term (e.g., "button", "form", "navigation")
get_categoryGet all components in a specific categorycategory: Category name (forms, navigation, feedback, interactive, layout)

Component Categories

Forms

  • Buttons: primary, secondary, outline, destructive, ghost, link, icon variants
  • Inputs: basic, with-label, invalid states
  • Select: native, custom dropdowns
  • Checkbox: basic, with-label, with-description
  • Radio: single, group variations
  • Switch: basic, with-description
  • Textarea, Label, Form container

Navigation

  • Tabs: horizontal, vertical with ARIA support
  • Accordion: collapsible content sections
  • Breadcrumb: navigation trails
  • Sidebar: off-canvas navigation

Feedback

  • Alert: success, error variants
  • Badge: primary, secondary, destructive, outline
  • Dialog: modal, alert dialog variations
  • Toast: notification system

Interactive

  • Dropdown: context menus with various item types
  • Popover: rich content tooltips
  • Tooltip: simple hover tooltips with positioning
  • Combobox: searchable select dropdowns
  • Theme Switcher: dark/light mode toggle

Layout

  • Card: basic, with-icon variants
  • Avatar: small, medium, large, fallback
  • Skeleton: loading states for profile, card
  • Table: responsive data display
  • Pagination: navigation for large datasets

Directory Structure

basecoat-mcp/
├── components/           # HTML component files
│   ├── forms/           # Form elements
│   ├── navigation/      # Navigation components  
│   ├── feedback/        # Alerts, badges, dialogs
│   ├── interactive/     # Dropdowns, tooltips
│   └── layout/          # Cards, tables, avatars
├── usage/               # Usage documentation
│   ├── forms/
│   ├── navigation/
│   ├── feedback/
│   ├── interactive/
│   └── layout/
├── scripts/             # Setup and utility scripts
├── server.js            # MCP server implementation
├── package.json
└── README.md

About Basecoat CSS

Basecoat CSS is a comprehensive CSS framework that provides:

  • Accessible, semantic components
  • Dark/light theme support
  • Tailwind CSS integration
  • JavaScript-enhanced interactions
  • Mobile-responsive design

Learn more at basecoatui.com

License

MIT License - see LICENSE file for details.

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes following our coding standards
  4. Test your changes thoroughly
  5. Commit with clear messages: git commit -m 'Add amazing feature'
  6. Push to your branch: git push origin feature/amazing-feature
  7. Open a Pull Request

Support


Installatioun

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

Disponibel Tools

  • get_component

    Get HTML code for a specific Basecoat component

  • list_components

    List all available Basecoat components organized by category

  • get_usage

    Get usage documentation for a component

  • get_setup

    Get Basecoat CSS setup code with CDN links

  • get_theme_script

    Get theme switcher script for dark/light mode

  • search_components

    Search for components by name or category

  • get_category

    Get all components in a specific category

Basecoat MCP 服务器 MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Basecoat MCP 服务器 verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Basecoat MCP 服务器 als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Basecoat MCP 服务器 an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Basecoat MCP 服务器. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Basecoat MCP 服务器.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Basecoat MCP 服务器?
Basecoat MCP 服务器
Jo. Ech hunn et gelies.
Dat hunn ech mat Basecoat MCP 服务器 fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Basecoat MCP 服务器 benotzt?

Basecoat MCP 服务器 ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Basecoat MCP 服务器 MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Basecoat MCP 服务器 mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Basecoat MCP 服务器 MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Basecoat MCP 服务器 verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Basecoat MCP 服务器 MCP mat TypingMind?

Basecoat MCP 服务器 leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Basecoat MCP 服务器 MCP an TypingMind zur Verfügung?

Basecoat MCP 服务器 stellt 7 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Basecoat MCP 服务器 MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Basecoat MCP 服务器 eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇