add_translation_key
Add a specific translation key with values to specified languages and namespaces
Report which translation keys are missing by language and namespace, then sync them from a source language with a backup and, on the bulk paths, a dry run.
LABSCO SUMMARY
Reporting and writing are separate halves of the same set: coverage, quality and usage analysis say what is absent, and the sync tools then add those keys from a source language in sorted order, with a backup available and a dry run on the bulk paths. Because the scanner reads source code for keys that never reached a file, drift shows up from both directions. Translation itself stays out of scope — the sync tools copy values across or drop in a placeholder, leaving the wording to whoever does the language work.
A server over an i18next project's locale files that reports on their coverage and quality, and writes missing keys back into them.
An i18next project on disk, and four environment variables telling the server where it lives and what it covers: I18N_PROJECT_ROOT, I18N_LOCALES_PATH, I18N_DEFAULT_LANGUAGE and I18N_SUPPORTED_LANGUAGES.
One command — npx -y i18next-mcp-server@latest
USE CASES
A health check over the translation files narrows it to a language and namespace, the missing-key list names the exact keys, and the file listing shows which file should have carried them.
Coverage shows how far behind the language is, the bulk sync adds every missing key with a placeholder and a backup, and validation confirms the files are still structurally sound.
The scanner reads your source paths for keys with no entry in the files, usage analysis shows where each one is referenced, and the selected keys are copied over from the source language.
A single key with its per-language values goes into the named namespaces in one call, with a backup taken before the files are touched.
The missing keys come out by language and namespace in the format you ask for, and the export carries the current translation data alongside them.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
add_translation_keyAdd a specific translation key with values to specified languages and namespaces
coverage_reportGenerate comprehensive coverage report for translations
export_dataExport translation data in various formats
get_missing_keysGet a detailed list of missing keys by language and namespace for targeted translation work
get_project_infoGet information about the translation project configuration and status
health_checkPerform comprehensive health check on translation files
list_filesList all translation files with their basic information
quality_analysisAnalyze translation quality across files
scan_code_for_missing_keysScan code for missing keys using the scanner integration
sync_all_missingComprehensive sync to add all missing keys across all languages, ensuring complete coverage
sync_from_sourceSync specific missing keys from source language to target languages
sync_missing_keysSynchronize missing translation keys across all languages from a source language, maintaining sorted structure
usage_analysisGenerate detailed usage analysis of translation keys
validate_filesValidate translation files for JSON syntax and structure issues
BEFORE YOU INSTALL
14 tools when we connected.
CONTEXT COST
Rated by the size of the 14 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"i18next-translation": {
"command": "npx",
"args": [
"-y",
"i18next-mcp-server@latest"
],
"env": {
"I18N_PROJECT_ROOT": "<YOUR_I18N_PROJECT_ROOT>",
"I18N_LOCALES_PATH": "public/locales",
"I18N_DEFAULT_LANGUAGE": "en",
"I18N_SUPPORTED_LANGUAGES": "en,es,fr"
}
}
}
}npx -y i18next-mcp-server@latest