MCP Server
MCP
Docling MCP
Convert PDFs and other documents to structured formats via Docling, for AI applications.
Install
uvx docling-mcp
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"identifier": "docling-mcp",
"version": "3.1.1",
"runtimeHint": "uvx",
"transport": {
"type": "stdio"
},
"runtimeArguments": [
{
"value": "docling-mcp==3.1.1",
"type": "named",
"name": "--from"
},
{
"value": "docling-mcp-server",
"type": "positional"
},
{
"value": "stdio",
"type": "named",
"name": "--transport"
}
],
"environmentVariables": [
{
"description": "Conversion mode: 'remote' (default) or 'local' (requires docling-mcp[local] extra).",
"name": "DOCLING_MCP_CONVERSION_MODE"
},
{
"description": "Base URL of the Docling Serve instance. Required when conversion mode is remote.",
"name": "DOCLING_MCP_SERVICE_URL"
},
{
"description": "API key for authenticating with Docling Serve.",
"isSecret": true,
"name": "DOCLING_MCP_SERVICE_API_KEY"
},
{
"description": "Request timeout in seconds for the remote Docling Serve API. Default: 300.0.",
"name": "DOCLING_MCP_SERVICE_TIMEOUT"
},
{
"description": "Maximum number of retry attempts for remote API requests. Default: 3.",
"name": "DOCLING_MCP_SERVICE_MAX_RETRIES"
},
{
"description": "Set to 'true' to fall back to local conversion when Docling Serve is unreachable.",
"name": "DOCLING_MCP_FALLBACK_TO_LOCAL"
},
{
"description": "Set to 'true' to retain page images in converted documents. Default: false.",
"name": "DOCLING_MCP_KEEP_IMAGES"
},
{
"description": "Image scale factor (e.g. 1.0, 2.0). Increase to avoid tensor batching errors. Default: 1.0.",
"name": "DOCLING_MCP_IMAGES_SCALE"
},
{
"description": "Set to 'false' to disable the OCR pipeline. Default: true.",
"name": "DOCLING_MCP_DO_OCR"
},
{
"description": "Set to 'false' to disable table structure detection. Default: true.",
"name": "DOCLING_MCP_DO_TABLE_STRUCTURE"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment