zwcad-platform
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., "@zwcad-platformDraw a line from (0,0) to (100,100)"
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.
ZWCAD Platform MCP
Control ZWCAD's Windows local service through the MCP protocol, available for WorkBuddy and other clients that support MCP stdio. The project provides 26 ZWCAD automation tools.
Features
Category | Tools |
2D/3D Drawing |
|
Annotation and Dimensioning |
|
Query and Edit |
|
Style, View, Document |
|
Table, Selection Set, Block |
|
System and Application |
|
Extended Data and Utilities |
|
Related MCP server: CAD MCP Server
Environment Requirements
Windows 10/11
ZWCAD, with at least one DWG open after startup
Python 3.9 or higher
It is recommended that Python and ZWCAD have the same bitness
When installing Python, check Add Python to PATH. You can also run py -3 --version from the command line to confirm the installation.
Installation
Extract the project to a fixed directory, e.g.
D:\Tools\ZWCAD-Platform-MCP.Double-click
install.bat.Wait for the script to create
.venvand install dependencies.
Standalone Startup Test
Start ZWCAD and open a test DWG.
Double-click
start.bat.It is normal for the command window to keep running and wait for a client connection; the MCP stdio service itself has no web interface.
Configure WorkBuddy
Open workbuddy-mcp.json and replace the two occurrences of D:\\YOUR_PATH with the actual directory where the project is located. For example, when the project is located at D:\Tools\ZWCAD-Platform-MCP:
{
"mcpServers": {
"zwcad-platform": {
"command": "D:\\Tools\\ZWCAD-Platform-MCP\\.venv\\Scripts\\python.exe",
"args": ["D:\\Tools\\ZWCAD-Platform-MCP\\server.py"],
"env": {"PYTHONUTF8": "1"}
}
}
}Merge the mcpServers configuration into WorkBuddy's MCP configuration, save, and restart WorkBuddy.
First-Time Verification
It is recommended to call the following in sequence in a test DWG:
get_app_infoget_objects_in_model(limit=10)draw_entity(entity_type="line", params={"x1":0,"y1":0,"x2":100,"y2":0})zoom(mode="extents")
If the first step fails to connect, please confirm:
ZWCAD has been started and a DWG is open;
WorkBuddy is using
.venv\Scripts\python.exe;WorkBuddy has been fully restarted after modifying the configuration;
Antivirus software is not blocking Python from accessing the local COM service.
If an older version showed mbcs codec can't decode bytes, use the latest server.py from this project and fully restart WorkBuddy. The service now has comtypes generate the ZWCAD interface wrappers in memory, avoiding failures when the system ANSI code page reads generated files.
Usage Safety
Some tools directly modify the current drawing. Before performing deletion, closing documents, overwriting saves, or modifying system variables, it is recommended to save a backup first and require manual confirmation in WorkBuddy before the operation.
License
MIT License, see LICENSE for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
Read and edit the Revit 2024–2027 model on your PC. Needs the free Revit MCP add-in.
Revit MCP: lets AI read and edit your open model. Windows, best supported on Revit 2021+, free beta.
Run your Zenning AI employees and act across 2,000+ connected apps from any MCP client.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for full AutoCAD automation, AutoCAD LT automation, and headless DXF generation. It provides 8 consolidated tools for drawing, entity, layer, block, annotation, P&ID, view, and system operations via MCP stdio transport.1237MIT
- AlicenseCqualityCmaintenanceEnables MCP clients to create and edit technical drawings, manage layers and geometry, process GIS/research mapping data, generate previews and layouts, and automate AutoCAD documents on Windows through COM.22550 npmMIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to control CAD applications like AutoCAD, ZWCAD, GstarCAD, and BricsCAD through natural language or direct tool calls. Supports drawing, layer and entity management, block operations, data export, and file handling via 7 unified MCP tools covering 56 CAD commands.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants like Claude for Desktop or Cursor to control CAD applications (AutoCAD, ZWCAD, GstarCAD, and BricsCAD) on Windows through natural language or direct tool calls for drawing, layer, entity, block, and file operations. It exposes 7 unified MCP tools covering 56 CAD commands for tasks ranging from simple shape creation to complex multi-step automation.-