Edens Flower Design CAD 개발자 센터 무료로 시작하기

MCP 도구 목록

서버가 내놓는 모든 도구와 인수. MCP 서버의 도구 정의에서 자동으로 만들어집니다.

앱이 MCP 서버로서 내놓는 도구 20개입니다. 이 페이지는 MCP 서버의 도구 정의에서 자동으로 만들어지며, 인수 표는 각 도구의 입력 스키마(inputSchema) 그대로입니다. 마지막 3개는 실행 중인 앱에 연결했을 때(--connect)만 목록에 나옵니다.

도구하는 일
command_line명령어 창에 한 줄을 사람처럼 입력합니다.
script여러 줄 스크립트를 실행합니다(.scr 파일과 같은 형식).
execute어떤 명령이든 JSON 매개변수로 실행합니다.
list_commands명령 카탈로그(ID, 이름, 메뉴 경로, 별칭, 매개변수 설명)를 돌려줍니다.
inspect_drawing지금 도면의 요약: 객체 수, 범위, 도면층, 스타일, 블록, 배치, 선택, 실행 취소 기록.
query_entities종류·도면층·선택 여부·창(window)으로 걸러 낸 객체를 핸들과 형상과 함께 돌려줍니다.
render도면을 PNG 이미지로 그려 돌려줍니다.
find_text도면의 글자(TEXT, MTEXT, 블록 속성, 다중 지시선)를 내용·도면층·영역으로 찾아 줍니다.
new_drawing새 도면을 만듭니다.
openDXF 또는 DWG 파일을 엽니다.
save도면을 저장합니다(확장자에 따라 DXF·DWG).
section_show단면 평면을 제안합니다.
section_list도면의 단면 평면과 현재 잘린 상태를 돌려줍니다.
section_activate이미 있는 단면 평면으로 자르기를 제안합니다(active: false면 끄기).
section_clear모든 단면 자르기를 끄고 모델 전체를 다시 보이게 하자고 제안합니다.
section_delete단면 평면 삭제를 제안합니다.
cancelEsc를 누릅니다.
screenshot프로그램 창의 스크린샷(PNG).
ui_inspect화면 상태: 패널, 도면 영역 위치, 보기, 커서와 스냅, 성능 수치.
ui_click도면 영역을 클릭합니다(기본은 도면 좌표, space: "screen"이면 화면 좌표).

command_line#

명령어 창에 한 줄을 사람처럼 입력합니다. 명령 이름·별칭으로 시작하고, 떠 있는 프롬프트에 점(x,y), 상대 좌표(@dx,dy), 극좌표(@거리<각도), 거리, 키워드로 답합니다. 빈 문자열은 Enter입니다.

인수형식필수
textstring필수
서버가 내놓는 설명 원문 (영어)

Type one line at the CADCraft command line, exactly as a user would at an AutoCAD-style prompt. Starts commands by name or alias (LINE, L, CIRCLE, C, PLINE, RECTANG, MOVE, TRIM, OFFSET, ZOOM…) and answers the active prompt: points `x,y`, relative `@dx,dy`, polar `@dist<angle`, distances, keywords (e.g. `c` for Close), empty text = Enter. Spaces act as Enter, so `circle 0,0 5` works in one call. Returns the new prompt and command-line output, and `error` when the line was refused.

script#

여러 줄 스크립트를 실행합니다(.scr 파일과 같은 형식). 빈 줄은 Enter입니다.

인수형식필수
textstring필수
서버가 내놓는 설명 원문 (영어)

Run a multi-line script (like an AutoCAD .scr file): one or more inputs per line, blank line = Enter.

execute#

어떤 명령이든 JSON 매개변수로 실행합니다. 프롬프트와 대화 상자가 뜨지 않습니다. 단면 명령은 사용자 확인을 거칩니다.

인수형식필수
commandstring필수
paramsobject선택
서버가 내놓는 설명 원문 (영어)

Run any command with JSON parameters (no prompts or dialogs). Use list_commands to find ids and parameter docs. Examples: line {points:[[0,0],[10,0]]}, circle {center:[0,0], radius:5}, layer.new {name:"Walls", color:"red", current:true}, move {handles:["10A"], delta:[5,0]}, zoom {mode:"extents"}.

