Excalidraw MCP サーバー
これは、Excalidraw の Model Context Protocol (MCP) サーバーであり、Excalidraw 図面を操作するための API 機能を提供します。
特徴
Excalidraw 図面の作成、読み取り、更新、削除
図面をSVG、PNG、JSON形式でエクスポートします
シンプルなファイルベースのストレージシステム
Related MCP server: MCP SVG Converter
インストール
# Clone the repository
git clone https://github.com/yourusername/excalidraw-mcp.git
cd excalidraw-mcp
# Install dependencies
npm install
# Build the project
npm run build
使用法
サーバーの起動
npm start
APIエンドポイント
サーバーは次のツールを提供します。
図面管理
create_drawing: 新しいExcalidraw図面を作成するget_drawing: ID で Excalidraw 図面を取得するupdate_drawing: ID で Excalidraw 図面を更新するdelete_drawing: ID で Excalidraw 図面を削除するlist_drawings: すべての Excalidraw 図面を一覧表示します
輸出業務
export_to_svg: Excalidraw の描画を SVG にエクスポートします。export_to_png: Excalidraw の図面を PNG にエクスポートします。export_to_json: Excalidraw 図面を JSON にエクスポートする
発達
プロジェクト構造
excalidraw-mcp/
├── src/
│ ├── common/
│ │ └── errors.ts
│ └── operations/
│ ├── drawings.ts
│ └── export.ts
├── index.ts
├── package.json
├── tsconfig.json
└── README.md
建物
npm run build
開発モードで実行
npm run dev
ライセンス
マサチューセッツ工科大学