npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@workday/canvas-kit-mcp

v14.3.2

Published

MCP package for Canvas Kit

Readme

Canvas Kit MCP

Model Context Protocol (MCP) server that provides Canvas Kit upgrade guides and design token migration documentation to AI assistants.

Installation

Cursor Quick Install

Other IDEs (Windsurf, VS Code, etc.)

Add to your MCP servers configuration file:

{
  "mcpServers": {
    "canvas-kit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@workday/canvas-kit-mcp"
      ]
    }
  }
}

Configuration file locations:

  • Cursor: ~/.cursor-tutor/config.json (macOS/Linux) or %APPDATA%\cursor-tutor\config.json (Windows)
  • Windsurf: Settings → MCP Servers
  • VS Code: Cline/Continue extension settings

Claude Code CLI

claude mcp add --scope project --transport stdio canvas-kit -- npx -y @workday/canvas-kit-mcp

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "canvas-kit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@workday/canvas-kit-mcp"
      ]
    }
  }
}

Tools

This MCP server provides the following tools:

get-canvas-kit-upgrade-guides

Retrieves Canvas Kit version upgrade documentation covering major version migrations.

Use cases:

  • Upgrading Canvas Kit to a new major version
  • Understanding breaking changes between versions
  • Finding migration paths for deprecated components
  • Learning about new features and components

Returns: Links to upgrade guide resources including version-specific migration steps, deprecation notices, theming guides, and styling migration documentation.

get-canvas-kit-tokens

Retrieves Canvas Kit design token migration documentation for transitioning to the modern @workday/canvas-tokens-web package.

Use cases:

  • Migrating from old token systems to @workday/canvas-tokens-web
  • Converting deprecated color tokens to the new token system
  • Understanding token hierarchy: base tokens, system tokens, and brand tokens
  • Finding correct system token replacements
  • Learning token naming patterns and semantic color roles
  • Migrating spacing, shape, typography, opacity, and depth tokens
  • Ensuring WCAG accessibility compliance with color contrast requirements

Returns: Links to token documentation including migration guides, color palettes, color roles, contrast guidelines, and token system references.

Resources

The server exposes documentation resources organized into two categories:

Upgrade Guides

Version-specific migration documentation covering:

  • Breaking changes and deprecations
  • New components and features
  • Styling system migrations (Emotion, CSS variables, @workday/canvas-kit-styling)
  • Theming and component refactoring
  • Accessibility improvements

Token Documentation

Design token migration and usage guides covering:

  • Token system migrations (v2 → v3 → v4)
  • Color palette and semantic color roles
  • Token naming conventions and hierarchy
  • Accessibility and contrast guidelines
  • Spacing, shape, size, opacity, and depth tokens
  • OKLCH color space implementation

All resources are available to AI assistants through MCP resource URIs.

Source Documentation

The documentation files served by this MCP server are maintained in the Canvas Kit repository at modules/docs/llm. This directory contains:

  • Upgrade Guides (upgrade-guides/) - Version-specific migration documentation
  • Token Documentation (tokens/) - Design token guides and migration resources
  • LLM-Optimized Files - Specialized documentation formatted for AI assistants

To update the documentation served by this MCP server, modify the files in modules/docs/llm and rebuild the MCP package.

Contributing

Canvas Kit MCP has two exports:

  • src/cli.js - Node server that can be invoked via npx for local stdio
  • src/index.js - Low-level module exports for extending the server or hosting with other transports

Testing Locally

MCP Inspector

The inspector requires Node.js v22+:

nvm use 22
yarn build
npx @modelcontextprotocol/inspector node dist/cli.js

Local IDE Testing

Add an entry to your MCP servers configuration pointing to your local build:

{
  "mcpServers": {
    "canvas-kit-mcp-local": {
      "command": "node",
      "args": [
        "/absolute/path/to/canvas-kit/modules/mcp/dist/cli.js"
      ]
    }
  }
}

Rebuild the server after changes:

yarn build