VaneUI

v1.3.9
io.github.vaneui/mcp Checked 1 hour ago Published 5 days ago

VaneUI React component docs and per-component prop tables for AI coding agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_docs

Search the VaneUI docs (component pages, guides, usage rules, prop-to-Tailwind mapping). Give a few words or an exact name such as `themeDefaults`. Results are doc sections, best first: sections that hold every word come before sections that hold some, and a word in a heading or page title counts more than one in the text. Returns a JSON array of up to `limit` sections, each with `slug`, `section`, `heading`, `lineNumber` and a short `snippet`, and says when more sections matched than were returned. Pass a result's `slug` and `section` to get_doc to read that section. Use this before guessing…

ParameterTypeDescription
query *stringWords or a name to search for (case-insensitive).
limitintegerMost sections to return. Defaults to 10.
regexbooleanIf true, interpret `query` as a JavaScript regex, matched line by line. Defaults to false (words).

get_doc

Read a VaneUI docs page. With only `slug` it returns the page's intro and the list of its sections; with `section` it returns that section in full, code examples included. Call search_docs first when you do not know which page or section holds the answer: each of its results has the `slug` and `section` to pass here. Component pages (`button`, `modal`, `field`, ...) hold what get_component_props does not list: value props such as `open` and `onClose` or `label` and `error`, sub-components and examples.

ParameterTypeDescription
slug *stringPage slug, e.g. `modal` or `theme-defaults`. Case, a `.md` ending and a path before the name are ignored, so a component name (`IconButton`), a resource URI or a docs link (`/docs/overlay-components/m…
sectionstringSection id from the page's section list or from a search_docs result, or the heading text. Leave out for the intro and the section list.

get_component_props

Return a VaneUI component's boolean props, one line per category, default marked `*`. By default (`compact`) it lists the component's own props and names the shared layout categories it takes; slug `common` lists those once. detail `full` adds descriptions and every shared prop. Value props such as `label` or `title` are on the component's page: call get_doc with the same slug. The slug is the resource basename: `button`, `card`, `icon-button`, etc.

ParameterTypeDescription
slug *stringComponent slug, or `common` for the shared layout props. A component name (`IconButton`) works too.
detailstring`compact` (default) or `full`.