DD

dimitrovakulenko/dwg-mcp-server

Developer tools

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

21 stars 6 forks 품질 79 트렌드 24GPL-3.0

MCP를 통해 AI를 위한 DWG 파일 체재 접근. Claude, ChatGPT, Codex, Cursor 및 기타 AI 클라이언트에 DWG 파일을 연결합니다.

개요

MCP를 통해 AI를 위한 DWG와 DXF 파일 체재 접근. DWG 및 DXF 파일을 Claude, ChatGPT, Codex, Cursor 및 기타 MCP 클라이언트에 연결하십시오. 사이트맵 Server는 DWG 데이터에 대한 구조화된 액세스를 제공하므로 AI는 도면에 대해 이해하고 이유를 이해할 수 있습니다. 소스 파일은 읽기 전용 유지; 지원 된 엔티티티 속성은 검사 및 렌더링을위한 메모리에서 변경 될 수 있습니다. 선택의 MCP 클라이언트에서 DWG MCP 서버를 사용하십시오. npm 패키지는 SHA-256 체크섬을 검증하고, SHA-256 체크섬을 직접 실행합니다. Docker 및 별도의 Python 설치가 필요하지 않습니다. 설치자 모두 최신 네이티브 릴리스를 다운로드하고 설치하기 전에 SHA-256 체크섬을 확인합니다. 설치 후, MCP 클라이언트를 설치한 실행할 수 있습니다. macOS에서 ~/를 추가합니다.

개요(AI 번역)

MCP를 통해 AI를 위한 DWG와 DXF 파일 체재 접근.

DWG 및 DXF 파일을 Claude, ChatGPT, Codex, Cursor 및 기타 MCP 클라이언트에 연결하십시오. 사이트맵 Server는 DWG 데이터에 대한 구조화된 접근을 제공하므로 AI는 이해와 도면에 대한 이유. Source 파일은 읽기 전용 유지; 지원되는 entity 속성은 검사 및 렌더링을위한 메모리에서 변경 될 수 있습니다.

빠른 시작

선택의 MCP 클라이언트에서 DWG MCP 서버를 사용하십시오. npm 패키지는 GitHub 릴리스의 매칭 기본 빌드를 다운로드합니다. 첫번째 사용은, 그것의 SHA-256 checksum, 그것을 캐시하고, 그것을 직접 실행합니다. Docker 및 별도의 Python 설치가 필요하지 않습니다.

네이티브 설치자

macOS 애플 실리콘:

윈도우 x64 (PowerShell):

두 설치자는 최신 네이티브 릴리스를 다운로드하고 SHA-256을 확인 설치하기 전에 checksum.

설치 후, MCP 클라이언트를 설치한 실행할 수 있습니다. macOS에서 ~/.local/bin]을 PATH에 추가하거나, 보고한 절대적인 경로를 사용합니다. 설치자:

MCP 클라이언트, AI 대리인, 또는 시험 마구가 MCP 뿌리를 지원하지 않는 경우에, 세트 DWG_MCP_ALLOWED_ROOTS 접근할 수 있는 폴더에.

코드

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

README

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

DWG MCP Server

DWG and DXF file format access for AI via MCP.

Connect DWG and DXF files to Claude, ChatGPT, Codex, Cursor, and other MCP clients. DWG MCP Server provides structured access to DWG data so AI can understand and reason about drawings. Source files remain read-only; supported entity properties can be changed in memory for inspection and rendering.

Quick Start

Use DWG MCP Server from the MCP client of your choice. The npm package downloads the matching native build from GitHub Releases on first use, verifies its SHA-256 checksum, caches it, and runs it directly. Docker and a separate Python installation are not required.

Native installers

macOS Apple Silicon:

curl -fsSL https://raw.githubusercontent.com/dimitrovakulenko/dwg-mcp-server/main/scripts/install.sh | sh

Windows x64 (PowerShell):

irm https://raw.githubusercontent.com/dimitrovakulenko/dwg-mcp-server/main/scripts/install.ps1 | iex

Both installers download the latest native release and verify its SHA-256 checksum before installation.

After installing, point your MCP client at the installed executable. On macOS add ~/.local/bin to PATH first, or use the absolute path reported by the installer:

claude mcp add --scope user --transport stdio dwg-mcp -- dwg-mcp-server

If your MCP client, AI agent, or test harness does not support MCP roots, set DWG_MCP_ALLOWED_ROOTS to the folders that should be accessible.

Codex

codex mcp add dwg-mcp \
  --env DWG_MCP_ALLOWED_ROOTS="$HOME" \
  -- npx -y @dmytro-prototypes/dwg-mcp-server

Codex does not currently provide MCP client roots to stdio MCP servers. Configure explicit allowed roots for the folders that contain your drawings.

Claude

claude mcp add --scope user --transport stdio dwg-mcp -- npx -y @dmytro-prototypes/dwg-mcp-server

Claude Code provides MCP roots, so no extra path variable is usually needed.

Cursor

{
  "mcpServers": {
    "dwg-mcp": {
      "command": "npx",
      "args": ["-y", "@dmytro-prototypes/dwg-mcp-server"]
    }
  }
}

Exposed Tools

Tool Purpose
dwg.list_roots List folders available for DWG access.
dwg.open_file Open a DWG or DXF from an available folder and return a documentId.
dwg.close_file Close an opened document and release its worker process.
dwg.list_types List the globally supported DWG types known to the backend.
dwg.list_file_types List only the types that are present in a specific opened DWG.
dwg.describe_type Describe a supported type, including readable and writable properties and its default projection.
dwg.get_objects Fetch specific objects by handle, preserving the requested order and reporting missing handles.
dwg.query_objects Query objects with filters, scopes, relation traversal, sorting, projection, and pagination.
GitHub에서 전체 README 보기

설치

npx -y @dmytro-prototypes/dwg-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "dwg-mcp": { "command": "npx", "args": ["-y", "@dmytro-prototypes/dwg-mcp-server"] } } }