About Docutranslate
Docutranslate is an MCP server published by xunbu in the Files category: 文档(小说、论文、字幕)翻译工具(支持 pdf/word/excel/json/epub/srt...)Document (Novel, Thesis, Subtitle) Translation Tool (Supports pdf/word/excel/json/epub/srt...). Conduid read 11 tools from its source: cancel_task, configure_client, download_file, get_client_config, get_status, get_task_logs and 5 more. No package is published for it, so it installs from a source checkout.
The repository has 1.4K stars and 189 forks, is licensed MPL-2.0, and its last commit was on 25 Nov 2026. The latest release is v1.7.11 (2 Nov 2026): 新:2026.11.25,更新了mac两个版本的打包,旧打包在word、pptx等模式下会出现找不到文件的问题 特性: MCP、SDK 和 HTTP 接口补齐连接、读取、写入、连接池超时及流式策略参数,支持统一配置 HTML 导出的 CDN 和 PPTX 隐藏幻灯片选项 新增 HTTP /service/capabilities 和 S… It follows v1.7.10 (12 Oct 2026), and the 5 most recent releases go back to v1.7.7 (25 Jun 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include file-transla, pdf-converter, pdf-translator and translate.
Install
git clone https://github.com/xunbu/docutranslateTools (11)
cancel_taskCancel a pending or running task.| Parameter | Type | Description |
|---|---|---|
| task_id * | string | The task ID to cancel |
configure_client| Parameter | Type | Description |
|---|---|---|
| base_url | string | AI platform base URL |
| chunk_size | integer | Text chunk size for translation |
| concurrent | integer | Number of concurrent requests (default: 10) |
| connect_timeout | number | |
| custom_prompt | string | Custom system prompt |
| extra_body | string | |
| force_json | boolean | Force JSON output |
| formula_ocr | boolean | Enable formula OCR |
| glossary_generate_enable | boolean | |
| insert_mode | string | |
| md2docx_engine | string | Markdown to docx engine; inherit keeps config, null disables DOCX |
| mineru_deploy_api_key | string | Optional key for the local parsing service (empty uses environment default) |
| mineru_deploy_backend | string | MinerU local backend/tier (pipeline, vlm-engine, vlm-http-client, hybrid-engine, hybrid-http-client, flash, basic, standard, advanced) |
| mineru_deploy_effort | string | Hybrid parsing effort (medium, high) |
| mineru_deploy_end_page_id | integer | End page ID |
| mineru_deploy_formula_enable | boolean | Enable formula parsing |
| mineru_deploy_image_analysis | boolean | Enable image/chart analysis |
| mineru_deploy_lang_list | array | Language list |
| mineru_deploy_parse_method | string | MinerU parse method (auto, txt, ocr) |
| mineru_deploy_server_url | string | MinerU Server URL |
| mineru_deploy_start_page_id | integer | Start page ID |
| mineru_deploy_table_enable | boolean | Enable table parsing |
| mineru_language | string | MinerU Cloud language option |
| model_id | string | Model ID to use |
| model_version | string | MinerU Cloud model version (pipeline, vlm, MinerU-HTML) |
| non_stream_timeout | any | |
| pool_timeout | number | |
| provider | string | LLM provider identifier |
| read_timeout | any | |
| retry | integer | Number of retries for failed chunks |
| rpm | integer | RPM limit (Requests Per Minute) |
| segment_mode | string | |
| separator | string | |
| stream_idle_timeout | number | |
| streaming | boolean | |
| system_proxy_enable | boolean | Enable system proxy |
| temperature | number | LLM temperature parameter |
| thinking | string | Thinking mode (default, enable, disable) |
| timeout | integer | Total timeout per chunk, including all retries, in seconds |
| to_lang | string | Target language (default: 中文) |
| top_p | number | LLM top_p parameter |
| tpm | integer | TPM limit (Tokens Per Minute) |
| write_timeout | number |
download_fileDownload a translated file or attachment to local file system.| Parameter | Type | Description |
|---|---|---|
| auto_release | boolean | Automatically release task resources after successful download (default: False) |
| file_name * | string | The format name (e.g., 'docx', 'html') or attachment name (e.g., 'glossary') to download |
| output_dir | string | Output directory for saving the file (default: ./output) |
| output_name | string | Output filename (optional, auto-generated if not provided) |
| task_id * | string | The task ID from submit_task |
get_client_configGet current client configuration (without sensitive data like API keys).get_statusGet current server status and configuration information.get_task_logsRead the retained log history without consuming another client's logs.| Parameter | Type | Description |
|---|---|---|
| task_id * | string |
get_task_statusGet status of a translation task.| Parameter | Type | Description |
|---|---|---|
| task_id * | string | The task ID from submit_task |
| wait_seconds | number | Maximum seconds to wait for status change before returning (0 = return immediately) |
list_tasksList task IDs retained by the shared HTTP/MCP translation service.load_glossary_fileLoad a glossary file (JSON or CSV) and return it as a JSON string for use in submit_task.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the glossary file (.json or .csv), or a URL starting with http:// or https:// |
release_taskRelease task resources (temp files, memory, etc.) after translation is complete| Parameter | Type | Description |
|---|---|---|
| task_id * | string | The task ID to release |
submit_task| Parameter | Type | Description |
|---|---|---|
| api_key | string | AI platform API key |
| base_url | string | AI platform base URL |
| concurrent | integer | Number of concurrent requests |
| connect_timeout | number | |
| custom_prompt | string | Custom system prompt |
| extra_body_json | string | Extra request body parameters JSON string, will be merged into API request |
| file_path * | string | Path to the file to translate, or a URL starting with http:// or https:// |
| force_json | boolean | Force JSON output |
| formula_ocr | boolean | Enable formula OCR |
| glossary_agent_config_json | string | Glossary agent config JSON string (contains base_url, model_id, etc.) |
| glossary_dict_json | string | Glossary dictionary JSON string, format: {"原文":"译文"} |
| glossary_generate_enable | boolean | Enable automatic glossary generation |
| html_exporter_options | object | |
| json_paths | array | [Json only] JsonPath expressions list |
| md2docx_engine | string | Markdown to docx engine; inherit keeps config, null disables DOCX |
| mineru_deploy_api_key | string | Optional key for the local parsing service (empty uses environment default) |
| mineru_deploy_backend | string | MinerU local backend/tier (pipeline, vlm-engine, vlm-http-client, hybrid-engine, hybrid-http-client, flash, basic, standard, advanced) |
| mineru_deploy_base_url | string | MinerU local deployment base URL |
| mineru_deploy_effort | string | Hybrid parsing effort (medium, high) |
| mineru_deploy_end_page_id | integer | End page ID |
| mineru_deploy_formula_enable | boolean | Enable formula parsing |
| mineru_deploy_image_analysis | boolean | Enable image/chart analysis |
| mineru_deploy_lang_list | array | Language list |
| mineru_deploy_parse_method | string | MinerU parse method (auto, txt, ocr) |
| mineru_deploy_server_url | string | MinerU Server URL |
| mineru_deploy_start_page_id | integer | Start page ID |
| mineru_deploy_table_enable | boolean | Enable table parsing |
| mineru_language | string | MinerU Cloud language option (ch, ch_server, en, japan, korean, chinese_cht, ta, te, ka, el, th, latin, arabic, cyrillic, east_slavic, devanagari) |
| mineru_token | string | MinerU Cloud API Token |
| model_id | string | Model ID to use |
| model_version | string | MinerU Cloud model version (pipeline, vlm, MinerU-HTML) |
| non_stream_timeout | any | |
| office_password | string | [Docx/Xlsx only] Password for encrypted files |
| pool_timeout | number | |
| provider | string | LLM provider identifier |
| read_timeout | any | |
| retry | integer | Number of retries for failed chunks |
| rpm | integer | RPM limit (Requests Per Minute) |
| segment_mode | string | [Txt only] Segment mode (line, paragraph, none) |
| separator | string | Separator for append/prepend |
| skip_translate | boolean | Skip translation, only parse the document |
| stream_idle_timeout | number | |
| streaming | boolean | |
| system_proxy_enable | boolean | Enable system proxy |
| temperature | number | LLM temperature parameter |
| thinking | string | Thinking mode (default, enable, disable) |
| timeout | integer | Total timeout per chunk, including all retries, in seconds |
| to_lang | string | Target language (default: 中文) |
| top_p | number | |
| tpm | integer | TPM limit (Tokens Per Minute) |
| translate_regions | array | [Xlsx only] Translation regions list |
| workflow_type | string | Workflow type (auto-detected if not specified) |
| write_timeout | number |
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.0K words.
- ✓License declaredThe repository declares the MPL-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock and frontend/package-lock.json.
- !No dynamic code executionScanned 173 source files and found 1 call to eval or shell execution, in docutranslate/static/swagger/swagger.js:2. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEdocutranslate/cli.py:74, docutranslate/cli.py:74, docutranslate/cli.py:74
- Starts other programs
- 1 calldocutranslate/exporter/md/md2docx_exporter.py:49
- Outbound network calls
- 59 callsdocutranslate/agents/agent.py:98, docutranslate/agents/agent.py:103, docutranslate/agents/agent.py:518
- Writes or deletes files
- 17 callsdocutranslate/app.py:1225, docutranslate/exporter/epub/epub2html_exporter.py:354, docutranslate/exporter/md/md2docx_exporter.py:45
- Lockfile
- uv.lock and frontend/package-lock.json
Pattern matches on the source text of 173 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 3.0K words, fetched 4 days ago. The original in the repository is authoritative.
Read full README