AM

ancode666/multicad-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

197 stars 41 forks Качество 87 Тренд 20Apache-2.0

ancode666/multicad-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/ancode666/multicad-mcp.

Обзор

ancode666/multicad-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/ancode666/multicad-mcp.

Обзор (машинный перевод)

Управляйте своими CAD-приложениями с помощью AI-ассистента через протокол Model Context Protocol (MCP).

Документация: https://AnCode666.github.io/multiCAD-mcp/

Что такое multiCAD-mcp?

multiCAD-mcp — это MCP-сервер, который позволяет управлять своим CAD-программным обеспечением с помощью AI-ассистентов, таких как Claude для рабочего стола или Cursor. Будь то рисование фигур, управление слоями, автоматизация повторяющихся задач или выполнение сложных — всё это можно делать с помощью текстовых инструкций.

Особенности

  • Поддержка множественных CAD: работает с AutoCAD®, ZWCAD®, GstarCAD® и BricsCAD®
  • 7 Unified MCP Tools: Чистый доступ к 56 CAD-командам для рисования, слоев, сущностей, блоков и файлов
  • Атрибуты блока (v0.2.0+): Чтение и запись значений атрибутов блока
  • Создание блоков: Создание блоков из сущностей или выбора пользователя
  • Простое выполнение команды: «Нарисовать красный круг с точностью 50,50 с радиусом 25» — сложный синтаксис не требуется.
  • Выполнение сложных задач: «Нарисовать граф y = sen(X) и обозначить оси»
  • Простая интеграция: работает с Claude, Cursor, VS Code и любым совместимым с MCP клиентом
  • Быстро и надёжно: эффективная архитектура на базе COM для управления САПР в реальном времени

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "multiCAD": { "command": "C:\\path\\to\\multiCAD-mcp\\.venv\\Scripts\\python.exe", "args": ["C:\\path\\to\\multiCAD-mcp\\src\\server.py"] } } }