MCP Catalogs
首页basecoat-ui-mcp screenshot

basecoat-ui-mcp

by Sorbh·9·综合分 38

提供 Basecoat CSS 组件和文档的 MCP 服务器,用于 AI 辅助 HTML 开发

developer-toolsai-llmproductivity
2
Forks
0
活跃 Issue
9 个月前
最近提交
2 天前
收录于

概述

Basecoat UI MCP 服务器提供对 30+ 个 Basecoat CSS 组件的程序化访问,包括按钮、输入框、卡片、对话框和导航元素。它使 AI 助手能够检索组件 HTML 代码、使用文档、设置脚本和主题切换代码。服务器支持搜索和发现功能,组件按表单、导航、反馈、交互元素和布局等类别组织。所有组件都包含具有 ARIA 属性和语义 HTML 的无障碍功能。

试试问 AI

装完之后,这里有 3 个你可以让 AI 做的事:

:AI 助手帮助开发者使用 Basecoat CSS 组件构建界面
:生成包含 CDN 链接和主题切换的 Basecoat CSS 设置代码
:在开发过程中按名称或类别搜索特定组件

什么时候选它

当您使用 Basecoat CSS 或 ShadCN UI 并需要 AI 帮助来发现组件、获取文档或生成 HTML 界面时,选择此工具。

什么时候不要选它

如果您不使用 Basecoat CSS,请不要选择此工具,因为它对其他 CSS 框架没有价值。请考虑使用通用的 UI 组件服务器。

此 server 暴露的工具

从 README 抽取出 7 个工具
  • get_componentname: string

    Get HTML code for a specific component variant

  • list_components

    List all available components organized by category

  • get_usagecomponent: string

    Get comprehensive 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_componentsquery: string

    Search for components by name or category

  • get_categorycategory: string

    Get all components in a specific category

可对比工具

ui-components-mcpshadcn-ui-mcptailwindcss-mcp

安装

安装

  1. 克隆仓库:
git clone https://github.com/Sorbh/basecoat-ui-mcp.git
cd basecoat-ui-mcp
  1. 安装依赖:
npm install

Claude Desktop 配置

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

本地开发

对于本地开发,更新配置指向本地服务器:

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

basecoat-ui-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。