MCP.so
Sign In

CAD-MCP Server (CAD Model Control Protocol Server)

@daobataotie

About CAD-MCP Server (CAD Model Control Protocol Server)

CAD MCP Server

Basic information

Category

Other

License

MIT

Runtime

python

Transports

stdio

Publisher

daobataotie

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "CAD-MCP": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/inspector",
        "python",
        "C:\\cad-mcp\\src\\server.py"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is CAD-MCP Server?

CAD-MCP Server is an innovative CAD control service that allows users to control 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 via simple text commands without manually operating the CAD interface.

How to use CAD-MCP Server?

Install the required Python dependencies (pywin32, mcp, pydantic, typing) and configure the src/config.json file specifying the CAD software type, startup wait time, and command delay. Start the service with python src/server.py. Integrate with Claude Desktop, Windsurf, or Cursor by adding the server to their MCP configuration, or test with MCP Inspector using the provided npx command. The server exposes API functions such as draw_line, draw_circle, draw_text, and save_drawing.

Key features of CAD-MCP Server

  • Supports AutoCAD, GstarCAD (GCAD), and ZWCAD
  • Basic drawing functions: line, circle, arc, rectangle, polyline, text, hatch, dimension
  • Layer management: create and switch layers
  • Save drawings as DWG files
  • Natural language command parsing with color and shape keyword mapping

Use cases of CAD-MCP Server

  • Create CAD drawings by typing natural language instructions instead of using the GUI
  • Automate repetitive CAD tasks through AI-driven command sequences
  • Integrate CAD operations with AI assistants like Claude Desktop for conversational drafting

FAQ from CAD-MCP Server

What CAD software does CAD-MCP Server support?

It supports AutoCAD, GstarCAD (GCAD), and ZWCAD. The CAD type is configured in src/config.json.

What are the system requirements for running CAD-MCP Server?

Windows operating system is required, along with an installed CAD software (AutoCAD, GstarCAD, or ZWCAD). Dependencies include pywin32>=228, mcp>=0.1.0, pydantic>=2.0.0, and typing>=3.7.4.3.

How does CAD-MCP Server process natural language commands?

It uses a natural language processor (nlp_processor.py) to parse instructions, extract color information, map shape and action keywords, and convert them into CAD operation parameters for execution by the CAD controller.

Comments

More Other MCP servers