- How you use it
- Your agent calls its tools
- What it can do
- installs software · writes files · network · secrets access · runs shell
- What's inside
The option
| Option | AMCP server · v3.5.1Docling MCP |
|---|---|
| How you use it | Your agent calls its tools |
| What it can do | installs software · writes files · network · secrets access · runs shell |
| What's inside |
What this thread does
What it is. Docling MCP connects document conversion, processing, and generation tools to an MCP client. It uses DoclingDocument as a structured document format and caches documents locally.
Do first: Set DOCLING_MCP_CONVERSION_MODE=local in the MCP client's environment configuration. This selects local conversion instead of the default remote service mode.
Use it when / not
- Use when: convert a PDF from a local file or URL into structured document data.
- Use when: build a document with headings, paragraphs, and lists through tools.
- Use when: inspect a generated document with
export_docling_document_to_markdown. - Not for: remote conversion without a Docling Serve instance and service API key.
Setup
1. Have Python >=3.10 and uvx available (registry record). This package version uses MCP Python SDK mcp>=2.0.0; check the client's SDK compatibility (README). 2. Register the local-support package with claude mcp add --scope project docling --transport stdio -- uvx --from 'docling-mcp[local]==3.5.1' docling-mcp-server --transport stdio (registry record). The pinned version 3.5.1 is the registry record: registry record. 3. For Codex, use codex mcp add docling -- uvx --from 'docling-mcp[local]==3.5.1' docling-mcp-server --transport stdio (registry record). Add an env block with DOCLING_MCP_CONVERSION_MODE set to local in the client's server configuration. The JSON install entry includes this setting. 4. For remote conversion instead, needs your own Docling Serve instance and service API key, configured through DOCLING_MCP_SERVICE_URL and DOCLING_MCP_SERVICE_API_KEY, with DOCLING_MCP_CONVERSION_MODE=remote.
Limits
- The server reads local files or document URLs, caches documents, and can generate and save documents. Remote conversion sends work to the configured Docling Serve instance.
- The in-memory cache holds 10 documents by default and evicts the least recently used document when full.
- OCR engines must be installed on the conversion backend. Picture descriptions add model inference per figure and can substantially increase conversion time.
- Remote conversion has a default whole-job timeout of 300.0 seconds; a client may impose its own timeout.
- License: MIT (registry record).
Sources
- README by docling-project.
- registry record for version 3.5.1.
Started from a post by @docling-project, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.