MCP.so
登录

CAD-MCP Server (CAD Model Control Protocol Server)

@daobataotie

关于 CAD-MCP Server (CAD Model Control Protocol Server)

CAD MCP Server

基本信息

分类

其他

许可证

MIT

运行时

python

传输方式

stdio

发布者

daobataotie

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

其他 分类下的更多 MCP 服务器