mc-translator-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mc-translator-mcptranslate the mod at C:/mods/mymod.jar"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mc-translator-mcp
Minecraft mod Chinese-translation MCP tool
Automatically extracts language files from mod jars, calls 通义千问 for batch translation, and generates Chinese resource packs.
Installation
cd mc-translator-mcp
pip install -e .Related MCP server: NetEase ModSDK MCP Server
Configuration
Copy .env.example to .env and fill in your 通义千问 API Key:
cp .env.example .env
# 编辑 .env,填入 DASHSCOPE_API_KEYAPI Key application: 阿里云百炼控制台
How to start
As an MCP server (recommended)
python -m mc_translator_mcpConfigure the MCP server in Trae/Claude Desktop:
{
"mcpServers": {
"mc-translator-mcp": {
"command": "python",
"args": ["-m", "mc_translator_mcp"]
}
}
}CLI mode
# 检查 jar 语言文件
python -m mc_translator_mcp check <jar_path>
# 翻译单个 jar
python -m mc_translator_mcp mod <jar_path> [--batch-size 15] [--force-retranslate]
# 批量翻译目录下所有 jar
python -m mc_translator_mcp dir <directory> [--glob "*.jar"] [--batch-size 15]Usage examples
Using the MCP tools in Trae conversations
Tell Trae directly:
"Help me translate this mod: /path/to/mymod.jar"
Trae will automatically call translate_mod or translate_all_mods_in_directory from the MCP tools.
Running locally
# 翻译单个模组
python -m mc_translator_mcp mod "C:/Users/kjds/Desktop/mods/myzombie.jar" --batch-size 20
# 批量翻译整个 mods 目录
python -m mc_translator_mcp dir "C:/Users/kjds/Desktop/.minecraft/mods" --glob "*.jar"Output
Outputs to the output/ directory by default, and generates an independent resource pack for each mod:
output/
├── mymod-zh-cn/
│ ├── pack.mcmeta
│ └── assets/mymod/lang/zh_cn.json
├── zombie_mod-zh-cn/
│ ├── pack.mcmeta
│ └── assets/zombie_mod/lang/zh_cn.json
└── ...To load it: copy the output/<modid>-zh-cn/ folder into Minecraft's resourcepacks/ directory.
Core modules
Module | Function |
| Parses the jar structure and discovers language files |
| Parses language files in .json / .lang format |
| Batch translation with 通义千问 + local cache |
| Generates a resource pack or rewrites the jar |
| MCP server entry point, exposes two tools |
Testing
python -m pytest tests/ -vDesign highlights
Resource pack first: Generates an independent resource pack by default without modifying the original jar file.
Smart caching: Entries with the same source text + modid are only translated once, avoiding duplicate token usage.
Skip existing Chinese translations: Automatically skips when an existing
zh_cn.jsonis detected, avoiding overwriting community translations.Batch translation: Translates up to BATCH_SIZE entries per batch, with a single API call returning all results.
Format compatibility: Supports both .json (modern) and .lang (legacy) language file formats.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates local language models (like Qwen3-8B) with MCP clients, providing tools for chat, code analysis, text generation, translation, and content summarization using your own hardware.
- AlicenseNot gradedqualityDmaintenanceEnables document retrieval, code generation, and code review for Minecraft China (NetEase) ModSDK development. It automates the creation of Mod projects, JSON configurations, and Python scripts while ensuring compliance with official development standards.79GPL 3.0
- AlicenseNot gradedqualityDmaintenanceMCP server for page-level i18n translation using Alibaba Cloud Qwen models, supporting incremental translation, glossary, and multiple target languages.283MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for translating JSON localization files via DeepL API or local LLMs, enabling agents to estimate, check, and run translations.MIT
Related MCP Connectors
Translate MCP — wraps LibreTranslate API (https://libretranslate.com/)
MCP server for GLM chat completions using Zhipu AI models via AceDataCloud
LibreTranslate MCP — open-source machine translation (BYO endpoint)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dcd887/mc-translator-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server