antigravity-drawio-mcp

v2.0.2
antigravity-drawio-mcp Checked 1 hour ago Published 2 months ago

Production-grade AI Diagramming & Architecture Engine for Draw.io.

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

generate_smart_diagram

Generate a professionally themed, auto-laid-out diagram without calculating manual pixel coordinates.

ParameterTypeDescription
edges *array
nodes *array
output_path *string
containersarray
layout_directionstring
themestring
titlestring

generate_c4_diagram

Generate an official C4 architecture diagram (Context, Container, or Component view) with actors, systems, and boundaries.

ParameterTypeDescription
output_path *string
spec *object

generate_er_diagram

Generate a relational database ER schema diagram with tables, primary/foreign keys, types, and cardinalities.

ParameterTypeDescription
output_path *string
spec *object

generate_sequence_diagram

Generate a UML sequence diagram with lifelines, sync/async call arrows, and return messages.

ParameterTypeDescription
output_path *string
spec *object

patch_diagram

Surgically patch an existing diagram: add/delete/update nodes, rewire edges, group into containers, or highlight paths.

ParameterTypeDescription
drawio_path *string
operations *array
output_pathstring

beautify_diagram

Beautify any existing diagram by running topological auto-layout, resolving overlapping links, and applying modern themes.

ParameterTypeDescription
input_path *string
layout_directionstring
output_pathstring
themestring

analyze_diagram

Analyze diagram topology: extracts entry points, sinks, feedback cycles, bottlenecks, and critical execution paths.

ParameterTypeDescription
input_path *string

create_diagram

Create a new .drawio XML diagram file with nodes and edges at specified coordinates.

ParameterTypeDescription
edges *array
nodes *array
output_path *string
page_namestring

export_diagram

Export a .drawio XML diagram to PNG, SVG, PDF, or JPEG using desktop CLI.

ParameterTypeDescription
input_path *string
output_path *string
formatstring
page_indexinteger

open_in_drawio

Open a .drawio diagram file directly in the local Draw.io Desktop GUI app.

ParameterTypeDescription
input_path *string

parse_diagram

Parse a .drawio XML file and extract structured nodes, edges, and page metadata.

ParameterTypeDescription
input_path *string

convert_mermaid_to_drawio

Convert a Mermaid JS graph definition string into native .drawio XML.

ParameterTypeDescription
mermaid_code *string
output_path *string

validate_diagram

Audit a .drawio diagram file for node collisions and text boundary overflows.

ParameterTypeDescription
input_path *string

resolve_diagram_collisions

Auto-resolve node collisions in a .drawio diagram by shifting overlapping coordinates.

ParameterTypeDescription
input_path *string
output_pathstring