MCP Vue UI Kit Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Vue UI Kit ServerWhat are the props for the AppButton component?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Vue UI Kit Server
MCP (Model Context Protocol) сервер для документации Vue UI компонентов. Позволяет AI-ассистентам (Cursor, Claude Desktop и др.) получать информацию о ваших компонентах, их props, events, slots и генерировать правильный код.
🎯 Зачем это нужно?
AI-ассистенты не знают про ваш UI-kit и пишут:
<button @click="submit">Отправить</button>С этим MCP сервером они будут использовать ваши компоненты:
<AppButton variant="primary" :loading="isLoading" @click="submit">
Отправить
</AppButton>Related MCP server: web-ui-component-spec-mcp
🚀 Быстрый старт
1. Клонирование и установка
git clone https://github.com/your-username/mcp-vue-ui-kit.git
cd mcp-vue-ui-kit
npm install2. Настройка путей к вашему UI-kit
Отредактируйте файл scripts/generate-docs.ts:
const PACKAGES_TO_DOCUMENT: PackageConfig[] = [
{
name: 'my-ui-kit',
alias: '@my-company/ui-kit',
path: '/path/to/your/ui-kit', // 👈 Укажите путь к вашему UI-kit
componentsGlob: 'src/components/**/*.vue',
},
];3. Генерация документации
npm run generateДокументация будет сохранена в папку data/.
4. Сборка сервера
npm run build5. Подключение к Cursor
Добавьте в файл .cursor/mcp.json вашего проекта:
{
"mcpServers": {
"ui-kit": {
"command": "node",
"args": ["/path/to/mcp-vue-ui-kit/dist/server.js"]
}
}
}Перезапустите Cursor.
🔧 Доступные Tools
Tool | Описание |
| Список компонентов с фильтрацией по пакету и категории |
| Детальная информация о компоненте (props, events, slots) |
| Поиск компонентов по имени, описанию или категории |
| Генерация примера использования компонента |
| Статистика документации UI Kit |
📁 Структура проекта
mcp-vue-ui-kit/
├── src/
│ └── server.ts # MCP сервер
├── scripts/
│ └── generate-docs.ts # Скрипт генерации документации
├── data/ # Сгенерированная документация
│ ├── index.json # Индекс всех компонентов
│ └── my-ui-kit/ # Документация по пакетам
│ ├── AppButton.json
│ └── ...
├── examples/ # Примеры структуры данных
├── package.json
├── tsconfig.json
└── README.md📝 Формат документации компонента
Каждый компонент сохраняется как JSON-файл:
{
"displayName": "AppButton",
"description": "Кнопка с поддержкой loading и иконок",
"package": "my-ui-kit",
"packageAlias": "@my-company/ui-kit",
"relativePath": "src/components/AppButton.vue",
"category": "elements",
"props": [
{
"name": "variant",
"type": { "name": "string" },
"required": false,
"defaultValue": { "value": "'default'" },
"values": ["default", "primary", "danger"]
}
],
"events": [
{ "name": "click", "type": { "names": ["MouseEvent"] } }
],
"slots": [
{ "name": "default", "description": "Содержимое кнопки" }
]
}💡 Примеры использования
Получить список компонентов форм
uikit_list_components(category: "form")Получить информацию о AppButton
uikit_get_component(name: "AppButton")Найти компоненты для модальных окон
uikit_search(query: "modal")Сгенерировать пример использования
uikit_generate_usage(name: "AppButton", framework: "vue")🔄 Обновление документации
При изменении компонентов запустите:
npm run generateРекомендуется добавить эту команду в CI/CD pipeline или git hooks.
⚙️ Переменные окружения
Переменная | Описание | По умолчанию |
| Путь к папке с документацией |
|
🐛 Отладка
Для запуска сервера в режиме разработки (без сборки):
npm run devЛоги выводятся в stderr.
📄 Лицензия
MIT
🤝 Contributing
Fork репозитория
Создайте feature branch (
git checkout -b feature/amazing-feature)Commit изменения (
git commit -m 'Add amazing feature')Push в branch (
git push origin feature/amazing-feature)Откройте Pull Request
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceProvides AI assistants with access to private React component library documentation, props, and code examples through type-safe TypeScript integration.Last updated
- AlicenseAqualityDmaintenanceProvides AI coding assistants with on-demand access to component specs, test scenarios, accessibility requirements, and build guides from the Web UI Component Specification.Last updated10MIT
- Flicense-qualityBmaintenanceExposes SigmaUI Design System components to AI assistants, providing tools for component documentation, search, usage examples, and design tokens to accelerate Vue 3 and Nuxt 3 UI development.Last updated
- Flicense-qualityDmaintenanceProvides AI assistants with up-to-date Vue ecosystem documentation through the Model Context Protocol, enabling semantic search, API lookup, and cross-framework references.Last updated10
Related MCP Connectors
Give your AI assistant access to real Helm chart data. No more hallucinated values.yaml files.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
@latest documentation and code examples to 9000+ libraries for LLMs and AI code editors in a singl…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TeodorDre/mcp-ui-kit-server-example'
If you have feedback or need assistance with the MCP directory API, please join our Discord server