Docling-rs MCP
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --http | No | Serve the MCP server over Streamable HTTP instead of stdio. | false |
| --root | No | Directory under which local file reads are restricted. | |
| --allow-url-fetch | No | Allow fetching documents from URLs. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Converts documents to Markdown or docling JSON for reading: PDF (layout, tables, OCR), DOCX, PPTX, XLSX, HTML, EPUB, e-mail, images, audio and more. Tools: convert_to_markdown for Markdown with default settings; convert for any other output format or for options (e.g. {"pages": "1-5"}); list_input_formats to check what this server accepts. Local files: paths under /app. URLs: enabled.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| convertA | Convert a document to a chosen output format, with conversion
options, and return the result as text. |
| convert_to_markdownA | Read a document as Markdown, with default settings, and return the
Markdown text. Handles PDF (layout analysis, tables, OCR for scans),
Word, PowerPoint, Excel, HTML, EPUB, e-mail, images, audio and more.
Use this whenever Markdown is all you need. Use |
| list_input_formatsA | List the file extensions this server can convert, one per line, and
whether it accepts http(s) URLs. Takes no arguments and converts
nothing. Call it before |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
`convert` and `convert_to_markdown` both produce Markdown, so there is a real overlap zone, but the descriptions draw an explicit boundary (simple default Markdown vs. format/options/image embeds) and each tool points to the other. `list_input_formats` is clearly a discovery helper that converts nothing, so it cannot be confused with the conversion tools.
`convert_to_markdown` and `list_input_formats` follow a clean verb_noun pattern, and `convert` is a reasonable short-form general verb for the parameterized variant. The bare `convert` is a minor deviation but still readable and predictable alongside the others.
Three tools is small but well-scoped for a read-only document conversion server: a general converter, a shortcut, and a format-discovery call. Nothing is padding, though the surface is thin enough that one could ask whether `convert_to_markdown` earns its separate slot versus being a default of `convert`.
The conversion lifecycle is covered end-to-end: discover supported inputs, then convert to any of the many listed output formats including options, images, and OCR settings. Minor gaps exist — no way to enumerate documents available under the server root and no batch conversion — but agents can work around both by supplying explicit paths.