mcpField
T
Translationx Mcp Server

Translationx Mcp Server

Local
github.com/Deep-Intelligent-PharmaProductivity4Updated 80w ago

About Translationx Mcp Server

Translationx Mcp Server is a Python MCP server for submitting files for translation through TranslationX. The README describes local setup and configuration in Cursor, with a TranslationX token obtained from X-DOC.

Key features

  1. 01Submit files for translation
  2. 02Python-based MCP server
  3. 03Configure for Cursor

Use cases

  1. 01Submit project files for translation
  2. 02Run TranslationX from Cursor

MCP support

It provides TranslationX translation capabilities to MCP clients. The README shows local configuration in Cursor using a token from X-DOC.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

TranslationX MCP Server (Python)

搭建Python虚拟环境

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

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

通过uv添加mcp依赖

uv add "mcp[cli]"

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

uv run mcp

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

README image

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

uv python install 3.13
获取 MCP Server

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

配置本地项目

通过uv创建一个项目

uv init mcp_server_translation

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

uv run --with mcp[cli] mcp run {YOUR_PATH}/src/main.py
# 如果是mac,需要加转义符
uv run --with mcp\[cli\] mcp run {YOUR_PATH}/src/main.py

如果没有报错则MCP Server启动成功

在Cursor中使用

打开Cursor配置,在MCP中添加MCP Server

README image

在文件中添加如下内容后保存, TRANSLATIONX_TOKEN 可以在X-DOC中获取

{
  "mcpServers": {
    "translationx": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "{YOUR_PATH}/src/main.py"
      ],
      "env": {
        "token": "<YOUR_TRANSLATIONX_TOKEN>"
      }
    }
  }
}

回到配置,此时TranslationX MCP Server已经启用

README image

测试

创建项目,并创建文件夹,然后文件到文件夹中,并提交翻译:

README image README image

README image

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.