MCP.so
Sign In
N

Nuxt I18n Mcp

@fabkho

About Nuxt I18n Mcp

No overview available yet

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "nuxt-i18n-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "nuxt-i18n-mcp"
      ]
    }
  }
}

Tools

14

Detect the Nuxt i18n configuration from the project. Returns locales, locale directories, default locale, and fallback chain. Call this first before using other tools.

List all i18n locale directories in the project, grouped by layer. Shows file count and top-level key namespaces per layer.

Get translation values for given key paths from a specific locale and layer. Use "*" as locale to read from all locales.

Add new translation keys to the specified layer. Provide translations per locale file name. Keys are inserted in alphabetical order. Fails if a key already exists (use update_translations instead).

Update existing translation keys in the specified layer. Provide new values per locale file name. Fails if a key does not exist (use add_translations instead).

Find translation keys that exist in the reference locale but are missing in other locales. Scans a specific layer or all layers.

Find translation keys that have empty string values ("") in locale files. Unlike get_missing_translations which compares against a reference locale, this tool checks each locale independently for empty values. Useful for finding untranslated keys in the reference locale itself.

Search translation files by key pattern (glob/regex) or value substring. Useful for finding existing translations before adding duplicates.

Remove one or more translation keys from ALL locale files in the specified layer. Use dryRun to preview changes before applying them.

Rename/move a translation key across ALL locale files in a layer. Preserves the value in every locale. Use dryRun to preview changes before applying them.

Find keys missing in target locales and translate them. Uses the host LLM via MCP sampling if available, otherwise returns context for the agent to translate inline. Uses project config (glossary, translation prompt, locale notes, examples) if available.

Find translation keys that exist in locale JSON files but are not referenced in any Vue/TS source code. Scans a specific layer or all layers. Reports keys that can potentially be removed.

Scan Vue/TS source files to find where translation keys are referenced. Shows file paths and line numbers for each key. Useful for understanding where a key is used before renaming or removing it.

Find translation keys not referenced in source code and remove them. Combines find_orphan_keys + remove_translations in one step. Always does a dry run first unless dryRun is explicitly set to false.

Comments

More Other MCP servers