gtrias/i18next-mcp-server
If you are the rightful owner of i18next-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The i18next MCP Server is a Model Context Protocol server designed to manage translations for i18next projects, facilitating direct interaction with translation files by AI assistants like Cursor.
The i18next MCP Server is a robust tool that streamlines the management of translation files for projects using the i18next framework. It acts as a bridge between translation files and AI assistants, enabling seamless interaction and management of translations. This server is particularly useful for developers looking to automate and enhance their translation workflows, ensuring that all translation keys are accounted for and properly managed across different languages. With its easy setup and comprehensive toolset, the i18next MCP Server is an invaluable asset for projects requiring efficient translation management. It supports various operations such as adding new translation keys, syncing missing keys, and analyzing translation quality, making it a versatile solution for multilingual projects.
Features
- Easy setup with npx, no installation required.
- Comprehensive toolset for managing translation keys and files.
- Supports multiple languages with customizable settings.
- Provides detailed analysis and reports on translation coverage and quality.
- Integrates seamlessly with AI assistants like Cursor.
Usages
usage with cursor
{ "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" } } } }
Tools
get_project_info
Get project configuration and statistics.
health_check
Analyze translation file health and completeness.
scan_code_for_missing_keys
Find missing translation keys in your code.
add_translation_key
Add new translation keys.
sync_missing_keys
Sync missing keys between languages.
get_missing_keys
List missing keys by language.
list_files
List all translation files.
validate_files
Validate JSON syntax.
export_data
Export translations to various formats.
coverage_report
Translation coverage statistics.
usage_analysis
Find unused translation keys.
quality_analysis
Analyze translation quality.