vocabit-mcp
vocabit-mcp
MCP-сервер для Vocabit, приложения для карточек. Он позволяет ИИ-ассистенту записывать учебный набор в реальное приложение на реальном телефоне, а затем считывать, как учащийся на самом деле с ним справился.
Большинство MCP-серверов читают из API. Этот замыкает цикл:
flowchart LR
A["Assistant<br/>teaches a topic"] --> B["create_study_set"]
B --> C["Set appears in the<br/>Vocabit app"]
C --> D["Learner works<br/>through it"]
D --> E["get_set_results"]
E -->|weak cards| AИнтересный инструмент — не create_study_set — что угодно может генерировать карточки.
Это get_set_results: какие карточки учащийся отметил как сложные, до каких он вообще не дошёл,
сколько повторений потребовалось каждой. Следующий набор строится на основе этого, а не на догадке.
Попробуйте за 30 секунд
Никакого бэкенда, аккаунта или API-ключа:
npx -y vocabit-mcp --demoДемо-режим запускает тот же сервер против Vocabit в памяти с двумя предзаполненными наборами. Создайте набор, запросите результаты — и детерминированный подставной учащийся уже проработает его, что будет помечено в ответе как симуляция, чтобы это никогда не спутали с реальными данными.
Чтобы поэкспериментировать с UI:
npx @modelcontextprotocol/inspector npx -y vocabit-mcp --demoRelated MCP server: inoh-mcp
Установка
Сервер указан в MCP Registry как io.github.JohnBilousov/vocabit-mcp, так что клиенты, читающие реестр, могут найти его самостоятельно.
claude mcp add vocabit -- npx -y vocabit-mcp{
"mcpServers": {
"vocabit": {
"command": "npx",
"args": ["-y", "vocabit-mcp"],
"env": {
"VOCABIT_BASE_URL": "https://your-vocabit-backend.example.com",
"VOCABIT_AGENT_KEY": "your-agent-key"
}
}
}
}Уберите блок env, чтобы запустить в демо-режиме.
Инструменты
Инструмент | Что делает |
| Проверяет соединение и режим, в котором находится сервер. |
| Публикует набор в приложение учащегося. Возвращает deep link, открывающий его на устройстве. |
| Последние наборы, сначала новые, каждый с краткой сводкой прогресса. |
| Полное содержимое одного набора, плюс тема и заметки, прикреплённые ассистентом. |
| Обратная связь. Статус каждой карточки, |
| Переименовать, перетегировать или добавить карточки — обычно следующий шаг после чтения результатов. |
| Уведомление в Telegram, что набор ожидает. |
| Удалить набор из приложения. История изучения сохраняется. |
Также доступны: ресурс vocabit://set/{setId} (набор в виде JSON, доступен для перечисления) и
промпт study-session, который проводит через весь цикл.
Состояния карточек
Прогресс берётся из движка интервальных повторений приложения, а не от ассистента:
Статус | Значение |
| Никогда не повторялась. |
| Учащийся отметил как сложную. |
| Отмечена как хорошая. |
| Отмечена как лёгкая. |
Набор сообщает completed: true, как только ни одной карточки не остаётся в new.
Живой режим
Укажите серверу на бэкенд Vocabit с включённым agent API:
export VOCABIT_BASE_URL=https://your-vocabit-backend.example.com
export VOCABIT_AGENT_KEY=... # must match one of AGENT_API_KEYS on the backend
npx -y vocabit-mcpПеременная | Назначение |
| Базовый URL бэкенда. |
| Отправляется как |
| Firebase UID учащегося. Необязательно; у бэкенда есть значение по умолчанию. |
| Значения по умолчанию для новых наборов, например |
| Получатель для |
| Таймаут запроса, по умолчанию |
|
|
Если не заданы ни URL, ни ключ, сервер запускается в демо-режиме. Если задан ровно один — он отказывается запускаться: половина конфигурации — это ошибка, а не подсказка.
Заметки по дизайну
Демо-режим — полноценный клиент, а не заглушка. HttpVocabitClient и
DemoVocabitClient реализуют один и тот же интерфейс VocabitClient, поэтому ни один инструмент
не имеет ветки «мы притворяемся?». Рецензент может запустить сервер до получения учётных данных,
а тестовый набор проверяет реальную поверхность инструментов через реальный MCP-транспорт,
а не мокает SDK.
Ошибки восстанавливаемы, а не фатальны. Неудачный вызов возвращается как isError с
собственным сообщением бэкенда плюс подсказкой для модели — 404 говорит «вызовите
list_study_sets, чтобы увидеть, какие наборы существуют», 401 — «или запустите с VOCABIT_DEMO=1».
Взаимоисключающие аргументы отклоняются с объяснением, а не наугад.
Схемы вывода остаются свободными по краям. Идентифицирующие поля обязательны; всё остальное необязательно, так что бэкенд, добавляющий поле, не превращает работающий инструмент в ошибку валидации.
Аннотации честны. delete_study_set помечен как destructiveHint, инструменты чтения —
readOnlyHint. notify_learner отправляет сообщение реальному человеку, и его описание говорит
использовать его экономно.
Разработка
git clone https://github.com/JohnBilousov/vocabit-mcp && cd vocabit-mcp
npm install
npm run build
npm test # tool surface + full loop, plus the HTTP client against a mocked fetch
npm run lint # eslint
npm run format # prettier --write
npm run inspect # demo mode in the MCP InspectorCI запускает typecheck, lint, format:check, test и build при каждом push и pull request.
src/
index.ts CLI entry, stdio transport
config.ts env → Config, demo-mode resolution
server.ts tool / resource / prompt registration
schemas.ts zod input and output shapes
format.ts human-readable summaries next to structuredContent
client/
types.ts wire types + VocabitClient contract
http.ts live backend
mock.ts in-memory backend for demo mode
test/
server.test.ts tool surface + full loop — over an in-memory MCP transport
client/
http.test.ts query encoding, error-body parsing, timeouts — against a mocked fetchРелиз
Публикация использует доверенную публикацию npm (OIDC) —
никакого секрета NPM_TOKEN, ничего, что может утечь или истечь. Одноразовая настройка на npmjs.com, в
разделе Settings → Trusted publishing → GitHub Actions пакета: организация JohnBilousov, этот
репозиторий, имя файла workflow publish.yml.
Чтобы выпустить релиз: увеличьте версию в package.json, server.json и VERSION в
src/server.ts вместе (тест проверяет, что они не расходятся), закоммитьте, запушьте, затем опубликуйте GitHub
Release с соответствующим тегом vX.Y.Z. Это запускает
.github/workflows/publish.yml, который прогоняет тестовый набор и
публикует в npm с provenance — на странице
пакета отображается проверенная ссылка на этот точный коммит и запуск workflow, а не просто имя в реестре.
Дорожная карта
Потоковый HTTP-транспорт наряду со stdio
Поддержка нескольких учащихся без UID по умолчанию на бэкенде
Карточки с аудиопроизношением
Лицензия
MIT © Ivan Bilousov
Available Tools
8 toolscreate_study_setCreate a study setA
Build a flashcard set and publish it to the learner's Vocabit app. Returns a deep link that opens the set on their device. Prefer one focused topic and 8-15 cards per set — long sets get abandoned. Use the notes field for what you want to check afterwards; the learner never sees it.
Inputs: cards (required), title (required), notes, topic, +6 more. Returns: setId, title, userId, deepLink, +4 more
delete_study_setDelete a study setADestructiveIdempotent
Remove a set from the learner's app. Study history is kept on the backend, but the set disappears from their device. Ask before calling this.
Inputs: setId (required). Returns: setId, deleted
get_set_resultsGet how the learner didARead-only
Read back real study results for a set: which cards the learner marked hard (weakCards), which they never reached (untouchedCards), and per-card review counts. This is the feedback half of the loop — read it before writing the next set, and build the follow-up out of weakCards.
Inputs: setId (required), userId. Returns: cards, notes, setId, title, +7 more
get_study_setGet study set contentsARead-only
Read the full contents of a set — every card, plus the topic and notes you attached when you created it.
Inputs: setId (required). Returns: cards, notes, setId, title, +4 more
list_study_setsList study setsARead-only
List the sets you created for this learner, newest first, each with a progress summary. Use it to find a setId, or to see at a glance which sets were never opened.
Inputs: limit, topic, userId, includeProgress. Returns: sets, count
notify_learnerPing the learnerA
Send the learner a Telegram message that a set is waiting. Use sparingly — one ping per set, right after you create it.
Inputs: setId (required), text. Returns: setId, notified, telegramId
update_study_setUpdate a study setAIdempotent
Change a set in place: retitle it, retag it, or add cards. Pass addCards to append (the usual case after reviewing results) or cards to replace the list wholesale — never both. Replacing the cards resets what the learner has already studied.
Inputs: setId (required), cards, notes, title, +4 more. Returns: setId, updated, cardCount
vocabit_healthCheck Vocabit connectionARead-only
Verify the server can reach Vocabit and report which mode it is in (live backend or in-memory demo). Call this first if anything else fails.
Inputs: no named parameters. Returns: mode, baseUrl, defaultUserId
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool has a clearly distinct purpose: health check, CRUD for study sets, results feedback, and learner notification. Even get_study_set and get_set_results are unambiguously separated—one retrieves content, the other study metrics. No two tools appear to do the same thing.
Most tools follow a verb_noun pattern (create_study_set, list_study_sets, update_study_set, delete_study_set, get_study_set, get_set_results). However, vocabit_health deviates from the verb-first style and notify_learner uses a non-set object, so the pattern is not perfectly uniform but remains predictable.
8 tools is well within the ideal 3-15 range and each earns its place in the set lifecycle. The count matches the server's scope—managing study sets with health check and notification—without redundancy or unnecessary bulk.
The tool surface covers the full lifecycle: create, read, update, delete, list, plus results feedback and learner notification. The feedback loop is closed by get_set_results informing update_study_set. Health check aids debugging. No obvious gaps that would cause agent failures.
Maintenance
Related MCP Connectors
Connects an AI assistant to your Lingard account (lingard.app), an app for learning languages with books, news and flashcards. Create topic word collections and add complete cards: translation, part of speech, pronunciation, synonyms, example sentences with translations, and images. Fill in missing fields on existing cards, rewrite example translations, and pause or resume collections, books and news in your daily study sessions. Every change can be previewed before it is saved, and saved words appear in the Lingard apps on iOS, Android and the web. Requires a Lingard account; sign-in uses OAuth.
Free: turn your AI chats into spaced-repetition vocabulary. 13 tools, reads and writes.
Create, edit and publish Educaplay educational games and quizzes from any AI assistant.
Lexpad is a vocabulary notebook with spaced repetition, in 81 languages. Connect it to ChatGPT or Claude and ask the assistant to save a word from your chat, show the words due today or quiz you. Each answer counts as practice and moves the word through its Leitner boxes. Sign-in is OAuth 2.1 with PKCE on a Lexpad page. 20 tools; the ones that overwrite or delete are marked, so the client asks first. Connecting is free. On Lexpad's Free plan the assistant writes 10 cards a day; on Pro it is unlimited, up to 1,000 a day. Guide and example prompts: https://lexpad.app/features/assistants
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants like Claude to MindDory to automatically capture new vocabulary and grammar mistakes into spaced-repetition flashcards during language practice conversations.MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to search the Inoh dictionary and create, update, or delete vocabulary flashcards in the user's Inoh account through natural language.-
- AlicenseNot gradedqualityBmaintenanceEnables an AI assistant to act as the memory of a personal English-learning app: read progress and words due for review, run short practice conversations, and store sentences, corrections, new words, rubric scores, and checked exercises back to the user's dashboard. Also lets the assistant grow the flashcard deck and adjust word familiarity, which reschedules spaced-repetition reviews.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to programmatically create, validate, store, and hot-swap interactive quizzes and study bundles into a desktop learning application, with analytics and local REST integration.MIT