Skip to main content
Glama

Excalidraw MCP 服务器

这是 Excalidraw 的模型上下文协议 (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

执照

麻省理工学院

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/i-tozer/excalidraw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server