CanvasKeep MCP Server is an MCP (Model Context Protocol) server whose purpose is to enable AI tools such as Claude Code and Codex to generate Excalidraw diagrams and save them directly to the user's CanvasKeep workspace.
Main capabilities: it provides MCP tools for interacting with the CanvasKeep workspace, including reading a diagram scene (get_diagram_scene), saving a diagram scene (save_diagram_scene), and generating a diagram (generate_diagram). AI tools can create diagrams with laid-out boxes and labeled arrows based on natural language descriptions.
How to use: first log in to CanvasKeep, click the personal menu in the upper right corner and select API Keys, generate a new key and copy it immediately (it cannot be viewed again afterward). Then configure the server according to the installation and registration method for Codex or other MCP clients, and set the environment variables. The official site provides a setup guide, example prompts, and a complete tool list (canvaskeep.com/mcp), as well as an Excalidraw MCP video tutorial.
Encryption handling: diagrams encrypted in CanvasKeep remain encrypted when operated on by AI tools. When get_diagram_scene or save_diagram_scene accesses an encrypted diagram, the server locally decrypts and re-encrypts with AES-GCM using CANCASKEEP_MASTER_KEY (see src/encryption.ts), and the master key never leaves the user's machine. generate_diagram sends the given nodes and edges to CanvasKeep for server-side layout, so diagrams generated this way are stored in unencrypted form.
Use cases: for example, asking Claude Code to "draw a web application architecture diagram including a React frontend, Node API, PostgreSQL database, and Redis cache"; Claude will call the MCP tools to create a well-laid-out diagram in the CanvasKeep workspace. A local build can also be run from Claude Code.
Limitations and missing information: the materials do not provide specific installation commands, a complete list of environment variables, the range of supported MCP clients, or pricing and planinformation; not provided at this time.