Basic information
About I18next Mcp Server
A Model Context Protocol (MCP) server that provides translation management capabilities for i18next projects, enabling AI assistants like Cursor to directly interact with translation files.
I18next Mcp Server is a MCP server in the Other category listed in the AddMCP.net directory, published by gtrias. It exposes 14 tools, including get_project_info, health_check, validate_files, list_files and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: ai-tools, i18next, l10n, mcp-server, translations.
Setup
{
"mcpServers": {
"i18next-translation": {
"command": "npx",
"args": [
"-y",
"i18next-mcp-server@latest"
],
"env": {
"I18N_PROJECT_ROOT": "/path/to/your/project",
"I18N_LOCALES_PATH": "public/locales",
"I18N_DEFAULT_LANGUAGE": "en",
"I18N_SUPPORTED_LANGUAGES": "en,es,fr"
}
}
}
}
{
"mcpServers": {
"i18next-translation": {
"command": "npx",
"args": [
"-y",
"i18next-mcp-server@latest"
],
"env": {
"I18N_PROJECT_ROOT": "/path/to/your/project",
"I18N_LOCALES_PATH": "public/locales",
"I18N_DEFAULT_LANGUAGE": "en",
"I18N_SUPPORTED_LANGUAGES": "en,es,fr"
}
}
}
}
{
"servers": {
"i18next-translation": {
"command": "npx",
"args": [
"-y",
"i18next-mcp-server@latest"
],
"env": {
"I18N_PROJECT_ROOT": "/path/to/your/project",
"I18N_LOCALES_PATH": "public/locales",
"I18N_DEFAULT_LANGUAGE": "en",
"I18N_SUPPORTED_LANGUAGES": "en,es,fr"
}
}
}
}
I18next Mcp Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"i18next-translation": {
"command": "npx",
"args": [
"-y",
"i18next-mcp-server@latest"
],
"env": {
"I18N_PROJECT_ROOT": "/path/to/your/project",
"I18N_LOCALES_PATH": "public/locales",
"I18N_DEFAULT_LANGUAGE": "en",
"I18N_SUPPORTED_LANGUAGES": "en,es,fr"
}
}
}
}
I18next Mcp Server tools
-
get_project_info
— Get information about the translation project configuration and status
(no parameters) -
health_check
— Perform comprehensive health check on translation files
languages:array, namespaces:array, detailed:boolean, summary:boolean -
validate_files
— Validate translation files for JSON syntax and structure issues
fix:boolean -
list_files
— List all translation files with their basic information
language:string, namespace:string -
coverage_report
— Generate comprehensive coverage report for translations
languages:array, namespaces:array -
quality_analysis
— Analyze translation quality across files
languages:array, namespaces:array -
usage_analysis
— Generate detailed usage analysis of translation keys
sourceCodePaths:array -
export_data
— Export translation data in various formats
format:string*, languages:array, namespaces:array -
sync_missing_keys
— Synchronize missing translation keys across all languages from a source language, maintaining sorted structure
sourceLanguage:string, targetLanguages:array, namespaces:array, placeholder:string, dryRun:boolean, createBackup:boolean -
add_translation_key
— Add a specific translation key with values to specified languages and namespaces
key:string*, translations:object*, namespaces:array, overwrite:boolean, createBackup:boolean -
sync_from_source
— Sync specific missing keys from source language to target languages
keys:array*, sourceLanguage:string, targetLanguages:array*, namespaces:array, copyValues:boolean, createBackup:boolean -
sync_all_missing
— Comprehensive sync to add all missing keys across all languages, ensuring complete coverage
placeholder:string, createBackup:boolean, dryRun:boolean -
get_missing_keys
— Get a detailed list of missing keys by language and namespace for targeted translation work
sourceLanguage:string, targetLanguages:array, namespaces:array, format:string -
scan_code_for_missing_keys
— Scan code for missing keys using the scanner integration
sourceCodePaths:array
Overview
What is I18next Mcp Server?
A Model Context Protocol (MCP) server that provides translation management capabilities for i18next projects, enabling AI assistants like Cursor to directly interact with translation files.
How to use I18next Mcp Server?
Run via npx: npx i18next-mcp-server@latest. Configure using environment variables (I18N_PROJECT_ROOT, I18N_LOCALES_PATH, I18N_DEFAULT_LANGUAGE, I18N_SUPPORTED_LANGUAGES). Add to Cursor MCP settings with the command and args. Available tools cover key management, file operations, scanning, and analysis.
Key features of I18next Mcp Server
- Manage translation keys across languages
- Scan source code for missing keys
- Validate JSON file syntax
- Analyze translation coverage and quality
- Sync missing keys between languages
- Export translations to various formats
Use cases of I18next Mcp Server
- Add new translation keys via AI in Cursor
- Identify and fix missing translations in codebase
- Ensure consistency of translations across all supported languages
- Generate coverage reports for translation completeness
- Validate JSON syntax of translation files
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In