BC

beiming183-cloud/autocad-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

47 stars 10 forks 품질 72 트렌드 5MIT

AutoCAD 자동화를 위한 클라이언트 중립 MCP 서버는, 2D/3D 기하학, 본래 시사 및 headless DXF 납품을 검사했습니다.

개요

AutoCAD-MCP는 Codex, Claude Code, Claude Desktop, Cursor 및 모든 표준 MCP 클라이언트를 Full AutoCAD, AutoCAD LT 또는 헤드리스 DXF 백엔드에 연결합니다. 그것은 그들이 drew가 무엇인지 증명해야 에이전트에 내장, 단지 스크립트 ran을보고하지. - 엄격한 입력, 핸들 readback, 요청/실제 diffs 및 문서 개정. Native-worker 거래는 원자입니다. COM/LISP 경로는 유망한 롤백 대신 보상을 보고할 수 없습니다. - 구조화 된 2D 도면, 층, 치수, 토폴로지 DRC, 기본 AutoCAD 고체 및 불린, 결합 된 제품 기능, 모션 스크린 및 고정 카메라 검토보기. - DWG/DXF/PDF/PNG 산출, 수출 DXF re-audit, 종이 및 가늠자 검증, 기하학 소화기, 표 및 SHA-256 해시. - AutoCAD는 taskbar-visible을 유지하지만 기본적으로 축소, 그림은 초점과 미리보기 / PDF 뷰어가 출시되지 않습니다. - MCP 클라이언트를 위한 1개의 stdio 서버; Codex 전용 또는 Claude 전용 의정서 없음.

개요(AI 번역)

**AI 에이전트를위한 신뢰할 수있는 AutoCAD 자동화, 검사 된 기하학, 네이티브 3D 및 배달 증거. **

한국어 |

AutoCAD-MCP는 Codex, Claude Code, Claude Desktop, Cursor 및 모든 표준 MCP 클라이언트를 Full AutoCAD, AutoCAD LT 또는 헤드리스 DXF 백엔드에 연결합니다. 그것은 그들이 drew가 무엇인지 증명해야 에이전트에 내장, 단지 스크립트 ran을보고하지.

왜 AutoCAD-MCP

-Checked writes: 엄격한 입력, 핸들 readback, 요청/실행 디프 및 문서 개정. Native-worker 거래는 원자입니다. COM/LISP 경로는 유망한 롤백 대신 보상을 보고할 수 없습니다.

  • ** 사용 가능한 CAD 적용 : ** 구조 2D 도면, 층, 치수, 토폴라 DRC, 기본 AutoCAD 고체 및 불린, 경계 제품 기능, 모션 스크린 및 고정 카메라 검토보기.
  • ** 납품 증거: ** DWG/DXF/PDF/PNG 산출, 수출되는 DXF re-audit, 종이 및 가늠자 검증, 기하학 소화, 표 및 SHA-256 해허.
  • **Desktop 친절 : ** AutoCAD는 taskbar-visible을 유지하지만 기본으로 축소, 그림은 초점을 훔치고 미리보기 / PDF 뷰어는 출시되지 않습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

AutoCAD-MCP

Reliable AutoCAD automation for AI agents, with checked geometry, native 3D, and delivery evidence.

English | 简体中文

AutoCAD-MCP connects Codex, Claude Code, Claude Desktop, Cursor, and any standard MCP client to full AutoCAD, AutoCAD LT, or a headless DXF backend. It is built for agents that must prove what they drew, not merely report that a script ran.

Why AutoCAD-MCP

  • Checked writes: strict inputs, handle readback, requested/actual diffs, and document revisions. Native-worker transactions are atomic; compatibility COM/LISP paths report compensation limits instead of promising rollback they cannot prove.
  • Useful CAD coverage: structured 2D drawing, layers, dimensions, topology DRC, native AutoCAD solids and booleans, bounded product features, motion screening, and fixed-camera review views.
  • Delivery evidence: DWG/DXF/PDF/PNG outputs, exported-DXF re-audit, paper and scale verification, geometry digests, manifests, and SHA-256 hashes.
  • Desktop friendly: AutoCAD stays taskbar-visible but minimized by default, drawing does not steal focus, and preview/PDF viewers are not launched.
  • Client neutral: one stdio server for MCP clients; no Codex-only or Claude-only protocol.
  • Honest limits: unsupported edge selection, shelling, exact continuous motion, and material rendering are reported explicitly instead of being simulated.

Try It Without AutoCAD

The headless demo creates a mechanical DXF, runs semantic DRC, renders a deterministic PNG, and prints the evidence:

git clone https://github.com/beiming183-cloud/AutoCAD-MCP.git
cd AutoCAD-MCP
uv sync
uv run python examples/headless_demo.py

Expected result: ok: true, six entities, and drc_status: PASS. Outputs are written to demo-output/ unless AUTOCAD_MCP_OUTPUT_ROOT is set.

Native AutoCAD Showcase

With a healthy, manually opened AutoCAD session, reproduce the promotional rotary actuator as editable native solids:

uv run python examples/generate_actuator_promo.py --record --pause 1.0

Recording mode activates AutoCAD once, creates a blank document, frames the planned model before the first write, pauses one second after each completed semantic step, and leaves the final document open. It deliberately skips PNG/PDF

GitHub에서 전체 README 보기

설치

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

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "autocad-mcp": { "command": "C:\\path\\to\\autocad-mcp\\.venv\\Scripts\\python.exe", "args": ["-m", "autocad_mcp"], "env": { "AUTOCAD_MCP_BACKEND": "file_ipc", "AUTOCAD_MCP_LISP_PATH": "C:\\path\\to\\autocad-mcp\\lisp-code\\mcp_dispatch.lsp" } } } }