mc-translator-mcp
mc-translator-mcp
Minecraft모드 중국어 번역 MCP도구
모드 jar 팩키에서 언어 파일을 자동으로 추출하고, 通义千问를 호출하여 일괄 번역한 후 중국어 리소스 팩을 거성합니다.
설치
cd mc-translator-mcp
pip install -e .Related MCP server: NetEase ModSDK MCP Server
설정
.env.example을 복사하여 .env로 만들고 통의千问 API Key를 입력하세요:
cp .env.example .env
# 编辑 .env,填入 DASHSCOPE_API_KEYAPI Key 발급: 阿里云百炼 콘솔
실행 방법
MCP서버로 사충 (권장)
python -m mc_translator_mcpTrae/Claude Desktop에서 TCP 서버를 설정하세요.
{
"mcpServers": {
"mc-translator-mcp": {
"command": "python",
"args": ["-m", "mc_translator_mcp"]
}
}
}CLI 모드
# 检查 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]사용 예시
Trae 대화에서 MCP 도구 사용
Trae에 직접 말하세요:
"이 모드를 번역해 주세요: /path/to/mymod.jar"
Trae는 자동으로 MCP도구의 tránslate_mod 또는 tránslate_all_mods_in_directories를 호출합니다.
로컬 실행
# 翻译单个模组
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/ 디렉터에 출력되며, 각 모드마다 독립적인 리소스 팩을 생성합니다.
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
└── ...적용 방법: output/<modid>-zh-cn/ 폴더를 Minecraft의 resourcespacks/ 디렉터에 복사하세요.
틱커직
모듊 | 기능 |
| jar 팩의 구조분석하고 언어 파일을 탐지합니다 |
| .json / .lang 형식의 언어 파일을 파싱합니다 |
| 通义千问 일괄 번역 + 로컬 캐시 |
| 리소스 팩 생성 또는 jar 재작성 |
| MCP 서버의 입구로, 두 가지 도구를 제공합니다 |
테스트
python -m pytest tests/ -v설계 핵심
리소스 팩 우선:기본적으로 독립된 리소스 팩을 생성하여 원jar 파일을 손하지 않습니다.
지능형 캐시:동일 원문 + moderid 항목은 한 번만 번역하므로 token 중복 사용을 피합니다.
이미 중국어 번역 건너기 :기존에 zh_CN.json가 존재하면 자동으로 건너뜩, 커뮤니티 번역을 덮어쓰지 않습니다.
일괄 번역 :각 일괄 최대 BATCH_SIZE 개 목을 cc한 API 호출로 처리합니다.
형식 호환 :. json(현대) 모바일서버 mob.jason(전통) 언어 파일 형식을 지원합니다.
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