i18n-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@i18n-mcpList missing translation keys for the Thai locale"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
i18n-mcp
An MCP (Model Context Protocol) server that gives coding agents tools to manage
Rails-style localization files (YAML or JSON). Point it at a Rails app's
config/locales directory and the agent can read, search, write and audit
translations without hand-editing files.
Supported layouts
Both common Rails layouts are detected automatically, and can be mixed:
config/locales/
en/ # per-locale directories (nesting allowed)
common.yml # rooted at the locale code: `en: ...`
admin/users.yml
th/common.yml
legacy.yml # flat files whose top-level keys are locale codesFiles may be .yml, .yaml or .json. Writes go through the YAML AST, so
existing comments and key order survive edits. Duplicate keys are tolerated
with last-wins semantics, matching Rails (Psych). Files that cannot be parsed
are reported in locales output under problems instead of aborting
the server.
Related MCP server: i18n-mcp
Install and build
Run directly from npm without installing:
npx -y mcp-i18n --locales-dir /path/to/rails-app/config/localesOr build from source:
npm install
npm run buildUsage with an MCP client
Add the server to your MCP client configuration (Kimi Code, Claude Desktop, etc.). Via npx (no local checkout needed):
{
"mcpServers": {
"i18n": {
"command": "npx",
"args": [
"-y", "mcp-i18n",
"--locales-dir", "/path/to/rails-app/config/locales"
]
}
}
}Or from a local build:
{
"mcpServers": {
"i18n": {
"command": "node",
"args": [
"/path/to/i18n-mcp/dist/src/index.js",
"--locales-dir", "/path/to/rails-app/config/locales"
]
}
}
}Options:
--locales-dir <path>— locales directory. Falls back to theI18N_LOCALES_DIRenvironment variable, then<cwd>/config/locales.--default-file <name>— file name (relative to the locale directory) for brand-new keys. Default:common.yml(orcommon.jsonfor JSON-only locales).
Tools
Tool | Description |
| List locales with file/key counts and parse problems. |
| List translation key paths; filter by |
| Get a key's values across locales, with the file each lives in. |
| Substring search over translation keys (optionally values). |
| Create or update a key per locale. Writes to the key's current file, the nearest prefix's file, or the locale default. Warns on |
| Delete a key from locales (default: all); prunes empty parents. |
| Audit keys: missing per locale, empty values, |
Examples
// get_key
{ "key": "roles_scope.super_admin" }
// set_key
{ "key": "features.reports.title", "values": { "en": "Reports", "th": "Reports (th)" } }
// missing, scoped to one subtree
{ "prefix": "dashboards", "limit": 50 }All responses are JSON. Errors (unknown locale, missing key, write failures) are returned as tool errors with a human-readable message.
Development
npm test # vitest unit/handler tests
npm run coverage # tests + v8 coverage report (enforced thresholds: 85% lines/statements, 80% branches/functions)
npm run lint # eslint (zero errors required)
npm run typecheck # tsc --noEmit, strict (zero errors required)
npm run build # compile to dist/
npm run smoke # end-to-end test over real stdio transportMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that provides LLM agents with full access to the Texterify translation management API. It enables users to search, create, update, and delete translation keys and their values directly through natural language within their development environment.Last updated401ISC
- Alicense-qualityCmaintenanceMCP server for managing i18n JSON translation files. Provides Claude with structured read/write access to translation files for adding keys, checking coverage, and finding duplicates.Last updated2051MIT
- Alicense-qualityCmaintenanceAn MCP server that lets AI agents read and write locale JSON translation files directly from the conversation without loading the whole catalog into context.Last updated191ISC
- AlicenseAqualityAmaintenanceMCP server for managing i18n translation files — gives your AI agent full control over your app's translations without dumping entire locale files into context.Last updated1325110MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
An MCP server that gives your AI access to the source code and docs of all public github repos
Translate MCP — wraps LibreTranslate API (https://libretranslate.com/)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/skk2010/mcp_i18n'
If you have feedback or need assistance with the MCP directory API, please join our Discord server