Skip to content
VS Code

i18n codelens mcp for VS Code

io.github.hepter/i18n-codelens-mcp

Inspect, audit and safely edit i18n locale JSON files from AI agents.

client:VS Code transport:stdio runtime:npm

Install i18n codelens mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "workspace-root",
      "description": "WORKSPACE_ROOT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "i18n-glob",
      "description": "I18N_GLOB",
      "password": true
    },
    {
      "type": "promptString",
      "id": "i18n-code-glob",
      "description": "I18N_CODE_GLOB",
      "password": true
    }
  ],
  "servers": {
    "i18n-codelens-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "i18n-codelens-mcp"
      ],
      "env": {
        "WORKSPACE_ROOT": "${input:workspace-root}",
        "I18N_GLOB": "${input:i18n-glob}",
        "I18N_CODE_GLOB": "${input:i18n-code-glob}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

i18n codelens mcp in other clients