Skip to main content
Glama
AvatarGanymede

MinerU Document to Markdown MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MINERU_API_KEYYesYour MinerU API Token obtained from https://mineru.net/apiManage/token

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_parse_taskA

Create a document parsing task on MinerU API. Purpose: Submit a document URL for async conversion. Returns task_id for tracking. Constraints: Supported formats: PDF, DOC, DOCX, PPT, PPTX, PNG, JPG, JPEG, HTML only. Side effect: Calls MinerU API.

get_task_statusA

Check the status of a document parsing task. Purpose: Poll task progress and get download URL when done. Provide task_id (URL) or batch_id (file upload). Returns state and full_zip_url. Side effect: Read-only API call.

download_resultA

Get the download URL for a completed parsing result. Purpose: Return the zip URL from get_task_status. After calling, download with curl to ./temp/ and unzip: curl -L -o ./temp/.zip "" --retry 3 -f -s -S && unzip -o ./temp/.zip -d ./temp/. No side effect.

convert_to_markdownA

One-step document conversion. Purpose: Submit URL, poll until done, return download link. Constraints: Supported formats: PDF, DOC, DOCX, PPT, PPTX, PNG, JPG, JPEG, HTML. Auto-configures model and OCR. Side effect: Creates task and polls MinerU API. Use for quick conversion.

convert_pdf_to_markdownB

Alias for convert_to_markdown. Same one-step workflow for Supported formats: PDF, DOC, DOCX, PPT, PPTX, PNG, JPG, JPEG, HTML.

Prompts

Interactive templates invoked by user choice

NameDescription
convert-documentConvert a document URL to Markdown. Call convert_to_markdown, then download with curl and unzip to ./temp/. Use when the user wants to convert a PDF, Word, PowerPoint, image, or HTML file. Side effect: Calls MinerU API.
check-conversion-statusCheck the status of a document conversion task. When state is done, use download_result to get zip_url, then curl to download and unzip to ./temp/.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AvatarGanymede/MinerU-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server