ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

I18n Codelens MCP

โดย hepterรุ่น 2.0.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.hepter/i18n-codelens-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "i18n-codelens": {
      "command": "npx",
      "args": [
        "-y",
        "i18n-codelens-mcp"
      ],
      "env": {
        "WORKSPACE_ROOT": "ใส่ค่าของคุณ",
        "I18N_GLOB": "ใส่ค่าของคุณ",
        "I18N_CODE_GLOB": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add i18n-codelens --env WORKSPACE_ROOT='ใส่ค่าของคุณ' --env I18N_GLOB='ใส่ค่าของคุณ' --env I18N_CODE_GLOB='ใส่ค่าของคุณ' -- npx -y i18n-codelens-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "i18n-codelens": {
      "command": "npx",
      "args": [
        "-y",
        "i18n-codelens-mcp"
      ],
      "env": {
        "WORKSPACE_ROOT": "ใส่ค่าของคุณ",
        "I18N_GLOB": "ใส่ค่าของคุณ",
        "I18N_CODE_GLOB": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "i18n-codelens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "i18n-codelens-mcp"
      ],
      "env": {
        "WORKSPACE_ROOT": "ใส่ค่าของคุณ",
        "I18N_GLOB": "ใส่ค่าของคุณ",
        "I18N_CODE_GLOB": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • WORKSPACE_ROOT env
    Absolute path of the project whose locale files should be managed. Defaults to CLAUDE_PROJECT_DIR or the working directory.
  • I18N_GLOB env
    Glob for locale JSON files (default **/locales/**/*.json).
  • I18N_CODE_GLOB env
    Glob for source files scanned for t("key") references (default **/*.{ts,tsx,js,jsx}).

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub hepter ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32678 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 32% ของอีก 32678 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32678 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

I18n Codelens MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.0.0) เข้า registry 2 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Starreel

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

Starreel

โดย starreel

Turn a script into a finished, downloadable short-drama episode — via MCP or REST.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

i18n-codelens-mcp

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.

  • Compact by design. Ten tools, single-line JSON results, no echoed input, limit/includeValues everywhere. A typical read costs 50-200 tokens.
  • Safe by construction. No write path can reduce a locale file's key set; mixed flat/nested files are edited in place, never converted; upserts report conflicts instead of overwriting.
  • Current MCP. Built on the TypeScript SDK v2: protocol revision 2026-07-28 and the 2025 revisions, server instructions, prompts (slash commands), cache hints and elicitation-based confirmation for destructive tools.
  • Any layout. 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.

Requirements

  • Node.js 20 or newer
  • Locale resources as JSON files
  • An MCP client that supports stdio servers

Install

npx -y i18n-codelens-mcp

or

npm install -g i18n-codelens-mcp

Client setup

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 reports unknown option '-y'. If that happens, quote the separator as '--', or run the command from cmd, Git Bash or WSL.

Claude Code
# for the whole team: writes .mcp.json in the repo

claude mcp add --scope project i18n-codelens -- npx -y i18n-codelens-mcp

just for you, in every project

claude mcp add --scope user i18n-codelens -- npx -y i18n-codelens-mcp

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.

Manual configuration

Project scope is .mcp.json in the repository root:

{

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

Google Antigravity
agy mcp add i18n-codelens -- npx -y i18n-codelens-mcp

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.

Manual configuration

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.

{

"mcpServers": { "i18n-codelens": { "command": "npx", "args": ["-y", "i18n-codelens-mcp"], "cwd": "/absolute/path/to/project", "env": { "WORKSPACE_ROOT": "/absolute/path/to/project" } } } }

Antigravity also accepts disabled: true and disabledTools: ["i18n_format_resources"] per server.

Gemini CLI
gemini mcp add -s user i18n-codelens npx -y i18n-codelens-mcp

Use -s project to write the project's settings instead. Gemini takes the command and its arguments positionally, so no -- is needed.

OpenAI Codex CLI
codex mcp add i18n-codelens -- npx -y i18n-codelens-mcp

Manual configuration

~/.codex/config.toml:

[mcp_servers.i18n-codelens]

command = "npx" args = ["-y", "i18n-codelens-mcp"]

VS Code and Copilot Chat
code --add-mcp "{\"name\":\"i18n-codelens\",\"command\":\"npx\",\"args\":[\"-y\",\"i18n-codelens-mcp\"]}"

That writes the user profile. MCP: Add Server in the Command Palette does the same through a guided flow and can target the workspace.

Manual configuration

.vscode/mcp.json in the repository, which you can commit:

{

"servers": { "i18n-codelens": { "type": "stdio", "command": "npx", "args": ["-y", "i18n-codelens-mcp"], "env": { "WORKSPACE_ROOT": "${workspaceFolder}" } } } }

OpenCode
opencode mcp add i18n-codelens -- npx -y i18n-codelens-mcp

Manual configuration

opencode.json in the project root, or ~/.config/opencode/opencode.json:

{

"$schema": "https://opencode.ai/config.json", "mcp": { "i18n-codelens": { "type": "local", "command": ["npx", "-y", "i18n-codelens-mcp"], "enabled": true } } }

GitHub Copilot CLI

Copilot CLI adds servers from inside a session rather than from the shell. Start copilot, then:

/mcp add

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.

Manual configuration

User level is ~/.copilot/mcp-config.json; for a repository commit .github/mcp.json, or drop an uncommitted .mcp.json at the project root.

{

"mcpServers": { "i18n-codelens": { "type": "local", "command": "npx", "args": ["-y", "i18n-codelens-mcp"], "env": {}, "tools": ["*"] } } }

Cursor, Windsurf, Claude Desktop, Kiro, Cline and Roo Code

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 and Windsurf

.cursor/mcp.json in the project or ~/.cursor/mcp.json; Windsurf uses ~/.codeium/windsurf/mcp_config.json.

{

"mcpServers": { "i18n-codelens": { "command": "npx", "args": ["-y", "i18n-codelens-mcp"], "env": { "WORKSPACE_ROOT": "/absolute/path/to/project" } } } }

cursor-agent mcp list and cursor-agent mcp enable i18n-codelens manage it from the terminal once it is configured.

Claude Desktop

Open Settings → Developer → Edit Config.

{

"mcpServers": { "i18n-codelens": { "command": "npx", "args": ["-y", "i18n-codelens-mcp"], "env": { "WORKSPACE_ROOT": "/absolute/path/to/project" } } } }

Kiro

Command palette: Kiro: Open workspace MCP config (JSON) for .kiro/settings/mcp.json, or the user config at ~/.kiro/settings/mcp.json.

{

"mcpServers": { "i18n-codelens": { "command": "npx", "args": ["-y", "i18n-codelens-mcp"], "env": { "WORKSPACE_ROOT": "/absolute/path/to/project" }, "disabled": false, "autoApprove": ["i18n_project_info", "i18n_get_translations", "i18n_search_keys", "i18n_file_keys", "i18n_key_references", "i18n_audit"] } } }

Zed

~/.config/zed/settings.json, or .zed/settings.json for the team. Zed calls MCP servers context_servers.

{

"context_servers": { "i18n-codelens": { "source": "custom", "command": "npx", "args": ["-y", "i18n-codelens-mcp"], "env": { "WORKSPACE_ROOT": "/absolute/path/to/project" } } } }

Cline and Roo Code

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.

{

"mcpServers": { "i18n-codelens": { "command": "npx", "args": ["-y", "i18n-codelens-mcp"], "env": { "WORKSPACE_ROOT": "/absolute/path/to/project" }, "disabled": false, "autoApprove": [] } } }

Sharing with a team

Commit a project-level configuration so every teammate and every agent picks up the same server without touching global settings.

ClientProject-level fileOne-liner
Claude Code.mcp.jsonclaude 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 CLIproject settingsgemini mcp add -s project i18n-codelens npx -y i18n-codelens-mcp
OpenCodeopencode.jsonopencode 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

Workspace root

Resolution order:

  1. Per-tool workspaceDir argument (must be inside the configured root, see below)
  2. CLI --workspaceRoot / --workspace-root
  3. WORKSPACE_ROOT
  4. CLAUDE_PROJECT_DIR (set by Claude Code)
  5. Current working directory
  6. Server package directory

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.

Configuration

VariableDefaultDescription
WORKSPACE_ROOTcwdProject root to scan and edit
I18N_GLOB**/locales/**/*.jsonLocale JSON glob
I18N_CODE_GLOB**/*.{ts,tsx,js,jsx}Source glob for key scans
I18N_CODE_REGEXbuilt-inRegex with a named group key; the default matches t("key"), T('key'), i18n.t("key") and /** @i18n */ "key"
I18N_IGNOREnode_modules, .git, dist, build, out, coverage, .next, .turbo, .cacheJSON array or comma/semicolon list of globs; .gitignore is honoured as well
I18N_STRUCTUREautoWrite shape: auto (keep), flat, nested
I18N_INSERT_ORDERnearbyWhere new keys go: nearby, append, sort
I18N_NS_SEPARATOR:Separator between namespace and key for {locale}/{namespace}.json layouts
I18N_DEFAULT_NSunsetNamespace used for keys written without one in a namespaced project
I18N_ALLOW_ANY_WORKSPACEunsetLet workspaceDir escape the configured root
I18N_MCP_LOG_PORTunsetLog relay used by the VS Code extension

Tools

ToolWritesPurpose
i18n_project_infoNoLocales, key format, counts, config, warnings. Call once per session.
i18n_get_translationsNoValues of keys per locale; nav. returns a namespace; includeValues:false for presence only
i18n_search_keysNoSubstring search in keys or values, optional keyPrefix; marks keys missing in some locales
i18n_file_keysNoKeys one source file uses and the locales lacking each
i18n_key_referencesNoWhere keys are used in code (path:line:col)
i18n_auditNomissing, placeholders, code (used but untranslated), unused; pick checks
i18n_upsert_translationsYesCreate/update keys with a value per locale; writes immediately, never deletes, conflicts unless overwrite:true

| i18n_delete_keys | Yes | Remove keys; previews unless

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx