silicaui-mcp
v0.61.0A local MCP server that lets AI coding assistants query the Silica UI design system — real class names, component props, blocks, and behaviors — instead of…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_packages List Silica UI packages
List every package in the Silica UI family (@wizeworks/silicaui, @wizeworks/silicaui-react, @wizeworks/silicaui-html, @wizeworks/silicaui-behaviors, and the wrapper packages), with purpose, install command, and version.
list_components List Silica UI components
List component names, categories, and source packages — spans ALL THREE delivery paths: @wizeworks/silicaui (CSS class families for plain HTML), @wizeworks/silicaui-react (typed React components), and @wizeworks/silicaui-html (framework-neutral ComponentDef macros for generated/non-React output). The same component usually exists on more than one path with a completely different shape; get_component returns every path's answer unless you pass a package. Filter here with the package param (e.g. '@wizeworks/silicaui', '@wizeworks/silicaui-react', '@wizeworks/silicaui-html', '@wizeworks/silicau…
| Parameter | Type | Description |
|---|---|---|
package | string | Filter to one package name, e.g. '@wizeworks/silicaui-react'. |
get_component Get a Silica UI component's real shape
Get a component's real definition on whichever delivery path you're building on — for @wizeworks/silicaui (CSS): the family's root class, every literal class it generates, its color variants, and any compound selector that reveals required markup structure; for @wizeworks/silicaui-react: props (name, type, optional, doc — extracted from its actual TypeScript source) plus a real, working usage example; for @wizeworks/silicaui-html: its palette category/label/icon, whether it's a container, and the BehaviorType(s) it carries (cross-reference get_behavior for the marker contract). Use this in…
| Parameter | Type | Description |
|---|---|---|
name * | string | Component name, e.g. 'Button', 'DataTable', 'Dialog'. |
package | string | Disambiguate when the name exists in more than one package, e.g. '@wizeworks/silicaui-html'. |
list_classes List real Silica UI CSS class names
List the exact, literal CSS class names Silica UI generates for a core component (e.g. 'button', 'card', 'badge') — or all components if none given. These are extracted directly from the class generators, so they are never hallucinated. Also covers 'color-utilities' (text-*/bg-*/border-* for every declared color). This returns a flat list; for the CSS path's STRUCTURE — which class is the root, which are its parts, which are color variants — call get_component with package '@wizeworks/silicaui'.
| Parameter | Type | Description |
|---|---|---|
component | string | A core @wizeworks/silicaui component name, e.g. 'button'. Omit to list every component's classes. |
get_tokens Get Silica UI design tokens
Get the semantic color list and the DEFAULT theme's light/dark OKLCH values, the typography token model, and the scalar theme tokens (radius/border/depth/noise/focus/disabled-opacity) with defaults, ranges, and what each one actually affects. Also returns `customColors` (how to register extra color roles beyond the built-in eight, and the selector pattern for every component a registered color reaches — call this before concluding a color like `brand` is unavailable) and `theming` (the `data-theme` mechanism these values are ACTIVATED by, including dark mode and per-section theme islands). F…
list_themes List Silica UI themes and the data-theme mechanism
List every shipped theme preset — name, what it's for, its type faces and shape — plus the `data-theme` mechanism itself: how a theme is applied, how dark mode works (there is no `.dark` class), and how a section opts into a different palette by nesting the attribute. Call this whenever the answer involves a different palette, a dark section, or theming at all; the alternative an agent reaches for otherwise is hardcoded hex or bespoke CSS, which can never respond to the theme it ends up inside.
get_theme Get a Silica UI theme's resolved tokens
Get one theme preset's fully RESOLVED token map — dark deltas already merged over the base tokens and every `-content` ink derived by measured contrast, i.e. what a browser actually computes rather than the authored bag — plus the exact attribute to apply it, its type faces, its shape tokens, and any role whose ink fails WCAG AA. Pass mode to get just light or just dark.
| Parameter | Type | Description |
|---|---|---|
name * | string | Theme name — the `data-theme` value, e.g. 'midnight', 'quartz', 'clay'. |
mode | string | Which mode's tokens to return. Defaults to both. |
list_blocks List Silica UI composed blocks
List composed page blocks from @wizeworks/silicaui-html (hero sections, FAQs, feature grids, …) without their full node tree. Optionally filter by category or tag.
| Parameter | Type | Description |
|---|---|---|
category | string | |
tag | string |
get_block Get a Silica UI block's full node tree
Get one composed block's full definition, including its node tree — the real, validated structure to reuse or adapt, not a guess.
| Parameter | Type | Description |
|---|---|---|
key * | string | The block's stable key, e.g. 'hero_split_cta'. |
list_behaviors List Silica UI behavior types
List the closed set of interactive behaviors that @wizeworks/silicaui-behaviors hydrates from data-sui-* markers (the vanilla-JS runtime for non-React output). Each type is also the BehaviorType a @wizeworks/silicaui-html ComponentDef macro carries — cross-reference with get_component. Call this to see the current set rather than assuming a fixed list; it grows over time.
get_behavior Get one Silica UI behavior's contract
Get the marker contract and semantics for one behavior type.
| Parameter | Type | Description |
|---|---|---|
type * | string | Behavior type, e.g. 'disclosure'. |
list_email_nodes List the email builder's node kinds
List every node kind an email document can contain (@wizeworks/silicaui-builder/email) with its nesting rules — what each kind may HOLD and which kinds may hold IT — plus the insertable palette presets. This schema is CLOSED and enforced: `EmailEditor.insert` returns undefined for an illegal kind or nesting, silently, so check here rather than assuming a site/HTML structure carries over. Email nodes carry typed fields, not classes, and literal hex colors, not tokens. Call get_email_node for one kind's real fields.
get_email_node Get an email node kind's real fields
Get one email node kind's full definition: every typed field with its TypeScript type, whether it's optional, and its source doc comment; the fields shared by every node (id/ord/data/locked); its nesting rules; and its data-binding contract — which `attr` a `value` bind may target and which one a bind with no `attr` fills. Use this instead of guessing field names: an unknown field is dropped by the engine and an unknown bind target is inert, neither with an error.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Node kind, e.g. 'link', 'image', 'section'. See list_email_nodes. |
get_node_schema Get the Silica UI node-tree schema (path 3)
Get the DOCUMENT schema for @wizeworks/silicaui-html — the shape of the tree itself, as opposed to what you put in it. Covers the four node kinds and their fields, the typed system-metadata band every node carries (data / slot / behavior / part / locked / instanceOf), the DATA-BINDING vocabulary with every field, the resolution contract a host implements, and the raw-element/attribute allowlist `toHtml` enforces. Call this before authoring or generating a node tree: the failures here are SILENT — an unlisted tag is downgraded to <div>, an unlisted attribute is dropped, an invented binding…
| Parameter | Type | Description |
|---|---|---|
section | string | Narrow the answer: 'nodes' (kinds + the shared metadata band), 'bindings' (the data vocabulary), 'resolution' (the host hooks and their honesty contract), 'elements' (the tag/attribute floor). Omit fo… |
search_docs Search Silica UI catalog data
Full-text search across everything this server knows: component names/descriptions, block names/descriptions, behavior descriptions, literal CSS class names, design tokens, and the email builder's node kinds + their fields. Use this when you don't know the exact name to look up.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search term, case-insensitive. |