Labsco
translated logo

Lara Translate

โ˜… 90

from translated

Translate text with language detection, context-awareness, and translation memories using the Lara Translate API.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

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.

License Docker Pulls npm downloads

Available Tools

Translation

ToolDescription
translateTranslate text between languages with support for context, instructions, translation memories, glossaries, and multiple styles (faithful/fluid/creative)

Language Detection

ToolDescription
detect_languageDetect the language of a given text or array of texts
list_languagesList all supported language codes

Translation Memories

ToolDescription
list_memoriesList all translation memories in your account
create_memoryCreate a new translation memory
update_memoryUpdate a translation memory's name
delete_memoryDelete a translation memory
add_translationAdd a translation unit (source + target pair) to a memory
delete_translationDelete a translation unit from a memory
import_tmxImport a TMX file into a memory
check_import_statusCheck the status of a TMX import job

Glossaries

ToolDescription
list_glossariesList all glossaries in your account
get_glossaryGet details of a specific glossary
create_glossaryCreate a new glossary
update_glossaryUpdate a glossary's name
delete_glossaryDelete a glossary
add_glossary_entryAdd or replace a term entry in a glossary
delete_glossary_entryDelete a term entry from a glossary
import_glossary_csvImport entries from a CSV file into a glossary
check_glossary_import_statusCheck the status of a glossary CSV import job
export_glossaryExport a glossary as CSV
get_glossary_countsGet 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.

Copy & paste โ€” that's it
{
  "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.

Copy & paste โ€” that's it
{
  "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

Copy & paste โ€” that's it
git clone https://github.com/translated/lara-mcp.git
cd lara-mcp
pnpm install
pnpm run build

Then add to your MCP config:

Copy & paste โ€” that's it
{
  "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

Copy & paste โ€” that's it
git clone https://github.com/translated/lara-mcp.git
cd lara-mcp
docker build -t lara-mcp .

Then add to your MCP config:

Copy & paste โ€” that's it
{
  "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>"
      }
    }
  }
}

Support