mcp

v0.3.20
@senvenli/mcp Checked 14 hours ago Published 1 day ago

MCP 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.

ParameterTypeDescription
familystringA 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.

ParameterTypeDescription
query *string
limitintegerDefault 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.

ParameterTypeDescription
name *stringThe component name, as search_components gives it: "date-picker".
sectionsarrayOnly 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.

ParameterTypeDescription
name *string
minifiedbooleanDefault true: one line, without the JSON Schema of each prop or the build fields.
propsstringWhich 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…

ParameterTypeDescription
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.

ParameterTypeDescription
borderWidth
controlShapestringSingle-line controls (buttons, fields, badges, segmented controls) follow the radius ("rounded", default) or are fully round ("pill"); cards keep the radius.
densitystring
formatstringcommand (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.
presetstringA preset code from the theme builder (the ?p= value). The other fields override it.
primarystringThe 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.
primaryDarkstringA hand-picked brand color for dark mode, same formats. Leave out to derive it from primary.
radiusnumberBase corner radius in rem (default 0.375).
secondarystringA second brand color, same formats.
tertiarystringA 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.

ParameterTypeDescription
css *stringThe theme's CSS: the :root block and the [data-theme="dark"] block.