This MCP server implementation provides tools for working with JSON Canvas files according to the official specification. It enables creating, modifying, and validating infinite canvas data structures, supporting all node types and edge connections. The server offers a RESTful API for canvas operations, includes example resources, and can export canvases to different formats. It's designed for applications requiring AI assistants to interact with and manipulate canvas-based data visualizations.
Aucun avis encore. Soyez le premier à donner votre avis !
Connectez-vous pour rejoindre la conversation
Create a new node of any supported type. Input: type (string): Node type ('text', 'file', 'link', 'group'), properties (object): Node-specific properties including common attributes like id, x, y, width, height, color and type-specific attributes.
Update an existing node's properties. Input: id (string): Node ID to update, properties (object): Properties to update.
Remove a node and its connected edges. Input: id (string): Node ID to delete.
Create a new edge between nodes. Input: id (string): Unique edge identifier, fromNode (string): Source node ID, toNode (string): Target node ID, fromSide (optional string): Start side, toSide (optional string): End side, color (optional string): Edge color, label (optional string): Edge label.
Update an existing edge's properties. Input: id (string): Edge ID to update, properties (object): Properties to update.
Remove an edge. Input: id (string): Edge ID to delete.
Validate a canvas against the specification. Input: canvas (object): Canvas data to validate.
Export canvas to different formats. Input: format (string): Target format ('json', 'svg', 'png'), canvas (object): Canvas data to export.