MCP.so
登录
I

I18next MCP Server

@gtrias

基本信息

分类

其他

传输方式

stdio

作者

gtrias

提交者

Genar Trias Ortiz

关于 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#translations#l10n#mcp-server#ai-tools

I18next MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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 工具

14

Get information about the translation project configuration and status

Perform comprehensive health check on translation files

Validate translation files for JSON syntax and structure issues

List all translation files with their basic information

Generate comprehensive coverage report for translations

Analyze translation quality across files

Generate detailed usage analysis of translation keys

Export translation data in various formats

Synchronize missing translation keys across all languages from a source language, maintaining sorted structure

Add a specific translation key with values to specified languages and namespaces

Sync specific missing keys from source language to target languages

Comprehensive sync to add all missing keys across all languages, ensuring complete coverage

Get a detailed list of missing keys by language and namespace for targeted translation work

Scan code for missing keys using the scanner integration

概览

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

FAQ from I18next Mcp Server

What is the expected project structure?

评论

其他 分类下的更多 MCP 服务器