Excalidraw Architect

v0.2.2
io.github.BV-Venky/excalidraw-architect-mcp Checked 11 hours ago Published 8 months ago

Generate beautiful Excalidraw architecture diagrams with auto-layout and component styling

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_diagram Create Diagram

Create a new Excalidraw diagram from structured node and connection data. The LLM provides a relationship map - this tool handles layout, styling, and rendering. No need to specify coordinates.

ParameterTypeDescription
connections *arrayList of connections. Each dict has: - from_id (str, required): Source node id - to_id (str, required): Target node id - label (str, optional): Edge label text - style (str, optional): "solid", "dashed…
nodes *arrayList of nodes. Each dict has: - id (str, required): Unique identifier - label (str, required): Display text - component_type (str, optional): Technology name for auto-styling (e.g., "kafka", "postgr…
output_path *stringFile path to save the .excalidraw file (e.g., "./arch.excalidraw")
directionstringLayout direction - "LR" (left-right), "TD" (top-down), "BT" (bottom-up), "RL" (right-left). Default: "LR"
themestringColor theme - "default", "dark", "colorful". Default: "default"

mermaid_to_excalidraw Mermaid To Excalidraw

Convert Mermaid flowchart syntax into an Excalidraw diagram. Supports the mermaid flowchart subset that AI agents commonly generate: - Directions: graph TD, LR, BT, RL - Node shapes: [text], {text}, ((text)), ([text]) - Edge types: -->, ---, -.-> ==> with |label| - Subgraphs: subgraph Title ... end Component types are auto-detected from node labels (e.g., a node labeled "PostgreSQL DB" automatically gets database styling).

ParameterTypeDescription
mermaid_syntax *stringMermaid flowchart source code.
output_path *stringFile path to save the .excalidraw file.
themestringColor theme - "default", "dark", "colorful". Default: "default"

modify_diagram Modify Diagram

Modify an existing Excalidraw diagram created by this tool. Supports iterative editing: add components, remove nodes, update labels, and rewire connections - without recreating the entire diagram. IMPORTANT: Call get_diagram_info first to understand the current diagram state before making modifications.

ParameterTypeDescription
file_path *stringPath to the existing .excalidraw file.
operations *arrayOrdered list of operations. Each dict has: - op: "add_node" | "remove_node" | "update_node" | "add_connection" | "remove_connection" For add_node: - id (str): New node identifier - label (s…
themestringColor theme for re-rendering. Default: "default"

get_diagram_info Get Diagram Info

Get a structured summary of an existing Excalidraw diagram. Call this BEFORE modify_diagram to understand what nodes and connections currently exist. The summary includes node ids, labels, component types, and the full connection topology.

ParameterTypeDescription
file_path *stringPath to the .excalidraw file.