get-shapes-in-category
List all shapes in a category by categoryid.
How to use it
get-shapes-in-category is exposed by the Drawio MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get-shapes-in-category tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Drawio MCP Server
docker run -d --name drawio-mcp-server -p 8080:8080 simonkurtzmsft/drawio-mcp-server:latestOther tools in Drawio MCP Server (27)
Add vertices and/or edges. Supports shapename for icon resolution, tempid for within-batch references, and dryrun validation.
Assign cells to groups.
Clear all cells and reset the diagram.
Create group/container cells for VNets, subnets, resource groups, etc.
Create a new layer.
Create a new page (tab) in the diagram.
Remove a cell (vertex or edge) by ID. Cascade-deletes connected edges for vertices.
Delete a page and all its contents. Cannot delete the last page.
Update vertex cell properties (position, size, text, style).
Update edge properties (text, source, target, style).
Export the diagram as Draw.io XML.
Get the currently active page.
Statistics about cell counts, bounds, and layer distribution.
List all shape categories (General, Flowchart, Azure categories).
Get built-in style presets (Azure colors, flowchart shapes, edge styles).
Import a Draw.io XML string, replacing the current diagram.
List all cells contained in a group.
List all layers with IDs and names.
Paginated view of all cells with filtering by type.
List all pages with IDs and names.
Move a cell to a different layer.
Remove a cell from its group, returning it to the active layer.
Rename an existing page.
Fuzzy search for shapes including 700+ Azure icons. Pass all queries in the queries array.
Set the active layer for new elements.
Switch to a different page.
Apply library shape styles to existing cells.