Skip to main content
Glama

SupaUI MCP 服务器

SupaUI 的模型上下文协议 (MCP) 服务器,使 AI 代理能够通过自然语言交互生成、获取和管理 UI 组件。

特征

  • 创建 UI 组件:根据自然语言描述生成 React 组件

  • 获取 UI 组件:从 buouui.com 搜索并检索组件

  • 列出 UI 组件:浏览可用组件的详细预览

  • TypeScript 支持:使用 TypeScript 构建,以获得更好的类型安全性和开发人员体验

Related MCP server: MCP Magic UI

先决条件

  • Node.js(最新 LTS 版本)

  • 来自buouui.com的 BUOU_API_KEY

安装

# Install dependencies
pnpm install

# Build the project
pnpm build

配置

  1. 在环境中设置您的 BUOU_API_KEY:

export BUOU_API_KEY=your_api_key_here
  1. 或者根据smithery.yaml要求创建配置文件。

用法

启动服务器

pnpm start

可用命令

服务器支持以下命令:

  1. 创建 UI 组件:

/ui create a basic button
  1. 获取 UI 组件:

/ui fetch modern login form
  1. 列出 UI 组件:

/buou list cards

API 工具

创建UiTool

  • 根据自然语言描述生成新的 UI 组件

  • 端点: /api/create

FetchUiTool

  • 从 buouui.com 检索现有组件

  • 端点: /api/fetch

ListUi工具

  • 列出可用的组件并进行预览

  • 端点: /api/list

发展

# Build in watch mode
tsc -w

# Run tests
pnpm test

环境变量

  • BUOU_API_KEY :来自 buouui.com 的 API 密钥(必需)

贡献

  1. 分叉存储库

  2. 创建你的功能分支

  3. 提交你的更改

  4. 推送到分支

  5. 创建拉取请求

执照

国际学习中心

支持

如需支持,请访问:

Available Tools

3 tools
create-imageC

"Use this tool when the user requests a new image, mentions /buou /image or asks for a image. If the customer provides the picture editing operation of the attachment, please send it to the corresponding tool. This tool ONLY returns the url of the image. After calling this tool, Please show the image returned by this tool and provide it for download.

Inputs: message (required), image (required).

fetch-uiB

"Use this tool when the user wants to see component, get inspiration, or /buou or /ui fetch data and previews from buouui.com. This tool ONLY returns the text snippet for that UI component. After calling this tool, you must edit or add files to integrate the snippet into the codebase."

Inputs: message (required), searchQuery (required).

list-uiC

"Use this tool when the user wants to see buouui.com component, or /buou fetch data and previews from buouui.com. This tool returns the JSON data of matching components without generating new code. This tool ONLY returns the text snippet for that UI component. After calling this tool, you need to display the data in the UI, and finally you need to show the website page of the buouui.com."

Inputs: message (required), searchQuery (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.6/5.0

    Scored across 3 tools

    Disambiguation2/5

    The tools have unclear boundaries and overlapping purposes. 'fetch-ui' and 'list-ui' both handle UI components from buouui.com with similar triggers ('/buou'), making them easily confused. 'create-image' is more distinct but still shares the '/buou' trigger, adding to the ambiguity. The descriptions don't clearly differentiate when to use one over the other.

    Naming Consistency3/5

    The naming follows a mixed convention: 'create-image' uses a verb_noun pattern with hyphenation, while 'fetch-ui' and 'list-ui' use verb_noun with underscores. This inconsistency in delimiter usage (hyphens vs. underscores) reduces predictability, though the verb_noun structure is mostly maintained across tools.

    Tool Count3/5

    With only 3 tools, the count feels thin for a server named 'SupaUI MCP Server', which suggests a broader UI-related scope. While it covers image creation and UI component fetching/listing, the limited number might not support comprehensive UI workflows, such as editing or managing components beyond basic retrieval.

    Completeness2/5

    The tool set is significantly incomplete for a UI-focused server. It lacks essential operations like updating or deleting UI components, managing image edits, or handling user interactions beyond fetching. The overlap between 'fetch-ui' and 'list-ui' further complicates coverage, leaving obvious gaps in CRUD/lifecycle management for the domain.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A server that provides rich UI context and interaction capabilities to AI models, enabling deep understanding of user interfaces through visual analysis and precise interaction via Model Context Protocol.
      78
      MIT
    • A
      license
      D
      quality
      D
      maintenance
      A Model Context Protocol server that provides access to Magic UI components, allowing AI assistants and other MCP clients to discover and use UI components from the Magic UI design system.
      2
      14
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      A Model Context Protocol server that enhances AI agents by providing deep semantic understanding of codebases, enabling more intelligent interactions through advanced code search and contextual awareness.
      90
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI agents to control and automate Android devices through natural language, supporting actions like app management, UI interactions, and device monitoring.
      60
      MIT