Excalidraw MCP Server
一个用于 Excalidraw 画布操作的 Model Context Protocol (MCP) 服务器。
功能特性
- 🎨 画布操作: 支持更新、获取、清除画布内容
- 🔍 健康检查: 提供服务器状态检查
- 📤 导出功能: 支持 SVG 和 JSON 格式导出
- 🧩 元素管理: 支持单个元素的更新和删除
- 🌐 HTTP 接口: 完全基于 HTTP API 实现
安装
pip install excalidraw-mcp-server
使用方法
启动服务器
excalidraw-mcp-server
配置
默认连接到 http://127.0.0.1:31337 的 Excalidraw HTTP 服务器。
可用工具
- health_check - 检查服务器状态
- get_canvas - 获取当前画布内容
- update_canvas - 更新画布内容
- clear_canvas - 清除画布
- export_canvas - 导出画布为 SVG 或 JSON
- remove_element - 删除指定元素
- update_element - 更新指定元素
开发
本地开发
# 克隆仓库
git clone <repository-url>
cd excalidraw-mcp-server
# 安装依赖
pip install -e .
# 运行服务器
python -m excalidraw_mcp_server.server
构建包
pip install build
python -m build
依赖
- Python >= 3.8
- httpx
- mcp
- requests
- aiohttp
- typing-extensions
许可证
MIT License
贡献
欢迎提交 Issue 和 Pull Request!
Metadata
Release files for excalidraw-mcp-server 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| excalidraw_mcp_server-1.0.3.tar.gz | 7.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| excalidraw_mcp_server-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.3 kB
Release files / excalidraw_mcp_server-1.0.3.tar.gz
| Download URL | excalidraw_mcp_server-1.0.3.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd2b0a3daa3ac7818a5fbe8ab3308823105a6b91181cd3129ba2ba3db39433ea
|
|
BLAKE2b-256 checksum How to use checksums |
d37ea1dfba837886dbe1807ec8dc04d9878b6a58a0cf8def3f0f4a53628ac038
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / excalidraw_mcp_server-1.0.3-py3-none-any.whl
| Download URL | excalidraw_mcp_server-1.0.3-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4809a0dd2ac159c6a37c825289e826944d489efb5cca5a303cb10c8d48932359
|
|
BLAKE2b-256 checksum How to use checksums |
7f1d5cfc4c8f5b803a097b036a2994305c1974811e3066c91090c373293c25d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Security for excalidraw-mcp-server 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.