ng-design-system-mcp
v0.0.40MCP server that exposes the @besaitech/ng-design-system Angular component library documentation (API, examples, tokens, icons, setup) to AI coding tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sds_list_components List saitech-design-system components
List the saitech-design-system design-system components (and directives/services). Start here to discover what is available before generating code.
| Parameter | Type | Description |
|---|---|---|
group | string | Filter components by group. |
kind | string | Filter by kind (default: component). |
sds_get_component Get saitech-design-system component API
Full API for one component: inputs (with types, defaults, transforms, required, alias), outputs (including synthesized two-way `model()` change-outputs), exported types, content-projection slots, host bindings, the import line, and whether it is a ControlValueAccessor (bind value via ngModel/formControl, not [value]). The primary lookup before writing saitech-design-system markup.
| Parameter | Type | Description |
|---|---|---|
name * | string | Component class name (SdsButton), selector (sds-button), or bare name (button). |
sds_get_examples Get saitech-design-system usage examples
Curated, copyable usage snippets for a component, grouped by their (French) section taxonomy. The `code` field is the canonical doc snippet to copy; `runnableExample` is the live demo markup.
| Parameter | Type | Description |
|---|---|---|
name * | string | Component class name, selector, or bare name. |
section | string | Filter to sections whose title contains this text. |
sds_search Search saitech-design-system docs
Keyword search across component names, selectors, descriptions, input names, exported types and example section titles.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search terms, e.g. "date", "selection", "icon button". |
limit | integer | Max results (default 8). |
sds_validate_usage Validate saitech-design-system markup
Lint a candidate Angular snippet against the saitech-design-system API: unknown selectors, invalid input names, invalid enum values, missing required inputs, unregistered icon names, and binding [value] on a ControlValueAccessor control. Run this after generating saitech-design-system markup.
| Parameter | Type | Description |
|---|---|---|
code * | string | The Angular template / component snippet to check. |
sds_validate_icon Validate an sds-icon name
Check whether an icon name is registered in SDS_ICONS (an unregistered <sds-icon name> renders nothing). Returns near-miss suggestions when invalid.
| Parameter | Type | Description |
|---|---|---|
name * | string | Icon name, e.g. "search", "calendar". |
sds_get_token Get saitech-design-system design tokens
Look up design tokens (colors, radii, status, layout) with their Tailwind utility and CSS variable. Omit args to list all.
| Parameter | Type | Description |
|---|---|---|
family | string | Filter by token family. |
name | string | Exact or partial token name, e.g. "brand-600". |
sds_get_setup Get saitech-design-system install & Tailwind setup
The install + Tailwind v4 setup checklist (install command, @import/@source, brand theme preset, peer deps, standalone usage). The #1 source of "components render unstyled" issues.
| Parameter | Type | Description |
|---|---|---|
context | string | Audience (default: consumer). |