canvas-kit-mcp
v16.2.22MCP 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.
| Parameter | Type | Description |
|---|---|---|
component | string | Canvas Kit component or story slug to retrieve accessibility guidance for |
scenario | string | Accessibility 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
| Parameter | Type | Description |
|---|---|---|
story * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Component name, slug, or alias to search for |
limit | integer | Maximum results (default 10) |
projectPath | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Component name, slug, or alias |
projectPath | string | Optional consumer project root |
validate-canvas-tokens Validate Canvas Tokens
Validate design token keys against the indexed catalog and installed @workday/canvas-tokens-web package.
| Parameter | Type | Description |
|---|---|---|
tokens * | array | Token keys to validate |
channel | string | Token channel (default production) |
projectPath | string | Optional consumer project root |
search-canvas-icons Search Canvas Icons
Search @workday/canvas-system-icons-web exports. Verifies icon exports against the installed package typings.
| Parameter | Type | Description |
|---|---|---|
query * | string | Icon name, export, or migration alias |
limit | integer | |
projectPath | string |
get-canvas-project-context Get Canvas Project Context
Report the detected consumer project root, installed Canvas packages, MCP index version, and version drift.
| Parameter | Type | Description |
|---|---|---|
projectPath | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
code | string | Source code snippet to validate |
filePath | string | Path to a source file relative to the project root or absolute |
projectPath | string |
get-canvas-upgrade-path Get Canvas Upgrade Path
Return upgrade guides, codemods, and notes scoped to the detected installed Canvas Kit version.
| Parameter | Type | Description |
|---|---|---|
projectPath | string | |
targetVersion | string | Target Canvas Kit version (defaults to MCP index version) |