
ancode666/multicad-mcp 是从 https://github.com/ancode666/multicad-mcp. 导入的 MCP 服务器候选
概览
ancode666/multicad-mcp 是从 https://github.com/ancode666/multicad-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
通过模型上下文协议(MCP),用你的AI助手控制你的CAD应用。
文档:https://AnCode666.github.io/multiCAD-mcp/
什么是multiCAD-mcp?
multiCAD-mcp 是一款 MCP 服务器,允许你使用像 Claude 这样的桌面或光标等 AI 助手来控制你的 CAD 软件。无论你是在绘制形状、管理图层、自动化重复任务还是复杂任务,你都能通过文本指令完成。
特色
- 多重CAD支持:支持AutoCAD®、ZWCAD®、GstarCAD®和BricsCAD®
- 7 统一 MCP 工具:干净地访问 56 个 CAD 命令,用于绘图、图层、实体、块和文件
- 块属性(v0.2.0+):读写块属性值
- 块创建:通过实体或用户选择创建块
- 简单命令执行:“在50,50处画一个半径25的红圈”——无需复杂语法
- 复杂任务执行:“绘制y = sen(X)的图并标记轴”
- 简单集成:支持Claude、光标、VS Code及任何兼容MCP的客户端
- 快速且可靠:基于COM的高效架构,用于实时CAD控制
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
multiCAD-mcp
Control your CAD applications with your AI assistant through the Model Context Protocol (MCP).
Documentation: https://AnCode666.github.io/multiCAD-mcp/
What is multiCAD-mcp?
multiCAD-mcp is an MCP server that lets you control your CAD software using AI assistants like Claude for desktop or Cursor. Whether you’re drawing shapes, managing layers, automating repetitive tasks, o doing complex ones, you can do it all through text-based instructions.
Features
- Multiple CAD Support: Works with AutoCAD®, ZWCAD®, GstarCAD®, and BricsCAD®
- 7 Unified MCP Tools: Clean access to 56 CAD commands for drawing, layers, entities, blocks, and files
- Block Attributes (v0.2.0+): Read and write block attribute values
- Block Creation: Create blocks from entities or user selection
- Simple command execution: “Draw a red circle at 50,50 with radius 25” - no complex syntax needed
- Complex tasks execution: “Draw the graph of y = sen(X) and label the axes”
- Simple Integration: Works with Claude, Cursor, VS Code, and any MCP-compatible client
- Fast & Reliable: Efficient COM-based architecture for real-time CAD control
- Flexible: Direct tool calls or natural language - choose what works for you
System Requirements
- Windows OS (required - uses Windows COM technology)
- Python 3.10 or higher
- One or more CAD applications installed in your computer
Installation
Detailed installation instructions are available in docs/01-SETUP.md.
Quick start:
# Install uv (if not installed)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# Clone
git clone https://github.com/AnCode666/multiCAD-mcp.git
cd multiCAD-mcp
uv sync --dev
uv run python -m pip install --upgrade pywin32
Setup with Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"multiCAD": {
"command": "C:\\path\\to\\multiCAD-mcp\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\multiCAD-mcp\\src\\server.py"]
}
}
}
Important: Use the full path to the Python interpreter in your virtual environment (.venv\Scripts\python.exe), not the system py command. This ensures Claude Desktop uses the correct Python environment with all required dependencies installed.
Replace C:\path\to\multiCAD-mcp with your actual installation path.
Usage Examples
Direct Tool Calls
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"multiCAD": {
"command": "C:\\path\\to\\multiCAD-mcp\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\multiCAD-mcp\\src\\server.py"]
}
}
}