Lara Translate MCP Server provides a standardized way to integrate Lara's professional translation capabilities into AI applications using the Model Context Protocol (MCP). It enables AI models to access context-aware translations, language detection, and translation memories through a simple interface.
The installation process involves adding a configuration object to your client's MCP configuration JSON file.
Step 1: Open your client's MCP configuration JSON file and add the following:
{
"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>"
}
}
}
}
Step 2: Replace <YOUR_ACCESS_KEY_ID>
and <YOUR_ACCESS_KEY_SECRET>
with your Lara Translate API credentials.
Step 3: Restart your MCP client.
After restarting, check if Lara Translate MCP appears in your client's list of available MCPs. Test it with a simple prompt:
Translate with Lara "Hello world" to Spanish
If properly configured, your client will either request approval or display a notification that Lara Translate is being used.
If you prefer Docker, add this to your MCP configuration file:
{
"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>"
}
}
}
}
Use the translate tool to translate text between languages:
Manage translation memories with these tools:
Several popular applications support the Model Context Protocol:
For a complete list, visit the official MCP clients page.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "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>"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"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>"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"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>"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect