canvas-kit-mcp

v16.2.22
@workday/canvas-kit-mcp Checked 3 hours ago Published 20 hours ago

MCP package for Canvas Kit

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get-canvas-kit-upgrade-guides Get Canvas Kit Upgrade Guides

Retrieve the Canvas Kit Upgrade Guide documentation.

get-canvas-kit-tokens Get Canvas Kit Tokens

Retrieve Canvas Kit design token documentation for @workday/canvas-tokens-web. Start with docs://tokens/v4/v4.4-token-reference for the current v4.4 token surface (Sana Canvas theme, t-shirt scales, deprecations). Use this tool when: - Choosing current system tokens (surface.*, fg.*, border.*, accent.*, brand.*) - Enabling the Sana Canvas theme (css/sana/_variables.css + data-theme="sana-canvas") - Migrating deprecated tokens (bg.* → surface.*, text.* → fg.*, icon.* → fg.*, space.x* → padding/gap) - Understanding t-shirt size scales for shape, size, padding, and gap - Finding histori…

get-accessibility-guidelines Get Canvas Kit Accessibility Guidelines

Retrieve Canvas Kit accessibility guidance resources for a scenario, component, or both. This tool returns documentation links only; it does not scan code, test pages, certify WCAG conformance, or guarantee accessibility compliance.

ParameterTypeDescription
componentstringCanvas Kit component or story slug to retrieve accessibility guidance for
scenariostringAccessibility scenario slug to retrieve guidance for

get-canvas-kit-icon-migration Get Canvas Kit Icon Migration Guides

Retrieve Canvas Kit documentation for migrating to @workday/canvas-system-icons-web v5 (Sana Canvas Assets). Use this tool when: - Upgrading @workday/canvas-system-icons-web to v5 - Finding the replacement for a deprecated system icon (uploadIcon, downloadIcon, undoIcon, redoIcon, lockKeyholeIcon, etc.) - Resolving deprecation warnings from @workday/canvas-system-icons-web - Running or troubleshooting the icon-migration codemod - Understanding what the codemod rewrites and what you must migrate by hand Returns links to the Sana Canvas Assets overview, which includes the full deprecated icon…

fetch-component-documentation-example Fetch Canvas Kit Component Documentation and Storybook example

Renders an interactive Canvas Kit component story inline for the user to see. Before Calling: 1. Read the docs://examples/{story} resource for documentation and code examples 2. Only call this tool if the user needs to see the documentation or code examples 3. Do not call this tool just to learn about a component — read the resource instead

ParameterTypeDescription
story *stringThe component story slug to preview

search-canvas-components Search Canvas Components

Search the Canvas Kit component catalog. Results are verified against the consumer project node_modules when a project root is detected.

ParameterTypeDescription
query *stringComponent name, slug, or alias to search for
limitintegerMaximum results (default 10)
projectPathstringOptional absolute path to the consumer project root

get-canvas-component Get Canvas Component

Look up a Canvas Kit component by name or slug. Includes availability against the installed consumer project.

ParameterTypeDescription
query *stringComponent name, slug, or alias
projectPathstringOptional consumer project root

validate-canvas-tokens Validate Canvas Tokens

Validate design token keys against the indexed catalog and installed @workday/canvas-tokens-web package.

ParameterTypeDescription
tokens *arrayToken keys to validate
channelstringToken channel (default production)
projectPathstringOptional consumer project root

search-canvas-icons Search Canvas Icons

Search @workday/canvas-system-icons-web exports. Verifies icon exports against the installed package typings.

ParameterTypeDescription
query *stringIcon name, export, or migration alias
limitinteger
projectPathstring

get-canvas-project-context Get Canvas Project Context

Report the detected consumer project root, installed Canvas packages, MCP index version, and version drift.

ParameterTypeDescription
projectPathstringOptional consumer project root

validate-canvas-code Validate Canvas Code

Validate a code snippet or file path for unresolvable Canvas imports, deprecated tokens, and raw hex colors.

ParameterTypeDescription
codestringSource code snippet to validate
filePathstringPath to a source file relative to the project root or absolute
projectPathstring

get-canvas-upgrade-path Get Canvas Upgrade Path

Return upgrade guides, codemods, and notes scoped to the detected installed Canvas Kit version.

ParameterTypeDescription
projectPathstring
targetVersionstringTarget Canvas Kit version (defaults to MCP index version)