Skip to content

MCP可否支持全部的私有部署minerU参数,避免需要每次在prompt里面记录 #43

Description

@xyonium

当前设置MCP的mineru参数只有下面两个,
"DOCUTRANSLATE_CONVERT_ENGINE": "mineru",
"DOCUTRANSLATE_MINERU_TOKEN": "your-mineru-token"
能否支持MCP里全部mineru参数用ENV进行设置:

参数 类型 说明
mineru_deploy_base_url str 本地部署 MinerU 服务地址(如 http://127.0.0.1:8000
mineru_deploy_backend str 后端类型,如 hybrid-auto-engine
mineru_deploy_parse_method str auto / txt / ocr
mineru_deploy_table_enable bool 是否启用表格解析(默认 true)
mineru_deploy_formula_enable bool 是否启用公式解析(默认 true)
mineru_deploy_start_page_id int 起始页(默认 0)
mineru_deploy_end_page_id int 结束页(默认 99999)
mineru_deploy_lang_list list[str] 语言列表,默认 ["ch"]
mineru_deploy_server_url str MinerU Server URL

等等,另外我有个疑问这个server_url和base_url有什么区别

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions