Skip to content
Cursor

Docling MCP for Cursor

io.github.docling-project/docling-mcp

Convert PDFs and other documents to structured formats via Docling, for AI applications.

client:Cursor transport:stdio runtime:pypi

Install Docling MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "docling-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "docling-mcp"
      ],
      "env": {
        "DOCLING_MCP_CONVERSION_MODE": "<DOCLING_MCP_CONVERSION_MODE>",
        "DOCLING_MCP_SERVICE_URL": "<DOCLING_MCP_SERVICE_URL>",
        "DOCLING_MCP_SERVICE_API_KEY": "<DOCLING_MCP_SERVICE_API_KEY>",
        "DOCLING_MCP_SERVICE_TIMEOUT": "<DOCLING_MCP_SERVICE_TIMEOUT>",
        "DOCLING_MCP_SERVICE_MAX_RETRIES": "<DOCLING_MCP_SERVICE_MAX_RETRIES>",
        "DOCLING_MCP_FALLBACK_TO_LOCAL": "<DOCLING_MCP_FALLBACK_TO_LOCAL>",
        "DOCLING_MCP_KEEP_IMAGES": "<DOCLING_MCP_KEEP_IMAGES>",
        "DOCLING_MCP_IMAGES_SCALE": "<DOCLING_MCP_IMAGES_SCALE>",
        "DOCLING_MCP_DO_OCR": "<DOCLING_MCP_DO_OCR>",
        "DOCLING_MCP_DO_TABLE_STRUCTURE": "<DOCLING_MCP_DO_TABLE_STRUCTURE>",
        "DOCLING_MCP_IMAGE_EXPORT_MODE": "<DOCLING_MCP_IMAGE_EXPORT_MODE>",
        "DOCLING_MCP_CACHE_MAX_DOCUMENTS": "<DOCLING_MCP_CACHE_MAX_DOCUMENTS>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Docling MCP in other clients