You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+67-37Lines changed: 67 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ A Model Context Protocol (MCP) Server for [Lara Translate](https://laratranslate
10
10
- 📖 [Introduction](#-introduction)
11
11
- 🛠 [Available Tools](#-available-tools)
12
12
- 🚀 [Getting Started](#-getting-started)
13
-
- 📋 [Requirements](#-requirements)
14
-
- 🔌 [Installation](#-installation)
15
-
-🧩 [Installation Engines](#-installation-engines)
13
+
- 📋 [HTTP Server](#http-server-)
14
+
- 🔌 [STDIO Server](#stdio-server-%EF%B8%8F)
15
+
-🧪 [Verify Installation](#-verify-installation)
16
16
- 💻 [Popular Clients that supports MCPs](#-popular-clients-that-supports-mcps)
17
17
- 🆘 [Support](#-support)
18
18
@@ -161,7 +161,7 @@ Lara also lowers the cost of using models like GPT-4 in non-English workflows. S
161
161
162
162
**Inputs**:
163
163
-`id` (string): ID of the memory to update
164
-
-`tmx` (file path): The path of the TMX file to upload
164
+
-`tmx_content` (string): The content of the tmx file to upload
165
165
-`gzip` (boolean): Indicates if the file is compressed (.gz)
166
166
167
167
**Returns**: Import details
@@ -177,69 +177,87 @@ Lara also lowers the cost of using models like GPT-4 in non-English workflows. S
177
177
</details>
178
178
179
179
## 🚀 Getting Started
180
+
Lara supports both the STDIO and streamable HTTP protocols. For a hassle-free setup, we recommend using the HTTP protocol. If you prefer to use STDIO, it must be installed locally on your machine.
180
181
181
-
### 📋 Requirements
182
+
You'll find setup instructions for both protocols in the sections below.
182
183
183
-
- Lara Translate API Credentials
184
-
- To get them you can refer to the [Official Documentation](https://developers.laratranslate.com/docs/getting-started#step-3---configure-your-credentials)
185
-
- An LLM client that supports Model Context Protocol (MCP), such as Claude Desktop, Cursors, or GitHub Copilot
186
-
- NPX or Docker (depending on your preferred installation method)
184
+
### HTTP Server 🌐
185
+
<details>
186
+
<summary><strong>❌ Clients NOT supporting <code>url</code> configuration (e.g., Claude, OpenAI)</strong></summary>
187
187
188
-
### 🔌 Installation
188
+
This installation guide is intended for clients that do NOT support the url-based configuration. This option requires Node.js to be installed on your system.
189
189
190
-
#### Introduction
191
-
The installation process is standardized across all MCP clients. It involves manually adding a configuration object to your client's MCP configuration JSON file.
192
190
> If you're unsure how to configure an MCP with your client, please refer to your MCP client's official documentation.
193
191
194
-
Lara Translate MCP supports multiple installation methods, including NPX and Docker. \
195
-
Below, we'll use NPX as an example.
196
-
197
192
---
198
193
199
-
#### Installation & Configuration
200
-
201
-
**Step 1**: Open your client's MCP configuration JSON file with a text editor, then copy and paste the following snippet:
194
+
1. Open your client's MCP configuration JSON file with a text editor, then copy and paste the following snippet:
**Step 2**: Replace `<YOUR_ACCESS_KEY_ID>` and `<YOUR_ACCESS_KEY_SECRET>` with your Lara Translate API credentials (refer to the [Official Documentation](https://developers.laratranslate.com/docs/getting-started#step-3---configure-your-credentials) for details).
218
+
2. Replace `<YOUR_ACCESS_KEY_ID>` and `<YOUR_ACCESS_KEY_SECRET>` with your Lara Translate API credentials. Refer to the [Official Documentation](https://developers.laratranslate.com/docs/getting-started#step-3---configure-your-credentials) for details.
After restarting your MCP client, you should see Lara Translate MCP in the list of available MCPs.
230
-
> The method for viewing installed MCPs varies by client. Please consult your MCP client's documentation.
227
+
This installation guide is intended for clients that support the url-based configuration. These clients can connect to Lara through a remote HTTP endpoint by specifying a simple configuration object.
231
228
232
-
To verify that Lara Translate MCP is working correctly, try translating with a simple prompt:
233
-
```text
234
-
Translate with Lara "Hello world" to Spanish
229
+
Some examples of supported clients include Cursor, Continue, OpenDevin, and Aider.
230
+
> If you're unsure how to configure an MCP with your client, please refer to your MCP client's official documentation.
231
+
232
+
---
233
+
234
+
1. Open your client's MCP configuration JSON file with a text editor, then copy and paste the following snippet:
Your MCP client will begin generating a response. If Lara Translate MCP is properly installed and configured, your client will either request approval for the action or display a notification that Lara Translate is being used.
250
+
2. Replace `<YOUR_ACCESS_KEY_ID>` and `<YOUR_ACCESS_KEY_SECRET>` with your Lara Translate API credentials. Refer to the [Official Documentation](https://developers.laratranslate.com/docs/getting-started#step-3---configure-your-credentials)for details.
238
251
239
-
## 🧩 Installation Engines
252
+
3. Restart your MCP client.
240
253
254
+
</details>
255
+
256
+
---
257
+
258
+
### STDIO Server 🖥️
241
259
<details>
242
-
<summary><strong>Option 1: Using NPX</strong></summary>
260
+
<summary><strong>Using NPX</strong></summary>
243
261
244
262
This option requires Node.js to be installed on your system.
245
263
@@ -263,7 +281,7 @@ This option requires Node.js to be installed on your system.
263
281
</details>
264
282
265
283
<details>
266
-
<summary><strong>Option 2: Using Docker</strong></summary>
284
+
<summary><strong>Using Docker</strong></summary>
267
285
268
286
This option requires Docker to be installed on your system.
269
287
@@ -296,7 +314,7 @@ This option requires Docker to be installed on your system.
296
314
</details>
297
315
298
316
<details>
299
-
<summary><strong>Option 3: Building from Source</strong></summary>
317
+
<summary><strong>Building from Source</strong></summary>
300
318
301
319
#### Using Node.js
302
320
@@ -375,6 +393,18 @@ docker build -t lara-mcp .
375
393
4. Replace `<YOUR_ACCESS_KEY_ID>` and `<YOUR_ACCESS_KEY_SECRET>` with your actual credentials.
376
394
</details>
377
395
396
+
## 🧪 Verify Installation
397
+
398
+
After restarting your MCP client, you should see Lara Translate MCP in the list of available MCPs.
399
+
> The method for viewing installed MCPs varies by client. Please consult your MCP client's documentation.
400
+
401
+
To verify that Lara Translate MCP is working correctly, try translating with a simple prompt:
402
+
```text
403
+
Translate with Lara "Hello world" to Spanish
404
+
```
405
+
406
+
Your MCP client will begin generating a response. If Lara Translate MCP is properly installed and configured, your client will either request approval for the action or display a notification that Lara Translate is being used.
407
+
378
408
## 💻 Popular Clients that supports MCPs
379
409
380
410
> For a complete list of MCP clients and their feature support, visit the [official MCP clients page](https://modelcontextprotocol.io/clients).
0 commit comments