JSON Canvas
Summary
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.
Available Actions(8)
create_node
Create a new node of any supported type. Input: type (string): Node type ('text', 'file', 'link', 'group'), properties (object): Node-specific properties including common and type-specific attributes.
update_node
Update an existing node's properties. Input: id (string): Node ID to update, properties (object): Properties to update.
delete_node
Remove a node and its connected edges. Input: id (string): Node ID to delete.
create_edge
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_edge
Update an existing edge's properties. Input: id (string): Edge ID to update, properties (object): Properties to update.
delete_edge
Remove an edge. Input: id (string): Edge ID to delete.
validate_canvas
Validate a canvas against the specification. Input: canvas (object): Canvas data to validate.
export_canvas
Export canvas to different formats. Input: format (string): Target format ('json', 'svg', 'png'), canvas (object): Canvas data to export.
커뮤니티 리뷰
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요