Install guide · Cursor
Install Docling MCP for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "docling-project-docling-mcp": { "command": "uvx", "args": [ "docling-mcp" ], "env": { "DOCLING_MCP_CONVERSION_MODE": "", "DOCLING_MCP_SERVICE_URL": "", "DOCLING_MCP_SERVICE_API_KEY": "YOUR_DOCLING_MCP_SERVICE_API_KEY", "DOCLING_MCP_SERVICE_TIMEOUT": "", "DOCLING_MCP_SERVICE_MAX_RETRIES": "", "DOCLING_MCP_FALLBACK_TO_LOCAL": "", "DOCLING_MCP_KEEP_IMAGES": "", "DOCLING_MCP_IMAGES_SCALE": "", "DOCLING_MCP_DO_OCR": "", "DOCLING_MCP_OCR_ENGINE": "", "DOCLING_MCP_OCR_LANG": "", "DOCLING_MCP_DO_TABLE_STRUCTURE": "", "DOCLING_MCP_DO_PICTURE_DESCRIPTION": "", "DOCLING_MCP_PICTURE_DESCRIPTION_PRESET": "", "DOCLING_MCP_IMAGE_EXPORT_MODE": "", "DOCLING_MCP_CACHE_MAX_DOCUMENTS": "" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |