Built by Metorial, the integration platform for agentic AI.

Learn More

Lara Translate MCP Server

Connect to Lara Translate API, enabling powerful translation capabilities with support for language detection and context-aware translations.

What is an MCP Server?

MCP Info

AttributeDetails
Docker Imagemcp/lara
Authortranslated
Repositoryhttps://github.com/translated/lara-mcp

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/translated/lara-mcp/blob/805262d71fe5caa769ea478cfa82ae46c7c0af47/Dockerfile
Commit805262d71fe5caa769ea478cfa82ae46c7c0af47
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/lara --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (12)

Tools provided by this ServerShort Description
add_translationAdds a translation to a translation memory in your Lara Translate account.
check_import_statusChecks the status of a TMX file import job in your Lara Translate account.
create_memoryCreate a translation memory with a custom name in your Lara Translate account.
delete_memoryDeletes a translation memory from your Lara Translate account.
delete_translationDeletes a translation from a translation memory from your Lara Translate account.
get_glossaryRetrieves a specific glossary by ID from your Lara Translate account.
import_tmxImports a TMX file into a translation memory in your Lara Translate account.
list_glossariesLists all glossaries in your Lara Translate account.
list_languagesLists all supported languages in your Lara Translate account.
list_memoriesLists all translation memories in your Lara Translate account.
translateTranslate text between languages with support for language detection, context-aware translations and translation memories using Lara Translate.
update_memoryUpdates a translation memory in your Lara Translate account.

Tools Details

Tool: add_translation

Adds a translation to a translation memory in your Lara Translate account.

ParametersTypeDescription
idarrayThe ID or list of IDs where to save the translation unit. Format: mem_xyz123
sentencestringThe source sentence
sourcestringThe source language code of the sentence, it MUST be a language supported by the system, use the list_languages tool to get a list of all the supported languages
targetstringThe target language code of the translation, it MUST be a language supported by the system, use the list_languages tool to get a list of all the supported languages
translationstringThe translated sentence
sentence_afterstring optionalThe sentence after the source sentence to specify the context of the translation unit
sentence_beforestring optionalThe sentence before the source sentence to specify the context of the translation unit
tuidstring optionalTranslation Unit unique identifier

Tool: check_import_status

Checks the status of a TMX file import job in your Lara Translate account.

ParametersTypeDescription
idstringThe ID of the import job

Tool: create_memory

Create a translation memory with a custom name in your Lara Translate account. Translation memories store pairs of source and target text segments (translation units) for reuse in future translations.

ParametersTypeDescription
namestring
external_idstring optionalThe ID of the memory to be imported from MyMemory. Use this to initialize the memory with external content. Format: ext_my_[MyMemory ID]

Tool: delete_memory

Deletes a translation memory from your Lara Translate account.

ParametersTypeDescription
idstringThe unique identifier of the memory to update. Format: mem_xyz123

Tool: delete_translation

Deletes a translation from a translation memory from your Lara Translate account.

ParametersTypeDescription
idarrayThe ID or list of IDs where to delete the translation unit from. Format: mem_xyz123
sentencestringThe source sentence
sourcestringThe source language code of the sentence
targetstringThe target language code of the translation
translationstringThe translated sentence
sentence_afterstring optionalThe sentence after the source sentence to specify the context of the translation unit
sentence_beforestring optionalThe sentence before the source sentence to specify the context of the translation unit
tuidstring optionalTranslation Unit unique identifier

Tool: get_glossary

Retrieves a specific glossary by ID from your Lara Translate account. Returns null if the glossary is not found.

ParametersTypeDescription
idstringThe glossary ID (format: gls_*, e.g., 'gls_xyz123')

Tool: import_tmx

Imports a TMX file into a translation memory in your Lara Translate account.

ParametersTypeDescription
idstringThe ID of the memory to update. Format: mem_xyz123.
tmx_contentstringThe content of the tmx file to upload.

Tool: list_glossaries

Lists all glossaries in your Lara Translate account. Glossaries are collections of terms with their translations that enforce specific terminology during translation.

Tool: list_languages

Lists all supported languages in your Lara Translate account.

Tool: list_memories

Lists all translation memories in your Lara Translate account.

Tool: translate

Translate text between languages with support for language detection, context-aware translations and translation memories using Lara Translate.

ParametersTypeDescription
targetstringThe target language code (e.g., 'it-IT' for Italian). This specifies the language you want the text translated into.
textarrayAn array of text blocks to translate. Each block contains a text string and a boolean indicating whether it should be translated. This allows for selective translation where some text blocks can be preserved in their original form while others are translated.
adapt_toarray optionalA list of translation memory IDs for adapting the translation.
contextstring optionalAdditional context string to improve translation quality (e.g., 'This is a legal document' or 'Im talking with a doctor'). This helps the translation system better understand the domain.
glossariesarray optionalArray of glossary IDs to apply during translation (max 10). IDs must match format: gls_* (e.g., ['gls_xyz123', 'gls_abc456']). Glossaries enforce specific terminology and terms.
instructionsarray optionalA list of instructions to adjust the network’s behavior regarding the output (e.g., 'Use a formal tone').
no_traceboolean optionalPrivacy flag. If set to true, the translation request will not be traced or logged. Use for sensitive content.
prioritystring optionalTranslation priority. 'normal' for real-time translations, 'background' for batch processing with lower priority.
sourcestring optionalThe source language code (e.g., 'en-EN' for English). If not specified, the system will attempt to detect it automatically. If you have a hint about the source language, you should specify it in the source_hint field.
source_hintstring optionalUsed to guide language detection. Specify this when the source language is uncertain to improve detection accuracy.
timeout_in_millisinteger optionalCustom timeout for the translation request in milliseconds. Max: 300000ms (5 minutes). Useful for very long texts.

Tool: update_memory

Updates a translation memory in your Lara Translate account.

ParametersTypeDescription
idstringThe unique identifier of the memory to update. Format: mem_xyz123
namestring

Use this MCP Server

{
  "mcpServers": {
    "lara": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "LARA_ACCESS_KEY_ID",
        "-e",
        "LARA_ACCESS_KEY_SECRET",
        "mcp/lara"
      ],
      "env": {
        "LARA_ACCESS_KEY_ID": "YOUR_LARA_ACCESS_KEY_ID",
        "LARA_ACCESS_KEY_SECRET": "YOUR_LARA_ACCESS_KEY_SECRET"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?