JSON Canvas MCP Server
by Cam10001110101
A Model Context Protocol (MCP) server for working with JSON Canvas files. It enables creating, modifying, and validating infinite canvas data structures according to the official specification.
Last updated: N/A
What is JSON Canvas MCP Server?
The JSON Canvas MCP server is a complete implementation of the JSON Canvas 1.0 specification. It provides tools for creating, manipulating, and validating infinite canvas data structures, including nodes and edges.
How to use JSON Canvas MCP Server?
The server exposes resources like schemas, examples, and templates. It provides tools for node, edge, and canvas operations. Use the provided API endpoints (create_node, update_node, delete_node, create_edge, update_edge, delete_edge, validate_canvas, export_canvas) by sending requests with appropriate input parameters. Configuration is done via environment variables. Example usage with Claude Desktop is provided in the README.
Key features of JSON Canvas MCP Server
Creation and manipulation of infinite canvas data
Support for all node types (text, file, link, group)
Edge connections with styling and labels
Validation against the specification
Configurable output paths
Use cases of JSON Canvas MCP Server
Creating interactive diagrams
Visualizing complex data relationships
Building collaborative whiteboarding applications
Developing knowledge graphs
Generating visual documentation
FAQ from JSON Canvas MCP Server
What node types are supported?
What node types are supported?
The server supports text, file, link, and group node types.
How do I validate a canvas?
How do I validate a canvas?
Use the validate_canvas
tool with your canvas data as input.
Can I export the canvas to different formats?
Can I export the canvas to different formats?
Yes, the export_canvas
tool supports exporting to JSON, SVG, and PNG formats.
How do I configure the output path?
How do I configure the output path?
Set the OUTPUT_PATH
environment variable to the desired directory.
What license is the server under?
What license is the server under?
The server is licensed under the MIT License.