mcp
v0.3.1MCP server that gives AI coding agents the rdloom specs: props, usage rules, accessibility requirements, tokens and source.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_components List components
List the components, optionally ranked by a search like "pick a date range" or "table".
| Parameter | Type | Description |
|---|---|---|
query | string | Words describing what the UI needs to do |
get_component Get component
Props, variants, install and import lines, when to use it and when not to, anti-patterns, and accessibility requirements for one component.
| Parameter | Type | Description |
|---|---|---|
name * | string | Component name or id, e.g. "DateRangePicker" or "date-range-picker" |
get_example Get example
Working, accessible example code for a component: one example by name, or all of them. Every example is tested with axe.
| Parameter | Type | Description |
|---|---|---|
name * | string | Component name or id |
example | string | Example name from get_component, e.g. "with-presets"; omit for all |
get_component_source Get component source
The source files `add` copies into the project, as shipped. Use it to explain or adapt a component, or pass "utils" or "tokens" for the shared files.
| Parameter | Type | Description |
|---|---|---|
name * | string | Component name or id, or "utils" / "tokens" |
file | string | One file path from the component, e.g. "button.tsx"; omit for all |
get_tokens Get design tokens
Semantic design tokens with their CSS variables and light and dark values.
| Parameter | Type | Description |
|---|---|---|
prefix | string | Filter by path prefix, e.g. "color.action" or "radius" |
validate_props Validate props
Check a component's props against its spec: required props, allowed enum values and types.
| Parameter | Type | Description |
|---|---|---|
name * | string | Component name or id |
props * | object | Props as JSON, e.g. {"variant": "primary", "size": "md"}; use any placeholder for callbacks and nodes |
get_setup Get setup instructions
How to add the library to a project: init, tokens CSS, Tailwind, adding and upgrading components.