---
name: CAD-MCP
description: 2D engineering drafting MCP service. Lets AI control AutoCAD, ZWCAD, and GstarCAD through natural language for drawing, layer management, and dimensioning. Windows only.
---

# CAD-MCP - 2D Engineering Drafting Automation

- **Project homepage**: https://github.com/daobataotie/CAD-MCP

## Overview

`CAD-MCP` is an MCP server that bridges large language models with mainstream commercial CAD software through the Windows COM interface. It lets the model understand drafting requests in natural language and draw directly inside the local CAD application.

### Supported Software

- AutoCAD
- ZWCAD
- GstarCAD

### Core Capabilities

- **Basic drawing**: lines, polylines, circles, arcs, rectangles
- **Annotations and text**: single-line text, multiline text, linear/aligned dimensions
- **Layer management**: create layers, switch the active layer, set colors
- **Hatching**: fill closed regions with hatch patterns
- **File operations**: save the current drawing as a DWG file

## Requirements

- **Operating system**: Windows only, because the skill depends on `pywin32` and COM
- **Environment**: Python with `mcp`, `pywin32`, `pydantic`, and related dependencies installed
- **CAD software**: A supported CAD application must already be installed and running locally

## Typical Scenarios

- "Draw a rectangle 100 by 50, put it on the 'outline' layer, and make it red."
- "Draw a circle with radius 10 at coordinates (50, 25) and fill it with hatch lines."
- "Add length dimensions to all rectangles in the drawing."

## Details

For setup, supported commands, and advanced usage, see the local repository's `README.md`.

