Connect AI Tools with Model Context Protocol
Integrate Lingo.dev's translation capabilities directly into your favorite AI tools using the Model Context Protocol (MCP).
What is MCP?
The Model Context Protocol allows AI tools to access external services like Lingo.dev, enabling you to translate content without leaving your preferred environment.
Supported AI Tools
Lingo.dev works with these popular MCP-compatible tools:
- Cursor - AI-powered code editor
- Claude Desktop - Anthropic's AI assistant
- Cline for VS Code - VS Code extension
Core Command
All integrations use this basic command:
bash
npx -y lingo.dev mcp <api-key>
Replace <api-key>
with your project API key from the Lingo.dev dashboard.
Tool-Specific Setup
Cursor
- Open Cursor Settings
- Select the MCP tab
- Click + Add new MCP server
- Configure with:
- Name: Lingo.dev
- Type: command
- Command:
npx -y lingo.dev mcp <api-key>
- Look for the green status indicator and "translate" tool in the list
Claude Desktop
- Open Settings in Claude desktop
- Navigate to the Developer tab
- Click Edit Config to open the configuration file
- Add this JSON configuration:
json
{
"mcpServers": {
"lingodotdev": {
"command": "npx",
"args": ["-y", "lingo.dev", "mcp", "<api-key>"]
}
}
}
- Save the file and restart Claude
- Look for the hammer icon in the chat input showing your MCP connection
Cline for VS Code
- Open Cline sidebar (
Cmd+Shift+P
, type > cline: focus on view) - Click the MCP Servers icon in the top right
- Select Configure MCP Servers
- Add this JSON configuration:
json
{
"mcpServers": {
"lingodotdev": {
"command": "npx",
"args": ["-y", "lingo.dev", "mcp", "<api-key>"]
}
}
}
- Save the file
- Verify the "lingodotdev" server appears with the "translate" tool available
Using the Integration
Once connected, you can ask your AI tool to translate content using Lingo.dev's powerful translation engine. Simply request translations in your normal interactions with the AI tool, and it will use Lingo.dev's capabilities behind the scenes.
Example prompts:
- "Translate this paragraph to Spanish using Lingo.dev"
- "Use Lingo.dev to translate this JSON file to German"