Nuxt I18n Mcp

by fabkho

99 downloads
Not rated
GitHub

About

Nuxt I18n Mcp.

Details

Author
fabkho
Downloads
99
Categories
Other

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Nuxt I18n Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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

detect_i18n_config

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_locale_dirs

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

get_translations

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

add_translations

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_translations

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).

get_missing_translations

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

find_empty_translations

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_translations

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

remove_translations

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

rename_translation_key

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.

translate_missing

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_orphan_keys

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_code_usage

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.

cleanup_unused_translations

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

{
    "nuxt-i18n-mcp": {
        "type": "stdio",
        "command": "npx",
        "args": [
            "nuxt-i18n-mcp"
        ]
    }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.