
Lara Translate MCP Server
MCP翻译公司 Translated 官方 MCP:调用 Lara 专业翻译模型,支持语种检测、带上下文翻译和忠实、流畅、创意等风格,并能管理翻译记忆和术语表。需注册 Lara Translate 账号,首次使用时在浏览器登录;免费版每月有字数额度。
Lara Translate MCP Server
A Model Context Protocol (MCP) server for Lara Translate, enabling professional translation capabilities with support for language detection, context-aware translations, translation memories, and glossaries.
Lara leverages Translation Language Models (T-LMs) trained on billions of professionally translated segments, delivering domain-specific translations that capture cultural nuances and industry terminology that general-purpose LLMs often miss.
Quick Start
Pick your client below — no API keys needed, just log in through your browser.
Claude Desktop
- Go to Settings > Connectors
- Click Add Custom Connector
- Enter the name:
Lara - Enter the URL:
https://mcp-v2.laratranslate.com/v1 - Click Add, then click Connect
- Log in with your Lara Translate credentials in the browser
Done — Lara Translate is now available in your conversations.
Cursor
Once Lara Translate is listed in the official Cursor plugin marketplace, install it from inside Cursor:
- Open the plugin browser and search for Lara Translate.
- Click Install.
- The first time you use a Lara tool, your browser will open to authenticate.
In the meantime, or for manual installation, see the Client Setup Guide.
Claude Code
Once Lara Translate is listed in the official Claude Code plugin marketplace, install it from inside Claude Code:
/plugin
Search for Lara Translate and install. The first time you use a Lara tool, your browser will open to authenticate.
In the meantime, or for manual installation, see the Client Setup Guide.
Other Clients
For step-by-step OAuth setup on VS Code (GitHub Copilot), Windsurf, Cline, Continue, and more, see the Client Setup Guide.
If your client isn't listed, the general approach is to add the server URL (https://mcp-v2.laratranslate.com/v1) to your MCP config — the client will handle OAuth authentication automatically.
For a complete list of MCP-compatible clients, visit the official MCP clients page.
Verify It Works
After setup, test with a simple prompt:
Translate with Lara "Hello world" to Spanish
Your client should invoke Lara Translate and return the translation.
Available Tools
Translation
| Tool | Description |
|---|---|
translate | Translate text between languages with support for context, instructions, translation memories, glossaries, and multiple styles (faithful/fluid/creative) |
Language Detection
| Tool | Description |
|---|---|
detect_language | Detect the language of a given text or array of texts |
list_languages | List all supported language codes |
Translation Memories
| Tool | Description |
|---|---|
list_memories | List all translation memories in your account |
create_memory | Create a new translation memory |
update_memory | Update a translation memory's name |
delete_memory | Delete a translation memory |
add_translation | Add a translation unit (source + target pair) to a memory |
delete_translation | Delete a translation unit from a memory |
import_tmx | Import a TMX file into a memory |
check_import_status | Check the status of a TMX import job |
Glossaries
| Tool | Description |
|---|---|
list_glossaries | List all glossaries in your account |
get_glossary | Get details of a specific glossary |
create_glossary | Create a new glossary |
update_glossary | Update a glossary's name |
delete_glossary | Delete a glossary |
add_glossary_entry | Add or replace a term entry in a glossary |
delete_glossary_entry | Delete a term entry from a glossary |
import_glossary_csv | Import entries from a CSV file into a glossary |
check_glossary_import_status | Check the status of a glossary CSV import job |
export_glossary | Export a glossary as CSV |
get_glossary_counts | Get the number of entries in a glossary |
Authentication
OAuth 2.0 (default)
This is the method used in the Quick Start above. You provide only the server URL in your client config — no API keys needed. Your client handles the OAuth flow automatically: it opens your browser, you log in with your Lara Translate credentials, and you're connected.
For per-client OAuth setup instructions, see the Client Setup Guide.
Access Key (alternative)
If you prefer to authenticate with API keys instead of browser login, you can pass your credentials directly in the client config. Get your Access Key ID and Secret from Lara Translate.
See the Access Key section in the Client Setup Guide for config examples.
Self-Hosting
Most users can connect to the hosted endpoint (https://mcp-v2.laratranslate.com/v1) using the Quick Start instructions above. The options below are for running the server yourself.
STDIO via NPX
Requires Node.js.
{
"mcpServers": {
"lara-translate": {
"command": "npx",
"args": ["-y", "@translated/lara-mcp@latest"],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
}
}
}
}
STDIO via Docker
Requires Docker.
{
"mcpServers": {
"lara-translate": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "LARA_ACCESS_KEY_ID",
"-e", "LARA_ACCESS_KEY_SECRET",
"translatednet/lara-mcp:latest"
],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
}
}
}
}
Building from Source
Node.js
git clone https://github.com/translated/lara-mcp.git
cd lara-mcp
pnpm install
pnpm run build
Then add to your MCP config:
{
"mcpServers": {
"lara-translate": {
"command": "node",
"args": ["<FULL_PATH_TO_PROJECT>/dist/index.js"],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
}
}
}
}
Docker
git clone https://github.com/translated/lara-mcp.git
cd lara-mcp
docker build -t lara-mcp .
Then add to your MCP config:
{
"mcpServers": {
"lara-translate": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "LARA_ACCESS_KEY_ID",
"-e", "LARA_ACCESS_KEY_SECRET",
"lara-mcp"
],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
}
}
}
}
Usage Metrics
The server reports usage events to Lara so we can see which tools and options are used and which problems users run into. Usage metrics are on by default. They are pseudonymous, not anonymous: each event is tied to your Lara account id.
Events: an auth_success the first time your credentials are accepted, a
call_success / call_error per tool call, and an auth_fail when Lara
rejects your credentials (sent without an account id when the key never worked).
What is sent:
- your Lara account id (
acc_...) and the server version; - the tool name, how long the call took, and how many characters were translated;
- for
translate: the source and target language tags, the options you used, and how many text blocks, glossaries, memories and instructions the call had (how many — never which); - the kind of client (
claude,claude-code,chatgpt,cursor,codex,vscodeorother) and its version number; - the transport (
stdio/http), operating system and Node.js version; - on errors: an error category, the HTTP status and error type Lara answered with, and the names of invalid arguments.
What is never sent: the text you translate or its translation, your access key id and secret, glossary and memory ids, instructions, context, error messages, raw client names or user agents.
An installation id (a random UUID, tied to nothing) is generated the first time
an event is sent and kept at ~/.lara/installation-id — set LARA_HOME to move
it. It identifies this installation to the metrics backend, never you.
Opting out
Per call: a translate call with no_trace: true (Lara's own privacy flag)
reports nothing at all — no event of any kind is sent for that call.
Entirely: set DO_NOT_TRACK to 1, true or yes and nothing is
measured, queued, written to disk or sent:
{
"mcpServers": {
"lara-translate": {
"command": "npx",
"args": ["-y", "@translated/lara-mcp@latest"],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>",
"DO_NOT_TRACK": "1"
}
}
}
}
Metrics never block, slow down or fail a translation: events are batched, sent in the background, and a monitoring backend that is down is ignored.
Support
- For issues with Lara Translate API: visit Lara Translate Support
- For issues with this MCP server: open an issue on GitHub
相关资源

