Logo di Basecoat MCP 服务器

Basecoat MCP 服务器

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

AutoreSorbh
Repositorybasecoat-ui-mcp
LinguaHTML
Fork
2
Stelle
12
Strumenti disponibili
7
Tipo di trasportostdio
Categorie
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Basecoat MCP 服务器 mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 7 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    12 stelle e 2 fork nel repository collegato.

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


Installazione

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

Strumenti disponibili

  • 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

Usa MCP Basecoat MCP 服务器 con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Basecoat MCP 服务器, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Basecoat MCP 服务器 come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Basecoat MCP 服务器.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Basecoat MCP 服务器, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Basecoat MCP 服务器.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Basecoat MCP 服务器 per aiutarmi con questa attività?
Basecoat MCP 服务器
Certo. Ho letto.
Ecco cosa ho trovato con Basecoat MCP 服务器.

Domande frequenti

A cosa serve il server MCP Basecoat MCP 服务器?

Basecoat MCP 服务器 è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Basecoat MCP 服务器 MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Basecoat MCP 服务器 con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Basecoat MCP 服务器 con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Basecoat MCP 服务器, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Basecoat MCP 服务器 MCP a TypingMind?

Basecoat MCP 服务器 funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre Basecoat MCP 服务器 MCP in TypingMind?

Basecoat MCP 服务器 mette a disposizione 7 strumenti MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Basecoat MCP 服务器 MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Basecoat MCP 服务器 richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