mcp

v3.4.0
@wallarm-org/mcp Checked 8 hours ago Published 25 days ago

MCP server for Wallarm Design System — provides component metadata, props, variants, and design tokens to AI assistants

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

search_component

Use when you need a UI element and do not know which DS component provides it (e.g. "modal", "date picker", "empty state", "sidebar"). Word-based search over names, descriptions, prop names, variants and common aliases; returns up to 10 components by relevance.

ParameterTypeDescription
query *stringWhat you need — a component name, a UI concept ("toast", "dropdown") or a prop name

get_component

Use when you know the component and need its API before writing code. Without `section` returns an overview: import, props, variants, sub-component names, example names, usage docs and related guidelines. Pass `section` for full detail: 'props', 'subcomponents', 'examples', 'docs/<Name>' or a sub-component name (e.g. 'TableColumnMenu'). Long sections are paginated — pass `page`.

ParameterTypeDescription
name *stringComponent name (case-insensitive), e.g. "Button", "Alert", "Select"
pageintegerPage of a paginated response, from 1
sectionstringOmit for the overview; or 'props', 'subcomponents', 'examples', 'docs/<Name>', or a sub-component name

get_example

Use when you want working code for one usage of a component — copy the pattern instead of guessing composition. Example names come from the `get_component` overview; close names are matched, and a miss lists every example.

ParameterTypeDescription
component *stringComponent name, e.g. "Table", "SimpleCharts"
example *stringExample name from get_component, e.g. "WithPagination" or "AreaChart/Default"
pageintegerPage of a paginated response, from 1

search_token

Use when styling needs a colour, spacing, radius, shadow or type value — find the token and the Tailwind class to write (e.g. "text-primary", "surface", "spacing-8", "#ff6633", "bg-bg-surface-2"). Returns up to 20 tokens with value and utility classes.

ParameterTypeDescription
query *stringSearch query — token name (e.g. "spacing-8"), value (e.g. "#ff6633"), or category (e.g. "colors-primary")

get_token_category

Use when you need the whole scale of one token category (e.g. all spacing steps, all semantic colours) with values and Tailwind classes. Large categories are paginated — pass `page`.

ParameterTypeDescription
name *stringCategory name (case-insensitive), e.g. "spacing", "colors-primary", "shadow"
pageintegerPage of a paginated response, from 1

list_guidelines

Use when starting a screen or flow, or unsure about spacing, colour or typography rules — lists foundations, patterns and templates (complete example screens) with slug, title, description and components.

ParameterTypeDescription
kindstringOnly list one kind; omit for all

get_guideline

Use when composing a screen (read the matching pattern first) or applying a foundation — returns the guideline as markdown. Pass `section` to get one section only; `section: 'stories'` returns a pattern's or template's full live-story code (paginated — pass `page`).

ParameterTypeDescription
slug *stringGuideline slug from list_guidelines, e.g. "patterns/entity-table", "templates/security-dashboard" or "foundations/spacing"
pageintegerPage of a paginated response, from 1
sectionstringSection id or heading, e.g. "rules", "examples", "states", "stories"