Inspect, audit and safely edit i18n locale JSON files from AI agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Model Context Protocol (MCP) server for i18n translation files. It lets AI agents (Claude Code, Cursor, Antigravity, GitHub Copilot, Codex, Gemini CLI and any other MCP client) inspect, audit and safely edit locale JSON files without ever loading a whole locale file into the model context.
limit/includeValues everywhere. A typical read costs 50-200 tokens.locales/en.json, locales/en-US.json, messages.en.json and i18next-style locales/en/common.json (namespace files, keys as common:nav.home).This package is also the MCP backend of the i18n CodeLens VS Code extension.
Every command below registers the same thing: a stdio server named i18n-codelens running npx -y i18n-codelens-mcp. Pick your client, run one line, done.
The server needs to know which project to work on. Most clients start it in the project directory, and Claude Code passes the project root explicitly, so nothing else is needed. When your client starts the server from somewhere else, add the project path with the client's env flag, for example -e WORKSPACE_ROOT=/absolute/path/to/project.
Windows PowerShell: PowerShell can swallow a bare
--before it reaches the CLI, which then reportsunknown option '-y'. If that happens, quote the separator as'--', or run the command fromcmd, Git Bash or WSL.
Claude Code sets CLAUDE_PROJECT_DIR for stdio servers, so the server always finds the right project. Its tool-search feature defers MCP tools; i18n_upsert_translations and i18n_get_translations are marked anthropic/alwaysLoad so the two everyday tools need no lookup. The prompts show up as /i18n-codelens:audit, /i18n-codelens:add-key and /i18n-codelens:translate-missing.
Project scope is .mcp.json in the repository root:
agy mcp list, agy mcp disable i18n-codelens and agy mcp remove i18n-codelens manage it afterwards. Inside the IDE, /mcp opens the MCP manager.
Global is ~/.gemini/config/mcp_config.json (Windows: %USERPROFILE%\.gemini\config\mcp_config.json), per project .agents/mcp_config.json. In the IDE: β¦ β MCP Servers β Manage MCP Servers β View raw config.
Antigravity also accepts disabled: true and disabledTools: ["i18n_format_resources"] per server.
Use -s project to write the project's settings instead. Gemini takes the command and its arguments positionally, so no -- is needed.
~/.codex/config.toml:
That writes the user profile. MCP: Add Server in the Command Palette does the same through a guided flow and can target the workspace.
.vscode/mcp.json in the repository, which you can commit:
opencode.json in the project root, or ~/.config/opencode/opencode.json:
Copilot CLI adds servers from inside a session rather than from the shell. Start copilot, then:
Fill in the form: Server Name i18n-codelens, Server Type STDIO, Command npx -y i18n-codelens-mcp. /mcp, /mcp show i18n-codelens and /mcp delete i18n-codelens manage it afterwards.
User level is ~/.copilot/mcp-config.json; for a repository commit .github/mcp.json, or drop an uncommitted .mcp.json at the project root.
These clients have no command to add a server, so the configuration file is the way in. The shape is the same everywhere; only the path differs.
.cursor/mcp.json in the project or ~/.cursor/mcp.json; Windsurf uses ~/.codeium/windsurf/mcp_config.json.
cursor-agent mcp list and cursor-agent mcp enable i18n-codelens manage it from the terminal once it is configured.
Open Settings β Developer β Edit Config.
Command palette: Kiro: Open workspace MCP config (JSON) for .kiro/settings/mcp.json, or the user config at ~/.kiro/settings/mcp.json.
~/.config/zed/settings.json, or .zed/settings.json for the team. Zed calls MCP servers context_servers.
Open the extension panel β MCP Servers β Configure MCP Servers. Cline writes cline_mcp_settings.json, Roo Code mcp_settings.json or .roo/mcp.json per project.
Commit a project-level configuration so every teammate and every agent picks up the same server without touching global settings.
| Client | Project-level file | One-liner |
|---|---|---|
| Claude Code | .mcp.json | claude mcp add --scope project i18n-codelens -- npx -y i18n-codelens-mcp |
| Antigravity | .agents/mcp_config.json | |
| GitHub Copilot CLI | .github/mcp.json or .mcp.json | |
| VS Code / Copilot Chat | .vscode/mcp.json | |
| Gemini CLI | project settings | gemini mcp add -s project i18n-codelens npx -y i18n-codelens-mcp |
| OpenCode | opencode.json | opencode mcp add i18n-codelens -- npx -y i18n-codelens-mcp |
| Cursor | .cursor/mcp.json | |
| Kiro | .kiro/settings/mcp.json | |
| Zed | .zed/settings.json | |
| Roo Code | .roo/mcp.json |
Resolution order:
workspaceDir argument (must be inside the configured root, see below)--workspaceRoot <path> / --workspace-root <path>WORKSPACE_ROOTCLAUDE_PROJECT_DIR (set by Claude Code)The workspaceDir tool argument can only select a sub-directory of the configured root. A model cannot point the server at another directory on disk unless the server is started with I18N_ALLOW_ANY_WORKSPACE=1.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/i18n-codelens-mcp)<a href="https://allmcps.com/mcp/i18n-codelens-mcp"><img src="https://allmcps.com/api/badge/i18n-codelens-mcp?style=directory" alt="I18n Codelens MCP on AllMCPs" /></a>