MCP server

Canvas Document MCP: Semantic Design Documents for Agents

The canvas-document MCP server reads, edits and exports a type-safe design document, giving an AI coding agent 47 tools for layout, branding, tokens and code generation.

Run
corepack pnpm install && corepack pnpm dev
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the canvas-document MCP server?

canvas-document, built as ai-canvas, is a monorepo combining a document model, a renderer and code generators behind one MCP server. Set up with corepack pnpm install and pnpm dev, it gives an agent 47 tools over stdio or SSE: query and render a document, mutate it, undo and redo, generate React or Tailwind code, and build a brand book.

canvas-document treats a design as a semantic, type-safe document rather than a flat image or a pile of layers, so an agent can query, change and undo it the same way it works with code.

The project bundles a document model, a renderer and several code generators behind the one MCP server, covering the path from a design document to real React or Tailwind output.

What it changes in your workflow

  • An agent queries nodes and gets a layout back as structured data, instead of parsing a rendered screenshot.
  • Every mutation can be undone or redone, with checkpoints marking a known-good state to return to.
  • The same document generates a style guide, a brand book, a React component or a Tailwind config.
  • Mockups and print collateral, such as posters, can be produced from the same underlying document.

What the 47 tools cover

GroupTools
Documentopen, save, get_document, query_nodes, get_layout, get_screenshot
Mutation and historyapply_operations, undo, redo, create_checkpoint
Codegen and tokensgenerate_react, generate_tailwind_config, generate_brand_tokens
Collateralcreate_mockup, create_poster_template, generate_collateral_kit, export_pptx

Who it is for

Best for

  • Agents that need to query and change a design the same structured way they work with code.
  • Workflows that want undo, redo and checkpoints on design changes, not just on code changes.
  • Projects that want one document to drive a style guide, a brand book and generated code together.

Not for

  • Pulling design tokens straight from an existing live page rather than starting from a document built in this project, is the job designlang MCP does from any URL.
  • Generating color, type and shape tokens on demand without the fuller document, render and codegen stack, is the narrower scope Standby Design MCP covers.
  • Keeping a visible local design editor beside the canvas for a person to watch, rather than a document an agent queries headlessly, is what Figmaboy MCP sets up instead.
  • Animated React component output from a short prompt, rather than a full document model with undo and codegen, is the narrower product AI Canvas MCP offers for an agent.

Use it with UiChemy

This server generates design documents and code for your own project. Once a layout is settled, UiChemy Composer or AI to WordPress can turn it into an editable Elementor or Gutenberg page. Click Get Started on uichemy.com.