mineru-selfhosted-mcp

v0.1.17
mineru-selfhosted-mcp Checked 5 hours ago Published 6 months ago

MCP 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.

ParameterTypeDescription
filename *string
expected_sha256
expected_size

append_upload_chunk Append Upload Chunk

Append a base64-encoded chunk to an existing upload session.

ParameterTypeDescription
chunk_base64 *string
session_id *string

finalize_upload Finalize Upload

Finalize an upload session and validate size/hash if provided.

ParameterTypeDescription
session_id *string

parse_staged_file Parse Staged File

Parse a previously staged upload session file.

ParameterTypeDescription
session_id *string
backendstring
end_page_idinteger
formula_enableboolean
inline_contentboolean
languagestring
languages
middle_json_onlyboolean
output_dir
parse_methodstring
response_format_zipboolean
return_content_listboolean
return_imagesboolean
return_mdboolean
return_middle_jsonboolean
return_model_outputboolean
return_original_fileboolean
server_url
start_page_idinteger
table_enableboolean

cleanup_staged_file Cleanup Staged File

Delete a staged upload session and its local files.

ParameterTypeDescription
session_id *string

parse_inline_document Parse Inline Document

Stage a base64-encoded local file and parse it in one call.

ParameterTypeDescription
content_base64 *string
filename *string
backendstring
end_page_idinteger
expected_sha256
formula_enableboolean
inline_contentboolean
languagestring
languages
middle_json_onlyboolean
output_dir
parse_methodstring
response_format_zipboolean
return_content_listboolean
return_imagesboolean
return_mdboolean
return_middle_jsonboolean
return_model_outputboolean
return_original_fileboolean
server_url
start_page_idinteger
table_enableboolean

parse_url_document Parse Url Document

Download a remote file URL, stage it locally on Linux, and parse it in one call.

ParameterTypeDescription
file_url *string
backendstring
end_page_idinteger
filename_hint
formula_enableboolean
inline_contentboolean
languagestring
languages
middle_json_onlyboolean
output_dir
parse_methodstring
response_format_zipboolean
return_content_listboolean
return_imagesboolean
return_mdboolean
return_middle_jsonboolean
return_model_outputboolean
return_original_fileboolean
server_url
start_page_idinteger
table_enableboolean

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.

ParameterTypeDescription
file_path *string
output_dir *string
backendstring
end_page_idinteger
formula_enableboolean
inline_contentboolean
languagestring
languages
middle_json_onlyboolean
parse_methodstring
response_format_zipboolean
return_content_listboolean
return_imagesboolean
return_mdboolean
return_middle_jsonboolean
return_model_outputboolean
return_original_fileboolean
server_url
start_page_idinteger
table_enableboolean

parse_documents Parse Documents

Parse one or more local documents through the remote MinerU API.

ParameterTypeDescription
file_paths *array
output_dir *string
backendstring
end_page_idinteger
formula_enableboolean
inline_contentboolean
languagestring
languages
middle_json_onlyboolean
parse_methodstring
response_format_zipboolean
return_content_listboolean
return_imagesboolean
return_mdboolean
return_middle_jsonboolean
return_model_outputboolean
return_original_fileboolean
server_url
start_page_idinteger
table_enableboolean

parse_directory Parse Directory

Parse all matching files in a directory through the remote MinerU API.

ParameterTypeDescription
directory *string
output_dir *string
backendstring
end_page_idinteger
formula_enableboolean
inline_contentboolean
languagestring
languages
middle_json_onlyboolean
parse_methodstring
patternstring
recursiveboolean
response_format_zipboolean
return_content_listboolean
return_imagesboolean
return_mdboolean
return_middle_jsonboolean
return_model_outputboolean
return_original_fileboolean
server_url
start_page_idinteger
table_enableboolean

submit_parse_task Submit Parse Task

Submit one or more local documents as an asynchronous MinerU parse task.

ParameterTypeDescription
file_paths *array
output_dir *string
backendstring
end_page_idinteger
formula_enableboolean
inline_contentboolean
languagestring
languages
middle_json_onlyboolean
parse_methodstring
response_format_zipboolean
return_content_listboolean
return_imagesboolean
return_mdboolean
return_middle_jsonboolean
return_model_outputboolean
return_original_fileboolean
server_url
start_page_idinteger
table_enableboolean

get_task_status Get Task Status

Fetch the status payload for an asynchronous MinerU parse task.

ParameterTypeDescription
task_id *string

get_task_result Get Task Result

Fetch the final result for an asynchronous MinerU parse task.

ParameterTypeDescription
task_id *string
inline_contentboolean
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.

ParameterTypeDescription
daysinteger