Skip to main content
Glama

MCP-сервер SupaUI

Сервер протокола контекста модели (MCP) для SupaUI, который позволяет агентам ИИ генерировать, извлекать и управлять компонентами пользовательского интерфейса посредством взаимодействия на естественном языке.

Функции

  • Создание компонентов пользовательского интерфейса : создание компонентов React на основе описаний на естественном языке.

  • Извлечение компонентов пользовательского интерфейса : поиск и извлечение компонентов с buouui.com

  • Список компонентов пользовательского интерфейса : просмотр доступных компонентов с подробным предварительным просмотром.

  • Поддержка TypeScript : Создано на основе TypeScript для лучшей безопасности типов и удобства разработки

Related MCP server: MCP Magic UI

Предпосылки

Кузнечное дело

используйте Smithery для установки supaui-mcp в Claude:

npx -y @smithery/cli install @buoooou/supaui-mcp --client claude

муниципальный

  1. клонировать репозиторий:

git clone [your-repository-url]
cd mcp-ui-gen

=======

  • Node.js (последняя версия LTS)

  • BUOU_API_KEY от buouui.com

Установка

# 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 create a basic button
  1. Компонент пользовательского интерфейса Fetch:

/ui fetch modern login form
  1. Список компонентов пользовательского интерфейса:

/buou list cards

API-инструменты

CreateUiTool

  • Создает новые компоненты пользовательского интерфейса на основе описаний на естественном языке.

  • Конечная точка: /api/create

FetchUiTool

  • Извлекает существующие компоненты из buouui.com

  • Конечная точка: /api/fetch

ListUiTool

  • Список доступных компонентов с предварительным просмотром

  • Конечная точка: /api/list

Разработка

# Build in watch mode
tsc -w

# Run tests
pnpm test

Переменные среды

  • BUOU_API_KEY : Ваш ключ API от buouui.com (обязательно)

Внося вклад

  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