Content
## TranslationX MCP Server (Python)
### Setting Up the Python Virtual Environment
We recommend building a virtual environment with `uv` to run the MCP server. You can find some information about `uv` [here](https://docs.astral.sh/uv/getting-started/features/).
Following the [official process](https://modelcontextprotocol.io/quickstart/server), you will install the `Python` package manager `uv`. Alternatively, you can try other methods (such as `Anaconda`) to create your `Python` virtual environment.
Add the `mcp` dependency using `uv`
```bash
uv add "mcp[cli]"
```
Verify that the `mcp` dependency is installed successfully by running the following command
```bash
uv run mcp
```
When the following figure appears, it indicates that the installation is successful

Install `python` using `uv`, with a minimum version requirement of 3.13
```bash
uv python install 3.13
```
### Obtaining MCP Server
Go to the TranslationX MCP Server official [open-source repository](https://github.com/Deep-Intelligent-Pharma/Translationx-mcp-server/) to download
### Configuring the Local Project
Create a project using `uv`
```bash
uv init mcp_server_translation
```
Copy the `src` folder to this directory and test if the `mcp` server is running normally using the following command
```bash
uv run --with mcp[cli] mcp run {YOUR_PATH}/src/main.py
# For mac, you need to add an escape character
uv run --with mcp\[cli\] mcp run {YOUR_PATH}/src/main.py
```
If there are no errors, the MCP Server has started successfully
### Using in Cursor
Open `Cursor` configuration and add MCP Server in MCP

Add the following content to the file and save it. The `TRANSLATIONX_TOKEN` can be obtained from [X-DOC](https://x-doc.ai/)
```json
{
"mcpServers": {
"translationx": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"{YOUR_PATH}/src/main.py"
],
"env": {
"token": "<YOUR_TRANSLATIONX_TOKEN>"
}
}
}
}
```
Return to the configuration, and the TranslationX MCP Server is now enabled

### Testing
Create a project, create a folder, add a file to the folder, and submit the translation:



Connection Info
You Might Also Like
everything-claude-code
Complete Claude Code configuration collection - agents, skills, hooks,...
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
cc-switch
All-in-One Assistant for Claude Code, Codex & Gemini CLI across platforms.
servers
Model Context Protocol Servers
servers
Model Context Protocol Servers
Time
A Model Context Protocol server for time and timezone conversions.