cad-mcp

Automate 2D CAD drafting in AutoCAD, GstarCAD, and ZWCAD via Python COM.

2|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/zunyiqingfeng-code/skills --skill cad-mcp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cad-mcp
Source: https://github.com/zunyiqingfeng-code/skills/tree/main/cad-mcp
Command: npx skills add https://github.com/zunyiqingfeng-code/skills --skill cad-mcp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CAD-MCP automates 2D drafting workflows by enabling natural-language control of AutoCAD, GstarCAD, and ZWCAD, reducing repetitive drawing tasks and human error.

Core Features & Use Cases

  • Natural-language CAD commands to draw shapes (lines, circles, arcs, rectangles, polylines), manage layers, add text and dimensions, and save DWG files.
  • Cross-CAD support on Windows via Python COM, enabling end-to-end drafting from a single skill.
  • Real-world workflow: describe a drawing task in plain language and have the system generate the corresponding CAD entities and save the result.

Quick Start

Launch the CAD-MCP server and issue a sample command like 'draw a red circle with radius 50 at (100,100)'.

Frequently Asked Questions about cad-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate 2D CAD drafting with natural language commands?

Natural language CAD automation translates plain text instructions into CAD operations via a Python COM interface, allowing you to draw shapes, manage layers, add annotations, and save DWG files across AutoCAD, GstarCAD, and ZWCAD.

Does AutoCAD natural language automation work without Python?

AutoCAD natural language automation requires Python 3.8+ and the pywin32 library to establish the COM interface, meaning the Python environment is strictly necessary to parse text commands and execute drawing operations.

Can I use natural language commands to manage layers and save DWG files in ZWCAD?

You can use natural language commands to manage layers and save DWG files in ZWCAD, as the cross-CAD Python COM interface supports layer management, text annotations, and file saving within Windows environments.

What is the best way to draw shapes in AutoCAD using plain text descriptions?

Drawing shapes using plain text descriptions is done by launching the MCP server and issuing commands like 'draw a red circle with radius 50 at (100,100)', which the system parses to generate corresponding CAD entities automatically.

Do I need a Windows installation to automate GstarCAD drafting with NLP?

Automating GstarCAD drafting with NLP requires a Windows CAD installation, because the Python COM interface used for translating natural language into drawing operations relies exclusively on the Windows operating system.