list_commands#

명령 카탈로그(ID, 이름, 메뉴 경로, 별칭, 매개변수 설명)를 돌려줍니다. filter로 일부만 볼 수 있습니다.

인수형식필수
filterstring선택
서버가 내놓는 설명 원문 (영어)

List commands with ids, labels, menu paths, aliases and parameter docs. Optional filter: a substring of the command id, label or an alias.

inspect_drawing#

지금 도면의 요약: 객체 수, 범위, 도면층, 스타일, 블록, 배치, 선택, 실행 취소 기록. entities: true면 객체도 함께.

인수형식필수
entitiesboolean선택
limitinteger선택
서버가 내놓는 설명 원문 (영어)

Summary of the active drawing: entity counts, extents, layers, styles, blocks, layouts, selection, undo history and (optionally) entities with handles and geometry.

query_entities#

종류·도면층·선택 여부·창(window)으로 걸러 낸 객체를 핸들과 형상과 함께 돌려줍니다. offset/limit으로 넘겨 봅니다(기본 500개).

인수형식필수
typestring선택
layerstring선택
selectedboolean선택
window[number × 2] 배열 (정확히 2개)선택
crossingboolean선택
limitinteger, 0 이상선택
offsetinteger, 0 이상선택
서버가 내놓는 설명 원문 (영어)

Entities filtered by type (Line, Circle, Polyline…), layer, current selection (selected:true; active space only) and/or a window [[x0,y0],[x1,y1]] (objects whose geometry is inside or crosses it; crossing:false = entirely inside). Returns count (all matches), returned (this page) and entities; page with offset and limit (default 500).

render#

도면을 PNG 이미지로 그려 돌려줍니다. 기본은 전체 범위, window를 주면 그 영역만.

인수형식필수
widthinteger, 16 이상선택
heightinteger, 16 이상선택
fitboolean선택
window[number × 2] 배열 (정확히 2개)선택
pathstring선택
서버가 내놓는 설명 원문 (영어)

Render the active drawing to a PNG and return it as an image: fitted to the extents by default, or just the area `window` [[x0,y0],[x1,y1]] (drawing units), e.g. one sheet or one room of a large drawing. With a window and no size the image is 1600 px wide with the window's shape.

find_text#

도면의 글자(TEXT, MTEXT, 블록 속성, 다중 지시선)를 내용·도면층·영역으로 찾아 줍니다. 읽기 전용입니다.

인수형식필수
containsstring선택
layerstring선택
window[number × 2] 배열 (정확히 2개)선택
limitinteger, 0 이상선택
offsetinteger, 0 이상선택
서버가 내놓는 설명 원문 (영어)

Read the drawing's texts: TEXT, MTEXT (formatting removed), block attributes and multileaders, each with its text, insertion point `at`, height, rotation, style, layer and handle. Filter by `contains` (any case), `layer` and/or `window` [[x0,y0],[x1,y1]] around the insertion points; page with offset and limit (default 200). Use it to find room names, sheet titles and notes without reading all the geometry.

new_drawing#

새 도면을 만듭니다. metric: true면 미터법(mm).

인수형식필수
metricboolean선택
서버가 내놓는 설명 원문 (영어)

Create a new drawing (imperial by default, or metric).

open#

DXF 또는 DWG 파일을 엽니다.

인수형식필수
pathstring필수
서버가 내놓는 설명 원문 (영어)

Open a DXF or DWG file.

save#

도면을 저장합니다(확장자에 따라 DXF·DWG). .svg·.png·.pdf 경로면 내보내기만 하고 도면 이름은 그대로입니다.

인수형식필수
pathstring선택
서버가 내놓는 설명 원문 (영어)

Save the drawing (DXF or DWG by extension). A .svg, .png or .pdf path exports instead: the drawing keeps its name and unsaved changes.

section_show#

단면 평면을 제안합니다. 보기 전용이며 모델은 바뀌지 않습니다. 실행 중인 앱에서는 사용자가 먼저 승인해야 적용됩니다.

