Lara Translate

Lara Translate

An MCP server enabling Lara Translate API translations with language detection, context-aware translations, and translat

75
Stars
13
Forks
0
Releases

Overview

Lara Translate MCP Server implements the Model Context Protocol to expose Lara Translate's translation capabilities to AI applications via MCP. It enables tool and resource discovery, request validation, and transformation of translation requests into Lara Translate API calls, with results returned to MCP clients. The server offers a Translation tool (translate) that translates an array of text blocks, where each block can be flagged as translatable, and supports optional source language, target language, context, instructions, and a source_hint to improve detection. The translation results preserve the original structure. In addition, the server provides a robust Translation Memories toolkit, including list_memories, create_memory, update_memory, delete_memory, add_translation, delete_translation, and import_tmx for loading TMX data. The TMX import workflow can also be monitored via check_import_status. This MCP integration enables AI applications to access Lara Translate's domain-aware translations without exposing credentials, and to adjust translation behavior through context, instructions, and domain-specific memories. The architecture emphasizes non-English language quality, parallel processing, and cost efficiency by pre-processing translations before engaging language models.

Details

Owner
translated
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

translate - Translate text between languages

Translates an array of text blocks between languages, with per-block translatability, optional source and target languages, context, instructions, and a source_hint; returns translated blocks preserving structure.

list_memories - List saved translation memories

Returns an array of memories and their details.

create_memory - Create a new translation memory

Inputs: name, external_id. Returns: created memory data.

update_memory - Update translation memory name

Inputs: id, name. Returns: updated memory data.

delete_memory - Delete a translation memory

Inputs: id. Returns: Deleted memory data.

add_translation - Add a translation unit to memory

Inputs: id (or ids), source, target, sentence, translation, tuid (optional), sentence_before (optional), sentence_after (optional). Returns: Added translation details.

delete_translation - Delete a translation unit from memory

Inputs: id, source, target, sentence, translation, tuid (optional), sentence_before (optional), sentence_after (optional). Returns: Removed translation details.

import_tmx - Import a TMX file into a memory

Inputs: id, tmx_content, gzip. Returns: Import details.

Audience

AI developersIntegrate Lara Translate translations into MCP-enabled AI applications, enabling language-aware responses.
MCP clientsConfigure and use Lara Translate MCP with compatible clients to perform translations.
Localization teamsManage terminology, translation memories, and TMX imports within MCP-driven localization workflows.

Tags

MCPLara Translatetranslationlanguage detectioncontext-awaretranslation memoriesTMXtoolsAPI gateway