Skip to main content
Glama
thiendt1608

excalidraw-mcp

by thiendt1608

Excalidraw MCP 服务器(符合 Excalidraw v2 规范)

一个用于创建和管理 Excalidraw 图表的 MCP(模型上下文协议)服务器,已升级以遵循官方 Excalidraw v2 规范。

功能

核心元素工具

工具

描述

create_element

创建单个 Excalidraw 元素

create_elements_batch

一次调用创建多个元素

update_element

按 ID 更新现有元素

delete_element

按 ID 删除元素

query_elements

按类型或自定义过滤器查询元素

clear_canvas

清除画布上的所有元素

文件操作

工具

描述

export_file

将画布导出为 .excalidraw 文件

import_file

.excalidraw 文件导入画布

get_scene_json

获取完整场景 JSON

库项目(官方 Excalidraw 图标包)

工具

描述

list_library_items

在所有已安装库中搜索或列出项目(querylibrarylimit

insert_library_item

在指定位置插入图标,可设置缩放(itemIdxyscalelibrary

已安装的官方库(499+ 个图标):

  1. AWS 架构图标aws-architecture-icons):249 个图标(CloudSearch、EMR、DynamoDB、S3、EC2、Lambda、VPC、RDS、Kinesis 等)

  2. Google 图标google-icons):139 个图标(Anthos、BigQuery、Compute Engine、Cloud Run、GKE、Firestore 等)

  3. 系统设计组件system-design-components):24 个项目(应用服务器、多实例服务器、负载均衡器等)

  4. UML 和 ER 图图形uml-er-diagrams):21 个项目(实体、关系、连接器、图形)

  5. 软件徽标software-logos):18 个图标(Docker、JSON、Git、数据库徽标等)

  6. 架构图组件architecture-diagram-components):11 个组件(Slack、Docker、GitHub、VPC、子网)

  7. 软件架构software-architecture):7 个核心图表元素

  8. 机器人robots):7 个插画机器人形象

  9. 内置常用图标built-in):23 个轻量级原生图标

自动布局流程图

工具

描述

create_flowchart

使用 DagreJS 自动布局创建流程图

支持的布局: 从上到下(TB)、从左到右(LR)、从下到上(BT)、从右到左(RL) 节点形状: 矩形、椭圆、菱形

// Update an existing element
update_element({ id: "mybox1", strokeColor: "#099268", text: "Updated!", width: 200 })

// Query elements by filter
query_elements({ filter: { type: "rectangle" } })

// Export to file
export_file({ filePath: "docs/architecture.excalidraw" })

Related MCP server: excalidraw-architect-mcp

设置

添加到您的 MCP 设置文件中(例如 claude_desktop_config.json.cursor/mcp.json~/.omp/agent/mcp.json):

{
  "mcpServers": {
    "excalidraw": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/excalidraw-mcp/src/cli.js"]
    }
  }
}
A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • AI agent draws editable hand-drawn diagrams (flowchart, ER, architecture) via MCP, not static images

  • Official Miro MCP server - Supports context to code and creating diagrams, docs, and data tables.

  • MCP server for Flux AI image generation

View all MCP Connectors

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/thiendt1608/excalidraw-mcp'

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