CorelDRAW Live MCP
Allows AI agents to control and edit documents already open in CorelDRAW, including text, shapes, fills, document inspection, preview, export, and save operations.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CorelDRAW Live MCPUpdate the heading text to 'Summer Sale' and make it bold"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CorelDRAW Live MCP
Control the exact document already open in CorelDRAW through the Model Context Protocol. Version 0.2.2 focuses on safe live editing, predictable coordinates, atomic undo, and cross-model reliability.
Windows-only: CorelDRAW automation uses the local COM API. The MCP server must run on the same Windows computer as CorelDRAW.
Supported usage scope: This project is intended only for desktop applications and local CLI agents that support user-configured/custom MCP servers—for example Claude Desktop and compatible desktop/CLI clients such as Antigravity. It is not designed for browser-only AI websites that cannot start or connect to a local custom MCP server. A desktop ChatGPT client is supported only when that specific app/version provides custom local MCP configuration.
What changed in 0.2.2
Attaches to an existing CorelDRAW process by default; it will not silently launch a second instance.
Binds every edit to an explicit document session.
Uses one public coordinate system: page top-left, Y downward, millimetres.
Applies related changes atomically as one CorelDRAW Undo command.
Detects both stale agent revisions and external document changes before editing.
Prevents preview/export from overwriting files unless
overwrite=true.Keeps hidden and non-printable layers unchanged during preview and export.
Lazily reconnects when CorelDRAW starts after the MCP server.
Separates live edit, create, save, Save As, preview, and export.
Exposes a compact 14-tool MCP catalog instead of 70+ overlapping tools.
Fixes nested COM-thread deadlocks and double Y-coordinate conversion.
See the phased implementation document for completed and planned phases. Use the manual Windows/CorelDRAW test plan before production use.
Related MCP server: CorelDRAW Signage MCP
Requirements
Windows 10/11
CorelDRAW X6 or newer; certify your exact version before production use
64-bit Python 3.11–3.13 recommended
Python bitness matching CorelDRAW
Install
py -3.12 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -r requirements.txtOptional features are separate so MCP-only users do not install heavy agent and data-processing packages:
pip install ".[agent]" # Streamlit + bundled LLM agent
pip install ".[datamerge]" # Excel, barcode and image helpers
pip install ".[https]" # Optional local HTTPS wrapper
pip install ".[all]" # EverythingStart CorelDRAW and open the document you want to edit before starting the server.
$env:COREL_ATTACH_POLICY = "existing_only"
python server\server.py --transport stdioMCP client configuration
Replace the two example paths with paths on the user's computer.
{
"mcpServers": {
"coreldraw-live": {
"command": "C:\\path\\to\\coreldraw-mcp\\.venv\\Scripts\\python.exe",
"args": [
"C:\\path\\to\\coreldraw-mcp\\server\\server.py",
"--transport",
"stdio"
],
"env": {
"PYTHONUNBUFFERED": "1",
"COREL_ATTACH_POLICY": "existing_only",
"COREL_TOOL_PROFILE": "compact"
}
}
}
}This local stdio configuration is intended for desktop applications and local CLI agents that support custom MCP servers, including Claude Desktop, Claude Code, Antigravity-compatible CLI environments, Gemini CLI, Cursor, and VS Code.
A desktop ChatGPT app should be treated as compatible only if its installed version supports adding and running a custom local MCP server. Browser-only ChatGPT and other web-only AI interfaces are outside the supported scope because they cannot directly run this local stdio process.
Safe live-edit workflow
corel_statuslist_open_documentsattach_active_documentorattach_open_documentinspect_documentapply_operationsusing the returned revisionrender_previewwhen visual verification is neededsave_current_documentonly when explicitly requesteddetach_document
attach_active_document never creates or opens a document. save_current_document never invents another filename.
Coordinate contract
All public geometry is expressed as:
{
"coordinate_space": "page_top_left",
"unit": "mm",
"bounds": {"x": 10, "y": 20, "width": 80, "height": 30}
}(0,0)is the page top-left.X increases right.
Y increases down.
The driver converts coordinates to CorelDRAW exactly once.
Atomic operation example
{
"session_id": "sess_example",
"expected_revision": 4,
"label": "Update sale heading",
"operations": [
{
"op": "text.set_content",
"shape_id": "128",
"value": "SUMMER SALE"
},
{
"op": "text.set_style",
"shape_id": "128",
"font_family": "Montserrat",
"font_size_pt": 30,
"bold": true
},
{
"op": "shape.move",
"shape_id": "128",
"x": 20,
"y": 15
}
]
}Supported operation names in 0.2.2:
text.set_contenttext.set_styletext.create_frameshape.set_boundsshape.moveshape.resizeshape.create_rectangleshape.rotateshape.renameshape.deletefill.set_cmykfill.set_rgb
Tool profiles
Production default:
$env:COREL_TOOL_PROFILE = "compact"Temporary migration profile exposing the original tools:
$env:COREL_TOOL_PROFILE = "legacy"The legacy profile is not recommended for general AI clients because the large catalog reduces tool-selection reliability.
Tests
Platform-independent unit tests:
python -m unittest discover -s tests -v
python -m compileall -q server testsWindows/CorelDRAW end-to-end test:
python server\test_e2e.pyThe final release gate must be run on Windows with each supported CorelDRAW version. Linux tests cannot validate COM behaviour.
Reference-image reconstruction
The project retains a reconstruction foundation, but a flattened image cannot guarantee a perfect editable clone. Production reconstruction requires OCR, font matching, asset detection, vector tracing, and a render-and-compare loop. See Phase 3 in the implementation plan.
Security
Never commit
.envfiles, API keys, logs, generated customer designs, or crash dumps.Keep the local server on stdio or loopback-only networking.
Do not expose CorelDRAW COM automation directly to the public internet.
Require explicit confirmation before overwrite, destructive edits, or remote execution.
Set
COREL_OUTPUT_ROOTto restrict Save As, preview, and export destinations to one approved directory.Preview/export defaults to
overwrite=falseand rejects an existing destination.
License
Apache License 2.0. See LICENSE and NOTICE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Revit MCP: lets AI read and edit your open model. Windows, best supported on Revit 2021+, free beta.
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
An agent-first office suite Claude & ChatGPT read and write over one MCP URL.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceThis MCP server exposes CorelDRAW as a tool server, enabling AI agents to create documents, replace text, manipulate shapes, run preflight checks, and batch-export production files from natural language instructions via COM API.31-
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to drive CorelDRAW via COM API, creating and editing documents, replacing text, manipulating shapes, running preflight checks, and batch-exporting production files from natural language instructions.2-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants like Claude for Desktop or Cursor to control supported CAD applications through MCP, supporting drawing, layer and entity management, block operations, data export, and file/session control via natural language or unified tool calls.-
- AlicenseNot gradedqualityCmaintenanceEnables AI clients using the Model Context Protocol to automate vector design on Windows 10, including creating and editing documents, applying prepress checks, exporting previews, and producing final PDF/CDR deliverables, with optional remote operation via Telegram.MIT