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.

コメント

「その他」の他のコンテンツ