kernel-ui
v1.1.1Exact component APIs, design tokens and a code checker for the Kernel UI component library.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_components
List every Kernel UI component with its category and one-line summary. Call this first to see what exists before writing UI.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional filter: Primitives, Forms, Layout, Feedback, Overlays, Navigation, Data Display or AI. |
search_components
Find the Kernel component for a need described in plain words (e.g. 'tool call approval', 'date range', 'shadcn sheet').
| Parameter | Type | Description |
|---|---|---|
query * | string |
get_component
Exact API for one component: React props (types, defaults, notes), custom element attributes and events, why it's built on its native element, and shadcn/Radix migration notes. Accepts a name, slug, export or shadcn alias.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
platform | string | Which package to describe. Defaults to both. |
get_tokens
Kernel's design tokens (CSS custom properties) with values and what each is for. Use these instead of raw colours, spacing or radii.
| Parameter | Type | Description |
|---|---|---|
query | string | Filter, e.g. 'color', 'radius', 'space', 'icon'. |
get_conventions
How to install Kernel and the conventions every component shares (controlled state, form-field scaffold, className hooks, icons). Read once before writing Kernel code.
| Parameter | Type | Description |
|---|---|---|
platform | string | Which package to describe. Defaults to both. |
check_code
Review JSX, HTML or CSS written against Kernel: unknown or foreign props (asChild, leftIcon…), missing field labels, unlabelled icon-only buttons, clickable divs, raw colours, hand-picked radii, and shadcn/Radix imports Kernel replaces. Run it after writing code and fix what it reports.
| Parameter | Type | Description |
|---|---|---|
code * | string |