MCP Server

Generate diagrams with AI, save them to CanvasKeep

Connect Claude Code or any MCP client to your CanvasKeep workspace. Describe what you want in plain English and get a properly laid-out Excalidraw diagram in seconds.

Set up in under a minute

Four steps from zero to generating diagrams with AI.

  1. Step 1

    Create a CanvasKeep account

    Sign up at canvaskeep.com with Google or email. The free tier is enough to get started.

  2. Step 2

    Generate an API key

    Go to your dashboard, click your profile menu (top right), and select API Keys. Generate a new key and copy it immediately.

  3. Step 3

    Add the MCP server

    Run one command in your terminal to connect CanvasKeep to Claude Code.

  4. Step 4

    Start generating diagrams

    Ask Claude to draw architecture diagrams, flowcharts, or any system design. Diagrams appear in your CanvasKeep workspace.

Installation

Claude Code

One command registers the MCP server. Replace ck_your_key_here with the API key you copied from the dashboard.

claude mcp add canvaskeep \
  -e CANVASKEEP_API_KEY=ck_your_key_here \
  -- npx canvaskeep-mcp

Other MCP clients (Codex, Cursor, etc.)

Add this to your MCP configuration file:

{
  "mcpServers": {
    "canvaskeep": {
      "command": "npx",
      "args": ["canvaskeep-mcp"],
      "env": {
        "CANVASKEEP_API_KEY": "ck_your_key_here"
      }
    }
  }
}

What you can ask

Talk to Claude naturally. It figures out the nodes and edges for you.

  • Draw an architecture diagram of a web app with a React frontend, Node API, PostgreSQL, and Redis cache
  • Create a flowchart for user signup with email verification
  • Diagram the AWS S3 system design with storage tiers and replication
  • Map out a CI/CD pipeline from git push to production deploy
  • Show the data flow in an e-commerce checkout process
  • Draw a microservices architecture for a food delivery app

Available tools

The MCP server exposes these tools to AI clients.

ToolDescription
list_workspacesList all your workspaces
create_workspaceCreate a new workspace
list_foldersList folders in a workspace
create_folderCreate a new folder, optionally nested
list_diagramsList diagrams in a workspace
create_diagramCreate a diagram, optionally inside a folder
update_diagramRename a diagram
delete_diagramPermanently delete a diagram
get_diagram_summaryGet diagram metadata and element count
generate_diagramGenerate a diagram from nodes and edges with auto-layout

Frequently asked questions

What is MCP?
MCP (Model Context Protocol) is an open standard that lets AI tools like Claude Code interact with external services. CanvasKeep's MCP server lets AI generate Excalidraw diagrams directly in your workspace.
Do I need to pay for the MCP server?
No. The MCP server is free and open source. You only need a CanvasKeep account (free tier works) and an API key.
Which AI tools work with this?
Any MCP-compatible client works: Claude Code, Codex, Cursor, and others. Claude Code has the simplest setup with a single command.
What kinds of diagrams can AI generate?
Architecture diagrams, flowcharts, system design diagrams, ERDs, network topologies, and any graph-shaped diagram with labeled boxes and arrows.

Ready to generate diagrams with AI?

Create a free account, grab an API key, and start drawing with Claude in under a minute.