mineru-book-mcp
v0.3.0MCP server mineru-book-mcp
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_upload
Create an isolated upload. Then send <=256 KiB decoded base64 chunks.
| Parameter | Type | Description |
|---|---|---|
filename * | string | |
sha256 * | string | |
size * | integer |
upload_chunk
Append one chunk; exact offset makes interrupted uploads detectable.
| Parameter | Type | Description |
|---|---|---|
data_base64 * | string | |
offset * | integer | |
upload_id * | string |
upload_status
Check actual byte count before sealing a legacy upload. Never guess hashes.
| Parameter | Type | Description |
|---|---|---|
upload_id * | string |
finish_upload
Seal an upload only after size and SHA-256 agree.
| Parameter | Type | Description |
|---|---|---|
upload_id * | string |
job_status
Poll a submitted job. done includes artifact paths, sizes and hashes. Follow detail.delivery: illustrated documents require the complete ZIP, not a lone Markdown file. Never call delivery complete when status=incomplete.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
read_artifact
Download completed artifacts as base64 chunks; verify final SHA-256. Decode original tool bytes with host code, never rewrite Base64 in prose. Prefer detail.delivery.original_mineru_zip_url for direct binary download.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
path * | string | |
length | integer | |
offset | integer |
read_markdown
Read ORIGINAL completed Markdown as UTF-8 text, without Base64 or rewriting. For text-only download save chunks verbatim. If delivery.preferred=zip, deliver the ZIP or original MinerU ZIP link instead: a lone MD loses images.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
path * | string | |
length | integer | |
offset | integer |
read_workflow
Read bundled Skill instructions/references. These guide the host LLM.
| Parameter | Type | Description |
|---|---|---|
length | integer | |
offset | integer | |
path | string |
import_chatgpt_file
REQUIRED for ChatGPT PDF/document attachments: pass the host file reference. Server downloads original bytes and computes SHA-256. Unicode names supported. Do NOT generate Base64, size or hashes in the model. Do not use create_upload/upload_chunk for ChatGPT attachments. Returns a sealed upload_id.
| Parameter | Type | Description |
|---|---|---|
file * |
start_parse
MinerU first for PDF/Office/images. Optional local fallback; no LLM generation. Defaults to standard using MINERU_TOKEN from the server environment. api agent is token-free and must be explicitly selected; auto also uses MINERU_TOKEN. Native MD/TXT goes directly to book-to-skill. Poll job_status for results. Parsed documents include an offline ZIP with original Markdown, images and hashes. If detail.delivery.image_file_count is positive, deliver the ZIP, not a lone .md.
| Parameter | Type | Description |
|---|---|---|
upload_id * | string | |
allow_cloud | boolean | |
allow_local_fallback | boolean | |
api | string |
package_skill
Validate and ZIP host-authored knowledge Skill Markdown. Does not generate text.
| Parameter | Type | Description |
|---|---|---|
files * | object | |
slug * | string |