Setup & Installation

The Lara Translate MCP Server brings the full power of Lara’s translation capabilities to environments that support the Model Context Protocol (MCP), such as Claude Desktop and other LLM-integrated tools.

What It Does

At its core, the MCP Server acts as a bridge between Lara’s Models and the MCP ecosystem. It allows you to offload translation tasks from general-purpose language models to a specialized engine built specifically for translation, ensuring higher quality—especially for non-English content—and more consistent domain handling.

The server supports automatic source language detection, context injection, custom instructions, translation memories, and glossaries. If you plan to use instructions, please carefully read Adapt to Instructions.

Setup

For the hosted Lara MCP endpoint, OAuth 2.0 is the default authentication method: add the server URL and log in through your browser. Lara also supports Access Key authentication for clients or deployments that need it.

Hosted endpoint:

https://mcp-v2.laratranslate.com/v1

Claude

  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 Connect.
  6. Log in with your Lara Translate credentials in the browser.

ChatGPT

To integrate Lara Translate into ChatGPT:

  1. Open ChatGPT on the web.
  2. Go to Settings > Apps > Advanced settings and enable Developer Mode.
  3. Go to Settings > Apps and click Create. In supported workspaces, admins/owners may instead use Workspace settings > Apps > Create.
  4. Enter a name such as Lara and set the MCP server URL to https://mcp-v2.laratranslate.com/v1.
  5. Complete the authentication configuration and log in with your Lara Translate credentials when the browser OAuth flow opens.
  6. Click Scan Tools so ChatGPT can discover the tools exposed by Lara.
  7. Click Create to save the app.
  8. Start a new chat, enable or select Lara from the available apps/tools, and ask ChatGPT to translate something using Lara.

Note: Custom MCP apps use ChatGPT Developer Mode. Availability and allowed actions depend on your ChatGPT plan and workspace policy.

OpenAI Codex

Add Lara as a remote MCP server:

codex mcp add lara --url https://mcp-v2.laratranslate.com/v1

Authenticate with Lara:

codex mcp login lara

Complete the OAuth flow in your browser, then verify the configuration:

codex mcp list

Codex stores MCP configuration in ~/.codex/config.toml. The equivalent manual configuration is:

[mcp_servers.lara]
url = "https://mcp-v2.laratranslate.com/v1"

Cursor

For the current Cursor setup, see the Client Setup Guide.

If Lara Translate is available in your Cursor marketplace/plugin directory, you can install it there. Otherwise, use the manual MCP configuration described in the guide.

Claude Code

For the current Claude Code setup, see the Client Setup Guide.

If Lara Translate is available in the Claude Code plugin marketplace, you can install it there. Otherwise, use the manual MCP configuration described in the guide.

📘

Authentication tip

If the first OAuth attempt fails, log out of the Lara website and try connecting again.

If you see this error, it is the same known authentication issue:

{"error":"invalid_request","error_description":"refreshToken is required"}

Other Clients

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

If your client supports remote MCP servers and MCP OAuth, add the hosted Lara endpoint and follow that client’s authentication flow:

https://mcp-v2.laratranslate.com/v1

If your client requires Access Key credentials, STDIO, a local process, or another transport, use the configuration documented in the Client Setup Guide or the Lara MCP repository.

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

The hosted Lara MCP server exposes translation, language-detection, translation-memory, and glossary tools.

Translation

ToolDescription
translateTranslate text between languages with support for context, instructions, translation memories, glossaries, and translation styles.

Language Detection

ToolDescription
detect_languageDetect the language of a text or array of texts.
list_languagesList supported language codes.

Translation Memories

ToolDescription
list_memoriesList translation memories in your account.
create_memoryCreate a translation memory.
update_memoryUpdate a translation memory name.
delete_memoryDelete a translation memory.
add_translationAdd a translation unit to a memory.
delete_translationDelete a translation unit from a memory.
import_tmxImport a TMX file into a memory.
check_import_statusCheck the status of a TMX import job.

Glossaries

ToolDescription
list_glossariesList glossaries in your account.
get_glossaryGet details of a glossary.
create_glossaryCreate a glossary.
update_glossaryUpdate a glossary name.
delete_glossaryDelete a glossary.
add_glossary_entryAdd or replace a glossary entry.
delete_glossary_entryDelete a glossary entry.
import_glossary_csvImport glossary entries from CSV.
check_glossary_import_statusCheck the status of a glossary CSV import.
export_glossaryExport a glossary as CSV.
get_glossary_countsGet the number of entries in a glossary.

Authentication

OAuth 2.0 (default)

OAuth is the default for the hosted endpoint. Add the server URL to a compatible client, complete the browser login with your Lara Translate account, and the client can connect without placing an API key directly in the MCP configuration.

For client-specific OAuth instructions, see the Client Setup Guide.

Access Key (alternative)

If you prefer to authenticate with Lara Access Key credentials instead of browser OAuth, configure the Access Key ID and Secret as described in the Client Setup Guide.


Translation Workflow

The main translation tool is translate. It accepts structured input, can process multiple text blocks, and can use source-language detection, context, custom instructions, translation memories, and glossaries.

For example, if you're translating the Italian phrase “la terra è rossa” while chatting with a tennis player, you can pass that context into the request. Instead of interpreting “terra” generically as ground or earth, Lara can understand that it refers to clay and return “The clay is red.”

Example

Prompt:
Translate with Lara: "la terra è rossa", I'm talking with a tennis player.

Request:

{
  "text": [
    { "text": "la terra è rossa", "translatable": true }
  ],
  "target": "en-US",
  "context": "Conversation with a tennis player"
}

Response:

[
  {
    "text": "The clay is red.",
    "translatable": true
  }
]

More

For advanced usage, local development, Access Key configuration, self-hosting, and the latest tool list, visit the lara-mcp GitHub repository.


Did this page help you?