[Draft]feat: add mcp server package#9512
Draft
EldarMuhamethanov wants to merge 22 commits intomasterfrom
Draft
Conversation
Contributor
size-limit report 📦
|
Contributor
e2e tests |
Contributor
|
✅ Изменений в собранных файлах нет Commit 294f85f |
Contributor
👀 Docs deployed
📦 Package ✅yarn add @vkontakte/vkui@https://development.s3.prodcloud.vk.team/pull/9512/294f85f594603af34d1a39780c47d24fff21cb96/pkg/@vkontakte/vkui/_pkg.tgzCommit 294f85f |
alefaf-deli
previously approved these changes
Feb 25, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9512 +/- ##
=======================================
Coverage 95.41% 95.41%
=======================================
Files 439 439
Lines 12029 12029
Branches 4354 4354
=======================================
Hits 11477 11477
Misses 552 552
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
added 8 commits
March 25, 2026 12:51
# Conflicts: # yarn.lock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@vkontakte/vkui-mcp#9260Описание
Добавлен новый пакет @vkontakte/vkui-mcp — MCP-сервер (Model Context Protocol) для документации VKUI. Он даёт AI-ассистентам (например, в Cursor) доступ к списку компонентов и хуков, их свойствам, примерам кода и рекомендациям по миграции на v8.
Сервер можно запускать через
npx @vkontakte/vkui-mcpи подключать в конфиг MCP-клиента. Данные по компонентам и примерам подгружаются с сайта документации (по умолчаниюhttps://vkui.io), базовый URL настраивается через переменную окруженияVKUI_DOCS_BASE_URL.Изменения
packages/vkui-mcp:list_components,get_component_metadata,list_hooks,get_hook_metadata,list_examples,get_example,list_migration_targets,get_migration_target.vkui://migration/v8— список целей миграции;vkui://component/{slug}— карточка компонента;vkui://migration/{name}— рекомендации по миграции по имени компонента/хука.migrations/v8.ts.cli.ts) запускает stdio-сервер для общения с MCP-клиентом.stdio.integration.test.ts): запросы к серверу через stdio с моком HTTP-документации (компоненты, хуки, примеры, миграции)..github/workflows/publish.ymlдобавлен пакет@vkontakte/vkui-mcpв список публикуемых; в.gitignoreдобавлена папкаmcp/.Release notes
Документация
npx @vkontakte/vkui-mcpи настройка в конфиге MCP-клиента (например, Cursor).