Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OUTPUT_DIR | No | 转换结果保存路径 | ./downloads |
| USE_LOCAL_API | No | 是否使用本地 API | false |
| MINERU_API_KEY | Yes | MinerU API 密钥(官网申请) | |
| MINERU_API_BASE | No | 远程 API 基础 URL | https://mineru.net |
| LOCAL_MINERU_API_BASE | No | 本地 API 地址(USE_LOCAL_API=true 时生效) | http://localhost:8080 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| parse_documents | 统一接口,将文件转换为Markdown格式。支持本地文件和URL,会根据USE_LOCAL_API配置自动选择合适的处理方式。 |
| get_ocr_languages | 获取 OCR 支持的语言列表。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |