CAD-MCP Server
CAD-MCP サーバー (CAD モデル制御プロトコル サーバー)
プロジェクト紹介
CAD-MCPは、自然言語による指示を通じてCADソフトウェアの図面操作を制御できる革新的なCAD制御サービスです。このプロジェクトは、自然言語処理とCAD自動化技術を組み合わせ、ユーザーがCADインターフェースを手動で操作することなく、簡単なテキストコマンドでCAD図面を作成および修正できるようにします。
Related MCP server: multiCAD-mcp
特徴
CAD制御機能
複数のCADソフトウェアのサポート:AutoCAD、GstarCAD(GCAD)、ZWCADなどの主要なCADソフトウェアをサポート
基本的な描画機能:
線画
円の描画
円弧描画
長方形の描画
ポリライン描画
テキストの追加
パターン塗りつぶし
寸法注釈
レイヤー管理: レイヤーの作成と切り替え
図面の保存: 現在の図面をDWGファイルとして保存します
自然言語処理関数
コマンド解析:自然言語の指示をCAD操作パラメータに解析します。
色認識: テキストから色情報を抽出し、描画オブジェクトに適用します
形状キーワードマッピング: さまざまな形状の説明語の認識をサポート
アクションキーワードマッピング: さまざまな描画および編集アクションを認識する
デモ
以下はデモビデオです。

インストール要件
依存関係
pywin32>=228 # Windows COM interface support
mcp>=0.1.0 # Model Control Protocol library
pydantic>=2.0.0 # Data validation
typing>=3.7.4.3 # Type annotation supportシステム要件
Windows オペレーティング システム
インストールされた CAD ソフトウェア (AutoCAD、GstarCAD、または ZWCAD)
構成
構成ファイルはsrc/config.jsonにあり、次の主な設定が含まれています。
{
"server": {
"name": "CAD MCP Server",
"version": "1.0.0"
},
"cad": {
"type": "AutoCAD",
"startup_wait_time": 20,
"command_delay": 0.5
},
"output": {
"directory": "./output",
"default_filename": "cad_drawing.dwg"
}
}server : サーバー名とバージョン情報
キャドバリー:
type: CAD ソフトウェアの種類 (AutoCAD、GCAD、GstarCAD、または ZWCAD)startup_wait_time: CAD 起動待機時間(秒)command_delay: コマンド実行遅延(秒)
出力:出力ファイルの設定
使用法
サービスの開始
python src/server.pyクロード・デスクトップ&ウィンドサーフィン
# add to claude_desktop_config.json. Note: use your path
{
"mcpServers": {
"CAD": {
"command": "python",
"args": [
# your path, e.g.: "C:\\cad-mcp\\src\\server.py"
"~/server.py"
]
}
}
}カーソル
# Add according to the following diagram Cursor MCP. Note: use your path 
注:カーソルの新しいバージョンもJSON構成に変更されました。前のセクションを参照してください。
MCP検査官
# Note: use your path
npx -y @modelcontextprotocol/inspector python C:\\cad-mcp\\src\\server.pyサービスAPI
サーバーは次の主な API 関数を提供します。
draw_line: 線を描くdraw_circle: 円を描くdraw_arc: 円弧を描くdraw_polyline: ポリラインを描くdraw_rectangle: 長方形を描くdraw_text: テキストを追加するdraw_hatch: ハッチパターンを描画するadd_dimension: 線形寸法を追加するsave_drawing: 図面を保存するprocess_command: 自然言語コマンドを処理する
プロジェクト構造
CAD-MCP/
├── imgs/ # Images and video resources
│ └── CAD-mcp.mp4 # Demo video
├── requirements.txt # Project dependencies
└── src/ # Source code
├── __init__.py # Package initialization
├── cad_controller.py # CAD controller
├── config.json # Configuration file
├── nlp_processor.py # Natural language processor
└── server.py # Server implementationライセンス
MITライセンス
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
- AutoMEPDeprecatedapp.automep
Edit AutoCAD and Revit MEP drawings from Claude or ChatGPT in plain English.
Read, query, edit and render DWG drawings with AI. No AutoCAD required.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
A browser 3D CAD for your AI: it scripts real-size models, uCAD builds them and returns pictures.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables users to control CAD software like AutoCAD, GstarCAD, and ZWCAD through natural language instructions via the Model Context Protocol. It supports automated drawing of shapes, layer management, and saving designs to DWG files without manual interface interaction.2-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to control AutoCAD, ZWCAD, GstarCAD, and BricsCAD through the Model Context Protocol, supporting drawing, layer/entity/block management, data export, file operations, and natural-language CAD task automation.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to control CAD applications such as AutoCAD, ZWCAD, GstarCAD, and BricsCAD through natural language or direct tool calls for drawing, layer/entity/block management, data export, and file operations.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants such as Claude for Desktop or Cursor to control CAD applications including AutoCAD, ZWCAD, GstarCAD, and BricsCAD through natural-language and unified tool calls for drawing, layers, blocks, entities, files, and exports.-