
Smartling MCP Docker
MCPSmartling 官方的 Docker 版 MCP,封装官方 smartling-cli:本地化团队可以让 agent 列出项目和目标语言、上传待译文件、拉取译文、查看翻译进度、调用机器翻译、导入导出术语表。需要装 Docker,并准备 Smartling 账号的 API 凭据(用户 ID、密钥、项目 ID 和账户 ID)。
Smartling MCP Docker
A Docker-based MCP (Model Context Protocol) server that wraps smartling-cli — the official Smartling command-line tool. This MCP server is a thin wrapper and can only do what smartling-cli supports. Refer to the smartling-cli documentation for the full list of capabilities and limitations.
Requirements
- Docker
- Smartling account credentials
Tools
| Tool | Description |
|---|---|
smartling-cli | Run any smartling-cli command (projects, files, mt) |
smartling-ls | List files in /smartling or a subdirectory |
smartling-cat | Print the contents of a file inside /smartling |
Setup
1. Pull the image
docker pull smartlinginc/smartling-cli-mcp
2. Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"smartling": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "SMARTLING_USER_ID",
"-e", "SMARTLING_SECRET",
"-e", "SMARTLING_PROJECT_ID",
"-e", "SMARTLING_ACCOUNT_ID",
"-v", "/absolute/path/to/your/project:/smartling",
"smartlinginc/smartling-cli-mcp"
],
"env": {
"SMARTLING_USER_ID": "your-user-id",
"SMARTLING_SECRET": "your-secret",
"SMARTLING_PROJECT_ID": "your-project-id",
"SMARTLING_ACCOUNT_ID": "your-account-id"
}
}
}
}
Important: The volume mount must map to
/smartlinginside the container. Thesmartling-lsandsmartling-cattools only work within that path.
SMARTLING_ACCOUNT_IDis required for most commands (files push,projects list,glossaries *, etc.). The MCP server injects it automatically as-a <account-id>— it is not natively supported by the CLI as an env var.
To use a custom smartling.yml (e.g. with file type mappings), mount it into /app/smartling.yml inside the container:
"-v", "/absolute/path/to/your/project:/smartling",
"-v", "/absolute/path/to/smartling.yml:/app/smartling.yml",
Restart Claude Desktop after editing the config.
3. Configure Claude Code
Add to your project's .claude/settings.json or run /mcp in Claude Code:
{
"mcpServers": {
"smartling": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "SMARTLING_USER_ID",
"-e", "SMARTLING_SECRET",
"-e", "SMARTLING_PROJECT_ID",
"-e", "SMARTLING_ACCOUNT_ID",
"-v", "/absolute/path/to/your/project:/smartling",
"smartlinginc/smartling-cli-mcp"
],
"env": {
"SMARTLING_USER_ID": "your-user-id",
"SMARTLING_SECRET": "your-secret",
"SMARTLING_PROJECT_ID": "your-project-id",
"SMARTLING_ACCOUNT_ID": "your-account-id"
}
}
}
}
With a custom smartling.yml:
{
"mcpServers": {
"smartling": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "SMARTLING_USER_ID",
"-e", "SMARTLING_SECRET",
"-e", "SMARTLING_PROJECT_ID",
"-e", "SMARTLING_ACCOUNT_ID",
"-v", "/absolute/path/to/your/project:/smartling",
"-v", "/absolute/path/to/smartling.yml:/app/smartling.yml",
"smartlinginc/smartling-cli-mcp"
],
"env": {
"SMARTLING_USER_ID": "your-user-id",
"SMARTLING_SECRET": "your-secret",
"SMARTLING_PROJECT_ID": "your-project-id",
"SMARTLING_ACCOUNT_ID": "your-account-id"
}
}
}
}
Usage examples
Once configured, ask Claude naturally:
- "List my Smartling projects"
- "Show files available for translation"
- "Push /smartling/en/strings.json to Smartling with URI en/strings.json"
- "Pull Spanish translations for all JSON files into /smartling"
- "Check translation status for my project"
- "Machine translate /smartling/en/strings.json to French"
Available smartling-cli commands
PROJECTS
projects list List all projects in the account
projects info Show details about the current project
projects locales List target locales
-s, --short Locale IDs only
--source Source locale only
--format '<go-template>' Custom output format
FILES
files list ['<mask>'] List files in project
--short URIs only
files push <file> [<uri>] Upload a file
--type <type> Override file type (e.g. json, plaintext)
-b, --branch <prefix> Add branch prefix; @auto detects git branch
--directive <directive> Set file-level directive
files pull ['<mask>'] Download translated files
--source Download source only
-l <locale> Target locale (repeatable)
files delete ['<mask>'] Delete files
files rename <old-uri> <new-uri> Rename a file URI
files status Show translation progress
MT (Machine Translation)
mt detect '<mask>' Detect source language
-s, --short Output locale code only
--output table|json Output format
mt translate '<mask>' Machine translate files
-l, --target-locale <locale> Target locale (repeatable)
--source-locale <locale> Source language (auto-detected if omitted)
--input-directory <dir> Source directory
--output-directory <dir> Output directory
GLOSSARIES
glossaries list List glossaries in the account
--name <name> Filter by name
--output simple|table|json Output format
glossaries create <name> Create a new glossary
--locale <locale> Add a locale (repeatable)
--description <text> Optional description
--verification-mode Enable verification mode
--fallback-locale <from>:<to[,to]> Fallback locale mapping (repeatable)
glossaries export <uid|name> [file] Export glossary entries to a file
--file-type csv|xlsx|tbx Export file format (required)
--tbx-version v2|v3 TBX version (required when --file-type=tbx)
--focus-locale <locale> Focus locale for the export
--locale <locale> Include locale in export (repeatable)
--skip-entries Skip glossary entries in the export
--filter-query <text> Filter entries by free-text query
--filter-entry-state <state> Filter entries by state
--filter-locale <locale> Filter by locale ID (repeatable)
--filter-entry-uid <uid> Filter by entry UID (repeatable)
--filter-missing-translation-locale Filter: locale missing a translation
--filter-present-translation-locale Filter: locale with a translation
--filter-created-date <RFC3339> Filter by created date
--filter-last-modified-date <RFC3339> Filter by last modified date
glossaries import <uid|name> <file> Import glossary from CSV/XLSX/TBX
--archive-mode Archive entries missing from the file
--media-type <type> Override media type detection
GLOBAL FLAGS
-a, --account <account-id> Override account ID
-p, --project <project-id> Override project ID
Full documentation: smartling-cli wiki
相关资源

