Intento Translation MCP Server logo

Intento Translation MCP Server

by intento

This is an MCP server that provides translation capabilities using the Intento API. It allows agents to translate text and discover language codes.

View on GitHub

Last updated: N/A

What is Intento Translation MCP Server?

The Intento Translation MCP Server is a server that exposes translation functionality from the Intento API via the MCP protocol. It provides a 'translate' tool and a 'language-codes' resource, allowing agents to translate text between languages and discover available language codes.

How to use Intento Translation MCP Server?

  1. Install dependencies using pip install -r requirements.txt. 2. Configure Intento API credentials either in a .env file for the server or within the specific MCP integration's configuration (e.g., Claude Desktop). 3. Start the server using python server.py. 4. Use the 'translate' tool with text and target language parameters. 5. Access the 'language-codes' resource to get a mapping of language names to ISO codes.

Key features of Intento Translation MCP Server

  • Text translation via Intento API

  • Dynamic language code fetching

  • Automatic language detection

  • Error handling and logging

Use cases of Intento Translation MCP Server

  • Integrating translation capabilities into MCP-compatible applications

  • Providing language code information to agents

  • Enabling translation in Claude Desktop

  • Automated translation workflows

FAQ from Intento Translation MCP Server

How do I set up my Intento API key?

You can set it up either in a .env file in the project root or in the 'env' section of your MCP config JSON file.

How does automatic language detection work?

If the source_language parameter is empty, the server omits the source language field in the API request, allowing Intento to automatically detect the source language.

Where are the logs stored?

All operations are logged to logs/intento-translate.log.

How do I use the language-codes resource?

You can access the resource via its URL mcp://intento-translate/language-codes and use it to look up language codes.

How do I integrate this server with Claude Desktop?

Create a claude-mcp-config.json file in your Claude Desktop configuration directory and add the server configuration, including the path to server.py and your Intento API key (optional).