CAD-MCP Server logo

CAD-MCP Server

by daobataotie

CAD-MCP is an innovative CAD control service that allows controlling CAD software for drawing operations through natural language instructions. It combines natural language processing and CAD automation technology, enabling users to create and modify CAD drawings through simple text commands.

View on GitHub

Last updated: N/A

What is CAD-MCP Server?

CAD-MCP Server is a service that enables control of CAD software using natural language instructions. It bridges the gap between natural language and CAD operations, allowing users to create and modify drawings through simple text commands.

How to use CAD-MCP Server?

To use the CAD-MCP Server, you need to install the dependencies, configure the src/config.json file with your CAD software settings, and start the server using python src/server.py. Then, integrate it with tools like Claude Desktop, Windsurf, or Cursor by configuring them to send commands to the server. You can also use the MCP Inspector for testing.

Key features of CAD-MCP Server

  • Supports multiple CAD software (AutoCAD, GstarCAD, ZWCAD)

  • Provides basic drawing functions (line, circle, arc, rectangle, polyline, text, hatch, dimension)

  • Offers layer management capabilities

  • Includes natural language processing for command parsing, color recognition, and shape/action keyword mapping

Use cases of CAD-MCP Server

  • Automating CAD drawing tasks through natural language commands.

  • Creating CAD drawings without manual operation of the CAD interface.

  • Integrating CAD drawing capabilities into natural language-based applications.

  • Streamlining the CAD design process by using text-based instructions.

FAQ from CAD-MCP Server

What CAD software does CAD-MCP support?

CAD-MCP supports AutoCAD, GstarCAD (GCAD), and ZWCAD.

How do I configure the CAD software type?

You can configure the CAD software type in the src/config.json file under the cad.type setting. Available options are AutoCAD, GCAD, GstarCAD, or ZWCAD.

What are the system requirements for CAD-MCP?

CAD-MCP requires a Windows operating system and installed CAD software (AutoCAD, GstarCAD, or ZWCAD).

How do I start the CAD-MCP server?

You can start the server by running the command python src/server.py in your terminal.

Where can I find the configuration file?

The configuration file is located at src/config.json.