
通过模式背景协议控制 CorelDRAW 中已经打开的确切文档 。 6.2.2版本侧重于安全现场编辑、可预见坐标、原子反转和跨模型可靠性.
概览
通过模式背景协议控制 CorelDRAW 中已经打开的确切文档 。 6.2.2版本侧重于安全现场编辑、可预见坐标、原子反转和跨模型可靠性。 只用Windows: CorelDRAW自动化使用本地的COM API. MCP服务器必须在与CorelDRAW相同的Windows计算机上运行. 该项目只针对支持用户配置/客户端MCP服务器的桌面应用程序和本地CLI代理,例如Claude桌面和Antigravity等兼容的桌面/CLI客户端. 它不是针对只针对浏览器的AI网站设计的,无法启动或连接到本地自定义的MCP服务器. 桌面 ChatGPT 客户端只有在该特定应用程序/版本提供自定义本地 MCP 配置时才会被支持. - 默认附在现有的 CorelDRAW 进程上;它不会默默地启动二审。 - 将每次编辑绑入明确的文档会话。 - 使用一个公共坐标系统:左上页;下行Y;毫米.
概述(AI 翻译)
通过模式背景协议控制 CorelDRAW 中已经打开的确切文档 。 6.2.2版本侧重于安全现场编辑、可预见坐标、原子反转和跨模型可靠性。
Windows-仅: CorelDRAW 自动化使用本地COM API. MCP服务器必须在与CorelDRAW相同的Windows计算机上运行. 翻译: ** 支持使用范围:** 该项目只针对支持用户配置/客户端MCP服务器的桌面应用程序和本地CLI代理,例如Claude桌面和Antigravity等兼容的桌面/CLI客户端. 它不是针对只针对浏览器的AI网站设计的,无法启动或连接到本地自定义的MCP服务器. 桌面 ChatGPT 客户端只有在该特定应用程序/版本提供自定义本地 MCP 配置时才会被支持.
□ 在0.2.2中的变化
- 默认附在现有的 CorelDRAW 进程上;它不会默默地启动二审。
- 将每次编辑绑入明确的文档会话。
- 使用一个公共坐标系统:左上页;下行Y;毫米;
- 在原子学上应用相关的变化作为一个 CorelDRAW Undo 命令.
- 在编辑前检测到过时代理修改和外部文件更改.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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.
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.txt
Optional 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]" # Everything
Start CorelDRAW and open the document you want to edit before starting the server.
$env:COREL_ATTACH_POLICY = "existing_only"
python server\server.py --transport stdio
MCP 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": [
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"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"
}
}
}
}