Excalidraw MCP 서버: LLM 통합을 위한 강력한 드로잉 API
Excalidraw 다이어그램 및 도면과의 원활한 상호 작용을 지원하는 포괄적인 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 구조화되고 개발자 친화적인 API를 통해 LLM(대규모 언어 모델)이 Excalidraw 도면을 생성, 수정, 쿼리 및 조작할 수 있도록 지원합니다.
특징
- 전체 엑스칼리드로우 요소 제어
사각형, 타원, 마름모, 텍스트, 화살표 등의 모든 Excalidraw 요소를 만들고, 업데이트하고, 삭제하고, 쿼리합니다. 여기에는 다음이 지원됩니다.- 위치(
x
,y
) - 치수(
width
,height
) - 스타일링(
backgroundColor
,strokeColor
,strokeWidth
,roughness
,opacity
) - 텍스트(
text
,fontSize
,fontFamily
) - 선 기하학(
points
) - 잠금(
locked
플래그)
- 위치(
- 고급 요소 조작
요소를 그룹화, 그룹 해제, 정렬, 분배, 잠금 및 잠금 해제합니다. - Scene 및 AppState 관리
- 씬 수준 상태를 추적하고 수정합니다:
theme
,viewBackgroundColor
,viewport
(스크롤 및 확대/축소),selectedElements
,groups
. - 모든 요소 또는 개별 장면 속성의 라이브러리를 검색합니다.
- 씬 수준 상태를 추적하고 수정합니다:
- 장면 저장
현재 장면(요소 + appState)을 디스크의.excalidraw
파일로 내보냅니다. - 자원 관리
장면 정보, 요소 라이브러리, 테마 및 원시 요소 데이터에 액세스하여 수정합니다. - 쉬운 통합
Claude Desktop, Cursor 및 MCP를 지원하는 다른 LLM 플랫폼과 호환됩니다. - 도커 지원
종속성 없는 설치를 위한 간단한 컨테이너화된 배포.
API 도구 참조
요소 생성 및 수정
create_element
새로운 Excalidraw 요소를 만듭니다.
- 입력지엑스피1
- 산출
update_element
기존 요소의 속성을 업데이트합니다.
- 입력
- 산출
delete_element
장면에서 요소를 제거합니다.
- 입력
- 산출
query_elements
선택적 필터와 일치하는 요소를 나열합니다.
- 입력
- 산출
자원 관리
get_resource
장면이나 라이브러리 정보를 검색합니다.
- 입력
- 산출
- 장면 →
{ theme, viewport: {x,y,zoom}, selectedElements: […] }
- 라이브러리 / 요소 →
{ elements: [ … ] }
- 테마 →
{ theme: "light"|"dark" }
- 장면 →
요소 구성
group_elements
/ ungroup_elements
요소 컬렉션을 그룹화하거나 그룹화 해제합니다.
- 입력
- 산출
align_elements
여러 요소를 지정된 가장자리나 중앙에 맞춥니다.
- 입력
- 산출
{ aligned: true, elementIds: […], alignment: "<alignment>" }
distribute_elements
요소들을 수평 또는 수직으로 균등하게 배치합니다.
- 입력
- 산출
{ distributed: true, elementIds: […], direction: "<direction>" }
lock_elements
/ unlock_elements
요소 편집을 방지하거나 허용합니다.
- 입력
- 산출
{ locked: true|false, elementIds: […] }
장면 관리
save_scene
현재 장면(요소 + 앱 상태)을 .excalidraw
파일로 내보냅니다.
- 입력
- 산출
Scene saved successfully to <filename>
오류 메시지가 표시됩니다.
통합 예제
클로드 데스크탑
커서
.cursor/mcp.json
생성합니다.
도커
또는 MCP 구성에서:
설치 가이드
도커
구성 옵션
.env
또는 컨테이너의 환경 변수를 통해 설정:
LOG_LEVEL
— 로깅 수준(기본값:"info"
)DEBUG
— 디버그 모드("true"
/"false"
, 기본값:"false"
)DEFAULT_THEME
— 기본 UI 테마("light"
/"dark"
, 기본값:"light"
)
사용 예
사각형 만들기 및 잠금
장면을 파일로 저장
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
LLM이 구조화된 API를 통해 Excalidraw 다이어그램을 생성, 수정 및 조작할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, 요소 생성, 스타일링, 구성 및 장면 관리를 지원합니다.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.Last updated -313232TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables LLMs to create, modify, and manipulate Excalidraw diagrams through a structured API.Last updated -1116063JavaScript
- -securityFlicense-qualityA Model Context Protocol server that provides API functionality for creating, managing, and exporting Excalidraw drawings in various formats like SVG, PNG, and JSON.Last updated -3JavaScript
- -securityFlicense-qualityA Model Context Protocol server that connects LLMs to the Compiler Explorer API, enabling them to compile code, explore compiler features, and analyze optimizations across different compilers and languages.Last updated -Python