Tools
Lara
Run the Lara MCP server and tools in a Meshagent Room in the cloud with just a few steps:
Environment Variables
Set the following environment variables:
LARA_ACCESS_KEY_ID
– Your Lara Translate API key IDLARA_ACCESS_KEY_SECRET
– Your Lara Translate API key secret
1. Install Meshagent
2. Sign Up and Authenticate with Meshagent
Follow the Meshagent CLI authentication instructions:
https://docs.meshagent.com/cli/getting_started
3. Start the MCP Agent Service in a Room
- This starts a Meshagent Room (
test
) running the Lara MCP server. - The room shuts down if left inactive.
4. Join the Room with a Meshagent Chatbot
- This launches a chatbot in the same room, equipped with the Lara translation toolkit.
- Meshagent supports using multiple toolkits per agent/room.
- The output provides a link you can use to access and interact with your agent and tools.
Tools Available
Lara Translate MCP integrates these tools, making them available via Meshagent-powered Rooms:
Tool | Short Description |
---|---|
add_translation | Adds a translation to a translation memory in your Lara Translate account. |
check_import_status | Checks the status of a TMX file import job in your Lara Translate account. |
create_memory | Create a translation memory with a custom name in your Lara Translate account. |
delete_memory | Deletes a translation memory from your Lara Translate account. |
delete_translation | Deletes a translation from a translation memory from your Lara Translate account. |
import_tmx | Imports a TMX file into a translation memory in your Lara Translate account. |
list_languages | Lists all supported languages in your Lara Translate account. |
list_memories | Lists all translation memories in your Lara Translate account. |
translate | Translate text between languages with support for language detection, context-aware translations, and translation memories using Lara Translate. |
update_memory | Updates a translation memory in your Lara Translate account. |
Tools Details
add_translation
Adds a translation to a translation memory.
- id (
array
): The ID(s) where to save the translation unit (mem_xyz123
) - sentence (
string
): The source sentence - source (
string
): Source language code - target (
string
): Target language code - translation (
string
): Translated sentence - sentence_after (
string
, optional): Next sentence, for context - sentence_before (
string
, optional): Previous sentence, for context - tuid (
string
, optional): Unique identifier
check_import_status
Checks status of a TMX file import.
- id (
string
): Import job ID
create_memory
Create a translation memory (TM).
- name (
string
): Name for the TM - external_id (
string
, optional): Initialize with MyMemory TM
delete_memory
Deletes a translation memory.
- id (
string
): Memory ID
delete_translation
Deletes a translation from a TM.
- id (
array
): TM IDs - sentence (
string
): Source sentence - source (
string
): Source language code - target (
string
): Target language code - translation (
string
): Translated sentence - sentence_after/
before
/tuid
: (optional as above)
import_tmx
Import a TMX file into a TM.
- id (
string
): Memory ID - gzip (
boolean
, optional): Is .gz compressed - tmx_content (
string
, optional): File content - tmx_url (
string
, optional): File URL
list_languages
Lists all supported languages.
list_memories
Lists all translation memories.
translate
Text translation.
- target (
string
): Target language code - text (
array
): Array of text blocks to translate - adapt_to (
array
, optional): TM IDs for adaptation - context (
string
, optional): Translation context - instructions (
array
, optional): Output instructions - source (
string
, optional): Source language code - source_hint (
string
, optional): Language detection hint
update_memory
Update a translation memory.
- id (
string
): Memory ID - name (
string
): New name
Further Reading and Resources
- Meshagent Official Website
- Meshagent Room API Overview
- Meshagent Room API Getting Started
- Meshagent MCP Tool Image
- What is an MCP Server?
- Why is it safer to run MCP Servers with Docker?