Logo van 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.

UitgeverSorbh
Repositorybasecoat-ui-mcp
TaalHTML
Forks
2
Sterren
12
Beschikbare tools
7
Transporttypestdio
Categorieën
Links
  • Koppel tools aan AI-workflows

    Basecoat MCP 服务器 biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 7 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    12 sterren en 2 forks in de gekoppelde 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


Installatie

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

Beschikbare 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

Gebruik Basecoat MCP 服务器 MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Basecoat MCP 服务器 is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Basecoat MCP 服务器 toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Basecoat MCP 服务器.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "basecoat-ui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "basecoat-ui-mcp"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Basecoat MCP 服务器 in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Basecoat MCP 服务器 in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Basecoat MCP 服务器 gebruiken om me hiermee te helpen?
Basecoat MCP 服务器
Zeker. Ik heb het gelezen.
Dit vond ik met Basecoat MCP 服务器.

Veelgestelde vragen

Waarvoor wordt de MCP-server Basecoat MCP 服务器 gebruikt?

Basecoat MCP 服务器 is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Basecoat MCP 服务器 MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Basecoat MCP 服务器 gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Basecoat MCP 服务器 MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Basecoat MCP 服务器 verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Basecoat MCP 服务器 MCP met TypingMind?

Basecoat MCP 服务器 werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Basecoat MCP 服务器 MCP in TypingMind?

Basecoat MCP 服务器 biedt 7 MCP-tools die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Basecoat MCP 服务器 MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Basecoat MCP 服务器 authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