vocabit-mcp
vocabit-mcp
Un servidor MCP para Vocabit, una aplicación de tarjetas de memoria. Permite a un asistente de IA escribir un conjunto de estudio en una aplicación real en un teléfono real, y luego leer cómo le fue realmente al estudiante con él.
La mayoría de los servidores MCP leen desde una API. Este cierra un bucle:
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| ALa herramienta interesante no es create_study_set — cualquier cosa puede generar tarjetas. Es get_set_results: qué tarjetas marcó el estudiante como difíciles, cuáles nunca alcanzó, cuántas revisiones tomó cada una. El siguiente conjunto se construye a partir de eso, no de una suposición.
Pruébalo en 30 segundos
Sin backend, sin cuenta, sin clave de API:
npx -y vocabit-mcp --demoEl modo demo ejecuta el mismo servidor contra un Vocabit en memoria con dos conjuntos precargados. Crea un conjunto, pide resultados, y un estudiante sustituto determinista lo habrá trabajado — marcado en la respuesta como simulado, para que nunca se confunda con datos reales.
Para probarlo con una interfaz de usuario:
npx @modelcontextprotocol/inspector npx -y vocabit-mcp --demoRelated MCP server: inoh-mcp
Instalación
Listado en el Registro MCP como io.github.JohnBilousov/vocabit-mcp, por lo que los clientes que leen el registro pueden encontrarlo por sí mismos.
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"
}
}
}
}Elimina el bloque env para ejecutar en modo demo.
Herramientas
Tool | What it does |
| Comprueba la conexión y en qué modo está el servidor. |
| Publica un conjunto en la aplicación del estudiante. Devuelve un enlace profundo que lo abre en el dispositivo. |
| Conjuntos recientes, primero los más nuevos, cada uno con un resumen de progreso. |
| Contenido completo de un conjunto, más el tema y las notas que adjuntó el asistente. |
| La mitad de retroalimentación. Estado por tarjeta, |
| Cambiar título, reetiquetar o añadir tarjetas — normalmente el seguimiento después de leer los resultados. |
| Aviso por Telegram de que un conjunto está esperando. |
| Elimina un conjunto de la aplicación. Se conserva el historial de estudio. |
También se exponen: el recurso vocabit://set/{setId} (un conjunto como JSON, listable) y un prompt study-session que recorre todo el bucle.
Estados de las tarjetas
El progreso proviene del motor de repetición espaciada de la aplicación, no del asistente:
Status | Meaning |
| Nunca revisada. |
| El estudiante la marcó como difícil. |
| Marcada como buena. |
| Marcada como fácil. |
Un conjunto informa completed: true cuando no queda ninguna tarjeta en new.
Modo en vivo
Apunta el servidor a un backend de Vocabit que tenga habilitada la API de agente:
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-mcpVariable | Purpose |
| URL base del backend. |
| Se envía como |
| UID de Firebase del estudiante. Opcional; el backend tiene un valor predeterminado. |
| Valores predeterminados para nuevos conjuntos, p. ej. |
| Destinatario para |
| Tiempo de espera de la solicitud, predeterminado |
|
|
Si no se establecen ni la URL ni la clave, el servidor se inicia en modo demo. Si se establece exactamente una, se niega a iniciarse — media configuración es un error, no una pista.
Notas de diseño
El modo demo es un cliente de primera clase, no un stub. HttpVocabitClient y DemoVocabitClient implementan la misma interfaz VocabitClient, por lo que ninguna herramienta tiene una rama para "¿estamos fingiendo?". Un revisor puede ejecutar el servidor antes de tener credenciales, y la suite de pruebas ejercita la superficie real de las herramientas sobre un transporte MCP real en lugar de simular el SDK.
Los errores son recuperables, no fatales. Una llamada fallida regresa como isError con el mensaje del propio backend más una pista dirigida al modelo — 404 dice "llama a list_study_sets para ver qué conjuntos existen", 401 dice "o ejecuta con VOCABIT_DEMO=1". Los argumentos mutuamente excluyentes se rechazan con una explicación en lugar de una suposición.
Los esquemas de salida se mantienen flexibles en los bordes. Los campos de identificación son obligatorios; todo lo demás es opcional, por lo que un backend que añade un campo no convierte una herramienta funcional en un error de validación.
Las anotaciones son honestas. delete_study_set está marcado como destructiveHint, las herramientas de lectura como readOnlyHint. notify_learner envía un mensaje a una persona real, y su descripción dice que se use con moderación.
Desarrollo
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 ejecuta typecheck, lint, format:check, test y build en cada push y 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 fetchPublicación
La publicación utiliza la publicación confiable de npm (OIDC) — sin secreto NPM_TOKEN, nada que pueda filtrarse o expirar. Configuración única en npmjs.com, en Configuración → Publicación confiable → GitHub Actions del paquete: organización JohnBilousov, este repositorio, nombre de archivo del flujo de trabajo publish.yml.
Para hacer un lanzamiento: sube la versión en package.json, server.json y VERSION en src/server.ts juntos (una prueba asegura que no puedan divergir), haz commit, push, y luego publica un Release de GitHub con una etiqueta vX.Y.Z correspondiente. Eso activa .github/workflows/publish.yml, que ejecuta la suite de pruebas y publica en npm con procedencia — la página del paquete muestra un enlace verificado a este commit y ejecución de flujo de trabajo exactos, no solo un nombre en el registro.
Hoja de ruta
Transporte HTTP transmisible junto a stdio
Soporte para múltiples estudiantes sin un UID predeterminado del backend
Tarjetas de pronunciación de audio
Licencia
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