Provides tools for interacting with AutoCAD DWG files, enabling the extraction of material tables with configurable settings for layers, row/column tolerances, and material categories.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Minimal MCP Server for AutoCAD DWGextract material tables from building_plan.dwg"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Minimal MCP Server
간단한 MCP(Model Context Protocol) 서버 스캐폴드입니다. Python 3.12.10용 FastAPI 예시를 제공합니다.
Endpoints:
GET /health- 상태 확인POST /mcp- 간단한 MCP-style 요청 처리 (예: {"requestId":"id","input":{"text":"..."}})GET /mcp/tools- MCP 도구 목록 샘플
Python 3.12.10
간단한 FastAPI 기반 MCP 서버가 추가되었습니다.
설치 및 실행 (Windows PowerShell):
또는 개발 모드로 직접 uvicorn 실행:
포트는 환경변수 PORT로 변경 가능합니다.
AutoCAD DWG 도구 설정
config.env 파일을 수정하여 AutoCAD 도구 설정을 변경할 수 있습니다:
설정 항목 설명:
DWG_FOLDER: DWG 파일을 검색할 기본 폴더 경로LAYER_SHOP_FIELD: 재료 테이블이 포함된 레이어명ROW_TOLERANCE: 행 클러스터링 허용 오차 (픽셀 단위)COL_TOLERANCE: 열 할당 허용 오차 (픽셀 단위)MATERIAL_CATEGORIES: 카테고리 헤더명 (쉼표로 구분)
이 구현은 예시용 매우 단순한 에코 응답을 제공합니다. 실제 MCP 규격에 맞게 확장하세요.