mineru-selfhosted-mcp
v0.1.17MCP bridge for a self-hosted MinerU API
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_upload_session Create Upload Session
Create a staged upload session for a client-side file.
| Parameter | Type | Description |
|---|---|---|
filename * | string | |
expected_sha256 | ||
expected_size |
append_upload_chunk Append Upload Chunk
Append a base64-encoded chunk to an existing upload session.
| Parameter | Type | Description |
|---|---|---|
chunk_base64 * | string | |
session_id * | string |
finalize_upload Finalize Upload
Finalize an upload session and validate size/hash if provided.
| Parameter | Type | Description |
|---|---|---|
session_id * | string |
parse_staged_file Parse Staged File
Parse a previously staged upload session file.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
backend | string | |
end_page_id | integer | |
formula_enable | boolean | |
inline_content | boolean | |
language | string | |
languages | ||
middle_json_only | boolean | |
output_dir | ||
parse_method | string | |
response_format_zip | boolean | |
return_content_list | boolean | |
return_images | boolean | |
return_md | boolean | |
return_middle_json | boolean | |
return_model_output | boolean | |
return_original_file | boolean | |
server_url | ||
start_page_id | integer | |
table_enable | boolean |
cleanup_staged_file Cleanup Staged File
Delete a staged upload session and its local files.
| Parameter | Type | Description |
|---|---|---|
session_id * | string |
parse_inline_document Parse Inline Document
Stage a base64-encoded local file and parse it in one call.
| Parameter | Type | Description |
|---|---|---|
content_base64 * | string | |
filename * | string | |
backend | string | |
end_page_id | integer | |
expected_sha256 | ||
formula_enable | boolean | |
inline_content | boolean | |
language | string | |
languages | ||
middle_json_only | boolean | |
output_dir | ||
parse_method | string | |
response_format_zip | boolean | |
return_content_list | boolean | |
return_images | boolean | |
return_md | boolean | |
return_middle_json | boolean | |
return_model_output | boolean | |
return_original_file | boolean | |
server_url | ||
start_page_id | integer | |
table_enable | boolean |
parse_url_document Parse Url Document
Download a remote file URL, stage it locally on Linux, and parse it in one call.
| Parameter | Type | Description |
|---|---|---|
file_url * | string | |
backend | string | |
end_page_id | integer | |
filename_hint | ||
formula_enable | boolean | |
inline_content | boolean | |
language | string | |
languages | ||
middle_json_only | boolean | |
output_dir | ||
parse_method | string | |
response_format_zip | boolean | |
return_content_list | boolean | |
return_images | boolean | |
return_md | boolean | |
return_middle_json | boolean | |
return_model_output | boolean | |
return_original_file | boolean | |
server_url | ||
start_page_id | integer | |
table_enable | boolean |
mineru_health Mineru Health
Check whether the remote self-hosted MinerU API is healthy.
parse_document Parse Document
Parse a local document through the remote MinerU API.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
output_dir * | string | |
backend | string | |
end_page_id | integer | |
formula_enable | boolean | |
inline_content | boolean | |
language | string | |
languages | ||
middle_json_only | boolean | |
parse_method | string | |
response_format_zip | boolean | |
return_content_list | boolean | |
return_images | boolean | |
return_md | boolean | |
return_middle_json | boolean | |
return_model_output | boolean | |
return_original_file | boolean | |
server_url | ||
start_page_id | integer | |
table_enable | boolean |
parse_documents Parse Documents
Parse one or more local documents through the remote MinerU API.
| Parameter | Type | Description |
|---|---|---|
file_paths * | array | |
output_dir * | string | |
backend | string | |
end_page_id | integer | |
formula_enable | boolean | |
inline_content | boolean | |
language | string | |
languages | ||
middle_json_only | boolean | |
parse_method | string | |
response_format_zip | boolean | |
return_content_list | boolean | |
return_images | boolean | |
return_md | boolean | |
return_middle_json | boolean | |
return_model_output | boolean | |
return_original_file | boolean | |
server_url | ||
start_page_id | integer | |
table_enable | boolean |
parse_directory Parse Directory
Parse all matching files in a directory through the remote MinerU API.
| Parameter | Type | Description |
|---|---|---|
directory * | string | |
output_dir * | string | |
backend | string | |
end_page_id | integer | |
formula_enable | boolean | |
inline_content | boolean | |
language | string | |
languages | ||
middle_json_only | boolean | |
parse_method | string | |
pattern | string | |
recursive | boolean | |
response_format_zip | boolean | |
return_content_list | boolean | |
return_images | boolean | |
return_md | boolean | |
return_middle_json | boolean | |
return_model_output | boolean | |
return_original_file | boolean | |
server_url | ||
start_page_id | integer | |
table_enable | boolean |
submit_parse_task Submit Parse Task
Submit one or more local documents as an asynchronous MinerU parse task.
| Parameter | Type | Description |
|---|---|---|
file_paths * | array | |
output_dir * | string | |
backend | string | |
end_page_id | integer | |
formula_enable | boolean | |
inline_content | boolean | |
language | string | |
languages | ||
middle_json_only | boolean | |
parse_method | string | |
response_format_zip | boolean | |
return_content_list | boolean | |
return_images | boolean | |
return_md | boolean | |
return_middle_json | boolean | |
return_model_output | boolean | |
return_original_file | boolean | |
server_url | ||
start_page_id | integer | |
table_enable | boolean |
get_task_status Get Task Status
Fetch the status payload for an asynchronous MinerU parse task.
| Parameter | Type | Description |
|---|---|---|
task_id * | string |
get_task_result Get Task Result
Fetch the final result for an asynchronous MinerU parse task.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | |
inline_content | boolean | |
output_dir |
get_ocr_languages Get Ocr Languages
List common OCR language codes supported by MinerU.
clean_logs Clean Logs
Delete local MCP log files older than the requested number of days.
| Parameter | Type | Description |
|---|---|---|
days | integer |