MCP.so
ログイン

CAD-MCP Server (CAD Model Control Protocol Server)

@daobataotie

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

daobataotie

CAD-MCP Server について

CAD MCP Server

CAD-MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

CAD-MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

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

よくある質問

1

What CAD software does CAD-MCP Server support?

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

2

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.

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.

コメント

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