Tolgee Platform
MCP开源、可自托管的软件本地化平台 Tolgee,内置 MCP 服务:译者和本地化负责人可以让 agent 搜索词条、新建和修改译文、管理语言、调用机器翻译。可以用 Tolgee Cloud,也可以用自建实例;需要在账号设置里生成项目 API Key 或个人访问令牌。
tolgee/tolgee-platform4.2k
Weblate MCP Server
MCP连接开源翻译平台 Weblate(自建或托管版均可)的社区 MCP,翻译人员可以用自然语言查找未翻译或需修改的词条、批量写入译文,查看各语言的翻译进度和修改记录。需要 Weblate API 地址和 Token,本机装有 Node.js。
mmntm/weblate-mcp24
POEditor MCP Server
MCPPOEditor 官方远程 MCP,翻译和本地化人员可以在对话里管理项目、词条和译文,调用 Google、微软、DeepL 自动翻译,做质量检查并导出语言文件。需要 POEditor 账号,首次连接用浏览器登录或填 API Token。
POEditor/poeditor-mcp1
SimpleLocalize MCP Server
MCPSimpleLocalize 官方 MCP,翻译和本地化人员可以在对话里查看、修改词条与译文,发起自动翻译,维护术语表,并导出或发布翻译文件。需要 SimpleLocalize 项目的 API Key,本机装有 Node.js。
simplelocalize/simplelocalize-mcp-server0
Amazon Translate MCP Server
MCPAWS 官方 MCP:接入 Amazon Translate,支持 75 种以上语言的翻译与语种检测,可用自定义术语表统一专有名词,也能批量翻译 S3 里的文档并分析失败任务。需 AWS 账号并在本机配置凭证,按字符计费,本机需装 uv。
awslabs/mcp9.9k
Intlayer MCP
MCPIntlayer 官方 MCP 服务器:让 agent 在接入 Intlayer 的网站项目里构建词典、用 AI 补齐缺失译文、与 Intlayer CMS 同步多语言内容并查阅文档。需要 Node.js 和已配置 Intlayer 的项目;AI 补译需自备大模型 API Key,同步 CMS 需访问凭证。
aymericzip/intlayer867