Translationx Mcp Server

by Deep-Intelligent-Pharma

110 downloads
Not rated
GitHub

About

Translationx Mcp Server is a Model Context Protocol (MCP) server that enables AI‑assisted translation of files and documents. It uses a token‑based authentication from X‑DOC and is designed to integrate directly with IDEs such as Cursor. It is built with Python and the mcp SDK…

Details

Author
Deep-Intelligent-Pharma
Downloads
110
Categories
Other

- Runs on Python 3.13 with the uv package manager.
- Token‑based authentication via X‑DOC (TRANSLATIONX_TOKEN).
- Integrates with Cursor and other MCP‑compatible IDEs.
- Translates documents by uploading files to a designated folder.
- Open‑source repository available on GitHub.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  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 Translationx Mcp Server
    Command (node, npx, python, etc.)

    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

Download the server from its official GitHub repository, then set up a Python virtual environment using uv and add the mcp dependency. Configure the server in your IDE (e.g., Cursor) by adding a JSON block that points to the main.py script and provides your TRANSLATIONX_TOKEN. Start the server and use it to translate files placed in a project folder.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "translationx mcp server": {
            "Translationx-mcp-server": {
                "command": "uv",
                "args": [
                    "run",
                    "mcp"
                ]
            }
        }
    }
}

McpServers

{
    "Translationx-mcp-server": {
        "command": "uv",
        "args": [
            "run",
            "mcp"
        ]
    }
}

TranslationX MCP Server (Python)

搭建Python虚拟环境

我们推荐通过uv构建虚拟环境来运行MCP server,关于uv你可以在这里找到一些说明。

按照官方流程,你会安装Python包管理工具uv。除此之外,你也可以尝试其他方法(如Anaconda)来创建你的Python虚拟环境。

通过uv添加mcp依赖

uv add "mcp[cli]"

验证mcp依赖是否安装成功,执行如下命令

uv run mcp

当出现下图时代表安装成功

通过uv安装python,最低版本要求为3.13

uv python install 3.13

获取 MCP Server

前往TranslationX Mcp Server 官方开源仓库下载

配置本地项目

通过
uv创建一个项目
uv init mcp_server_translation

src文件夹拷贝到该目录下,通过如下命令测试mcp server是否正常运行

``bash
uv run --with mcp[cli] mcp run {YOUR_PATH}/src/main.py

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.