Drawio MCP Server
UnclaimedA Model Context Protocol (MCP) server for programmatic diagram generation using Draw.io (Diagrams.net). This server generates Draw.io XML directly — no browser extension or Draw.io instance required.
Install
docker run -d --name drawio-mcp-server -p 8080:8080 simonkurtzmsft/drawio-mcp-server:latestUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverTools (28)
add-cells
Add vertices and/or edges. Supports shapename for icon resolution, tempid for within-batch references, and dryrun validation.
add-cells-to-group
Assign cells to groups.
clear-diagram
Clear all cells and reset the diagram.
create-groups
Create group/container cells for VNets, subnets, resource groups, etc.
create-layer
Create a new layer.
create-page
Create a new page (tab) in the diagram.
delete-cell-by-id
Remove a cell (vertex or edge) by ID. Cascade-deletes connected edges for vertices.
delete-page
Delete a page and all its contents. Cannot delete the last page.
edit-cells
Update vertex cell properties (position, size, text, style).
edit-edges
Update edge properties (text, source, target, style).
export-diagram
Export the diagram as Draw.io XML.
get-active-page
Get the currently active page.
get-diagram-stats
Statistics about cell counts, bounds, and layer distribution.
get-shape-categories
List all shape categories (General, Flowchart, Azure categories).
get-shapes-in-category
List all shapes in a category by categoryid.
get-style-presets
Get built-in style presets (Azure colors, flowchart shapes, edge styles).
import-diagram
Import a Draw.io XML string, replacing the current diagram.
list-group-children
List all cells contained in a group.
list-layers
List all layers with IDs and names.
list-paged-model
Paginated view of all cells with filtering by type.
list-pages
List all pages with IDs and names.
move-cell-to-layer
Move a cell to a different layer.
remove-cell-from-group
Remove a cell from its group, returning it to the active layer.
rename-page
Rename an existing page.
search-shapes
Fuzzy search for shapes including 700+ Azure icons. Pass all queries in the queries array.
set-active-layer
Set the active layer for new elements.
set-active-page
Switch to a different page.
set-cell-shape
Apply library shape styles to existing cells.