인수형식필수
originnumber 배열 (2~3개)선택
normalnumber 배열 (정확히 3개)선택
axisstring선택
offsetnumber선택
points배열 배열 (정확히 3개)선택
namestring선택
flipboolean선택
exclusiveboolean선택
showPlaneboolean선택
서버가 내놓는 설명 원문 (영어)

Propose a section plane: a VIEW-ONLY cut through the 3D model so the inside (wall thickness, cavities) can be seen. The model is never changed. Give the plane as {origin, normal}, {axis, offset} or three points; the normal (or axis) points to the side that is hidden. In the running app the user is asked first ("여기 단면을 잘라서 보여줄까요?") and the result says `accepted` or `declined`; a headless session applies it directly and says so. The result describes the cut: planes, cap area, bodies cut.

section_list#

도면의 단면 평면과 현재 잘린 상태를 돌려줍니다. 아무것도 바꾸지 않고, 묻지도 않습니다.

인수 없음

서버가 내놓는 설명 원문 (영어)

The drawing's section planes (id, name, origin, normal, active) and the current cut (cap area per active plane). Changes nothing; never asks.

section_activate#

이미 있는 단면 평면으로 자르기를 제안합니다(active: false면 끄기). 사용자 확인을 거칩니다.

인수형식필수
idinteger, 0 이상선택
namestring선택
activeboolean선택
exclusiveboolean선택
서버가 내놓는 설명 원문 (영어)

Propose cutting the view with an existing section plane (by id or name); `active: false` stops it cutting, `exclusive: false` keeps the other planes cutting too. View only; the user confirms in the running app.

section_clear#

모든 단면 자르기를 끄고 모델 전체를 다시 보이게 하자고 제안합니다. 평면은 남습니다.

인수 없음

서버가 내놓는 설명 원문 (영어)

Propose showing the whole model again: no section plane cuts the view (the planes are kept). View only; the user confirms in the running app.

section_delete#

단면 평면 삭제를 제안합니다. 평면만 지워지고 모델은 바뀌지 않습니다.

인수형식필수
idinteger, 0 이상선택
namestring선택
allboolean선택
서버가 내놓는 설명 원문 (영어)

Propose deleting a section plane (by id or name, or all: true). Only the plane goes; the model is never changed. The user confirms in the running app.

cancel#

Esc를 누릅니다. 실행 중인 명령을 취소하거나 선택을 풉니다.

인수 없음

서버가 내놓는 설명 원문 (영어)

Press Escape: cancel the running command (or clear the selection).

screenshot앱 연결 전용#

프로그램 창의 스크린샷(PNG). 앱에 연결했을 때만 있습니다.

인수형식필수
pathstring선택
서버가 내놓는 설명 원문 (영어)

Screenshot the CADCraft window (PNG).

ui_inspect앱 연결 전용#

화면 상태: 패널, 도면 영역 위치, 보기, 커서와 스냅, 성능 수치. 앱에 연결했을 때만 있습니다.

인수 없음

서버가 내놓는 설명 원문 (영어)

UI state: panels, canvas rect, view, cursor and snap, performance.

ui_click앱 연결 전용#

도면 영역을 클릭합니다(기본은 도면 좌표, space: "screen"이면 화면 좌표). 오른쪽 버튼은 Enter입니다. 앱에 연결했을 때만 있습니다.

인수형식필수
xnumber필수
ynumber필수
spacestring선택
buttonstring선택
서버가 내놓는 설명 원문 (영어)

Click in the drawing area at world coordinates (or screen with space:"screen"). Right button = Enter.

리소스#

  • cadcraft://drawing: 도면 요약 JSON(inspect_drawing과 같음)
  • cadcraft://commands: 명령 카탈로그

오류 규칙#

인수는 도구의 입력 스키마로 먼저 검사합니다. 없는 도구, 객체가 아닌 arguments, 빠진 필수 인수, 형식이 틀린 인수는 JSON-RPC 오류 -32602(invalid params)입니다. 도구가 실행됐지만 실패한 경우(잘못된 점, 없는 명령)는 isError: true와 메시지가 담긴 결과로 돌아옵니다.

이 페이지 수정 제안