lara-mcp

by Translate

73 stars
352 downloads
Not rated
GitHub

About

A Model Control Protocol (MCP) Server for Lara Translate API, enabling powerful translation capabilities with support for language detection and context-aware translations.

Details

Author
Translate
Repository
translated/lara-mcp
GitHub stars
73
Downloads
352
License
MIT License
Categories
Communication, Other, AI, Developer Tools

- Professional translation with context, instructions, memories, and glossaries
- Multiple translation styles: faithful, fluid, and creative
- Language detection and listing of supported languages
- Full CRUD management of translation memories and TMX imports
- Full CRUD management of glossaries with CSV import/export
- OAuth 2.0 and access key authentication options

Setting up with Highlight

Follow these steps to add this server as a custom Highlight plugin:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name lara-mcp
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @translated/lara-mcp@latest
    Environment
    • LARA_ACCESS_KEY_ID <YOUR_ACCESS_KEY_ID>
    • LARA_ACCESS_KEY_SECRET <YOUR_ACCESS_KEY_SECRET>

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Pick your client below — no API keys needed, just log in through your browser.

translate

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

detect_language

Detect the language of a given text or array of texts

list_languages

List all supported language codes

list_memories

List all translation memories in your account

create_memory

Create a new translation memory

update_memory

Update a translation memory's name

delete_memory

Delete a translation memory

add_translation

Add a translation unit (source + target pair) to a memory

delete_translation

Delete a translation unit from a memory

import_tmx

Import a TMX file into a memory

check_import_status

Check the status of a TMX import job

list_glossaries

List all glossaries in your account

get_glossary

Get details of a specific glossary

create_glossary

Create a new glossary

update_glossary

Update a glossary's name

delete_glossary

Delete a glossary

add_glossary_entry

Add or replace a term entry in a glossary

delete_glossary_entry

Delete a term entry from a glossary

import_glossary_csv

Import entries from a CSV file into a glossary

check_glossary_import_status

Check the status of a glossary CSV import job

export_glossary

Export a glossary as CSV

get_glossary_counts

Get the number of entries in a glossary

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "lara-mcp": {
            "env": {
                "LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
                "LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
            },
            "args": [
                "-y",
                "@translated/lara-mcp@latest"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": {
        "LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
        "LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
    },
    "args": [
        "-y",
        "@translated/lara-mcp@latest"
    ],
    "command": "npx"
}

Macos

{
    "env": {
        "LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
        "LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
    },
    "args": [
        "-y",
        "@translated/lara-mcp@latest"
    ],
    "command": "npx"
}

Windows

{
    "env": {
        "LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
        "LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
    },
    "args": [
        "/c",
        "npx",
        "-y",
        "@translated/lara-mcp@latest"
    ],
    "command": "cmd"
}

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

Quick Start

Pick your client below — no API keys needed, just log in through your browser.

Claude Desktop

1. Go to Settings > Connectors
2. Click Add Custom Connector
3. Enter the name: Lara
4. Enter the URL: https://mcp-v2.laratranslate.com/v1
5. Click Add, then click Connect
6. Log in with your Lara Translate credentials in the browser

Done — Lara Translate is now available in your conversations.

Cursor

Once Lara Translate is listed in the official Cursor plugin marketplace, install it from inside Cursor:

1. Open the plugin browser and search for Lara Translate.
2. Click Install.
3. The first time you use a Lara tool, your browser will open to authenticate.

In the meantime, or for manual installation, see the Client Setup Guide.

Claude Code

Once Lara Translate is listed in the official Claude Code plugin marketplace, install it from inside Claude Code:

/plugin

Search for Lara Translate and install. The first time you use a Lara tool, your browser will open to authenticate.

In the meantime, or for manual installation, see the Client Setup Guide.

Other Clients

For step-by-step OAuth setup on VS Code (GitHub Copilot), Windsurf, Cline, Continue, and more, see the Client Setup Guide.

If your client isn't listed, the general approach is to add the server URL (https://mcp-v2.laratranslate.com/v1) to your MCP config — the client will handle OAuth authentication automatically.

> For a complete list of MCP-compatible clients, visit the official MCP clients page.

Verify It Works

After setup, test with a simple prompt:

Translate with Lara "Hello world" to Spanish

Your client should invoke Lara Translate and return the translation.

---

Available Tools

Translation

| Tool | Description |
|------|-------------|
| translate | Translate text between languages with support for context, instructions, translation memories, glossaries, and multiple styles (faithful/fluid/creative) |

Language Detection

| Tool | Description |
|------|-------------|
| detect_language | Detect the language of a given text or array of texts |
| list_languages | List all supported language codes |

Translation Memories

| Tool | Description |
|------|-------------|
| list_memories | List all translation memories in your account |
| create_memory | Create a new translation memory |
| update_memory | Update a translation memory's name |
| delete_memory | Delete a translation memory |
| add_translation | Add a translation unit (source + target pair) to a memory |
| delete_translation | Delete a translation unit from a memory |
| import_tmx | Import a TMX file into a memory |
| check_import_status | Check the status of a TMX import job |

Glossaries

| Tool | Description |
|------|-------------|
| list_glossaries | List all glossaries in your account |
| get_glossary | Get details of a specific glossary |
| create_glossary | Create a new glossary |
| update_glossary | Update a glossary's name |
| delete_glossary | Delete a glossary |
| add_glossary_entry | Add or replace a term entry in a glossary |
| delete_glossary_entry | Delete a term entry from a glossary |
| import_glossary_csv | Import entries from a CSV file into a glossary |
| check_glossary_import_status | Check the status of a glossary CSV import job |
| export_glossary | Export a glossary as CSV |
| get_glossary_counts | Get 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.

{
  "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.

{
  "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

git clone https://github.com/translated/lara-mcp.git
cd lara-mcp
pnpm install
pnpm run build

Then add to your MCP config:

{
  "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

git clone https://github.com/translated/lara-mcp.git
cd lara-mcp
docker build -t lara-mcp .

Then add to your MCP config:

{
  "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

- For issues with Lara Translate API: visit Lara Translate Support
- For issues with this MCP server: open an issue on GitHub

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.