DeepL MCP Server
MCPDeepL 官方 MCP:文本翻译、文档翻译(PDF、DOCX、PPTX、XLSX 等)与改写润色,可调用账户中的术语表和风格规则;需要 DeepL API Key。
DeepL/deepl-mcp-server119
LibreTranslate-MCP
MCP开源机器翻译 LibreTranslate 的官方 MCP,提供文本翻译、语种检测和语种列表。可连 libretranslate.com(需付费 API Key),也可连自己部署的免费实例,稿件不出本机或内网,适合翻译保密材料。需要 Node.js。
LibreTranslate/LibreTranslate-MCP6
LanguageTool
CLI开源的语法、拼写与文风检查器,支持英、德、法、西、葡等 20 多种语言,可用命令行批量校对稿件,或在本机起 HTTP 检查服务供 agent 调用,适合写作者、译者与外语教师改稿。需要 Java 17(用 Homebrew 安装会自动带上)。
languagetool-org/languagetool15.2k
iFly-Skills
Skill科大讯飞官方技能合集:机器翻译、视频翻译配音、公文校对、PDF/图片与发票识别、语音转写与合成,另有合同智能审核(结果须由律师或法务复核)。需在讯飞开放平台开通对应服务并配置 AppID 与密钥,合同审核另需配置 OCR 与大模型接口。
iflytek/iFly-Skills212
iFlytek Translate(讯飞机器翻译)
Skill科大讯飞官方技能:调用讯飞机器翻译接口翻译文字或文本文件,支持中、英、日、韩、法、西、德、俄、阿拉伯等多语种互译,单次不超过 4096 字节。只需 Python 3,不用装其他依赖。需在讯飞开放平台开通机器翻译服务并配置 APPID、APIKey、APISecret,超出免费额度要购买套餐包。
iflytek/iFly-Skills212
DeepL CLI
CLIDeepL 官方命令行:翻译文本与 PDF、Word、PPT、Excel 文档并保留排版,支持术语表与翻译记忆,适合译者、律师翻译外文合同与资料(法律译文需专业人员复核)。需要 DeepL API Key(有免费账户),目前需用 Node.js 24.15+ 从源码安装。
DeepL/deepl-cli46