mcp
v0.3.20MCP server for building with Senvenli UI from AI coding agents: components, examples, docs and themes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_components List components
List every Senvenli UI component (name, family, one-line description), or one family's. To browse; search_components finds one by purpose.
| Parameter | Type | Description |
|---|---|---|
family | string | A family: action, charts, collection, color, date, display, feedback, form, layout, navigation, overlay, selection. |
search_components Search components
Find components by what they are for ("date range", "upload a file", "confirm a delete") or by export name ("DatePicker"). Returns names for get_component, with the import.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer | Default 8. |
get_component Get a component
Read one component's page as Markdown: import, example code, when to use it (and what instead), do and avoid, accessibility, and props. Read it before using a component. Pass sections to read less of a long page.
| Parameter | Type | Description |
|---|---|---|
name * | string | The component name, as search_components gives it: "date-picker". |
sections | array | Only these parts (the title, import and intro always come): example (the main one), examples, guidelines, accessibility, api, related. Default: all. |
get_component_manifest Get a component's manifest
The component's manifest as JSON: exports, usage, a11y, every prop with type, default and origin, tokens and strings. For tools that need structured data; to read, prefer get_component.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
minified | boolean | Default true: one line, without the JSON Schema of each prop or the build fields. |
props | string | Which props: own; own+aria (default: also React Aria behavior props like onPress); all (also DOM and ARIA attributes). |
get_doc Get a doc
Read a doc as Markdown. introduction: A themeable React design system, built on React Aria, that checks its own colors. getting-started: Install the package, add a theme, set up Tailwind and wrap your app. theming: Zero to three colors and a few layout settings in, a full light and dark theme out. dark-mode: Light, dark or the device's setting, applied before the first paint. languages-and-rtl: The components speak English; your app adds its languages and right-to-left support comes built in. native-apps: The same colors for iOS and Android apps, as plain hex values. agents: Every page as Mark…
| Parameter | Type | Description |
|---|---|---|
name * | string |
create_theme Create a theme
Make a theme from up to three colors (all optional) and layout settings. Every text pair is checked against WCAG AA in light and dark, and the engine moves a color that would fail. The default answer is the contrast report and the CLI command that writes theme.css; ask for format tailwind, css or native to get the file's contents instead.
| Parameter | Type | Description |
|---|---|---|
borderWidth | ||
controlShape | string | Single-line controls (buttons, fields, badges, segmented controls) follow the radius ("rounded", default) or are fully round ("pill"); cards keep the radius. |
density | string | |
format | string | command (default): the report and a command to run; tailwind: the CSS with a Tailwind v4 @theme block; css: the variables only; native: hex JSON for React Native. |
preset | string | A preset code from the theme builder (the ?p= value). The other fields override it. |
primary | string | The brand color: a hex "#rrggbb" (or "#rgb") or "oklch(L C H)", like "oklch(0.55 0.15 250)". Leave out for the neutral default. |
primaryDark | string | A hand-picked brand color for dark mode, same formats. Leave out to derive it from primary. |
radius | number | Base corner radius in rem (default 0.375). |
secondary | string | A second brand color, same formats. |
tertiary | string | A third brand color, same formats. |
validate_theme Validate a theme
Check a theme.css (as create_theme or the CLI wrote it, edited or not) against WCAG AA: every text, icon and border pair, light and dark. Lists the failing pairs and any token the CSS lacks.
| Parameter | Type | Description |
|---|---|---|
css * | string | The theme's CSS: the :root block and the [data-theme="dark"] block. |