web-vue-mcp

v6.0.3
@sdata/web-vue-mcp Checked 11 hours ago Published 12 hours ago

Model Context Protocol (MCP) server for the SD Design Vue component library

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

list_components

List all SD Design components with their category, bilingual title and API size. Optionally filter by category. Use this first to discover what is available.

ParameterTypeDescription
categorystringOptional category filter, e.g. 通用 / 布局 / 导航 / 数据展示 / 反馈 / 其他.

get_categories

List all SD Design component categories with the number of components in each.

get_component

Get full detail for a component: description, import statements, documentation URL, and props, events, slots or service configuration and methods. Accepts the tag (sd-button), kebab (button) or PascalCase (Button) name.

ParameterTypeDescription
name *stringComponent name, e.g. "sd-button", "button" or "Button".

search_components

Search components by keyword across name, title, description and prop/event/slot text (both Chinese and English). Returns matching components with the fields that matched.

ParameterTypeDescription
query *stringSearch keyword, e.g. "日期", "tree", "上传".

get_component_props

Get component props (name, type, default, description), or config fields for a service.

ParameterTypeDescription
name *stringComponent name.

get_component_events

Get only the documented events for a component (name and bilingual description).

ParameterTypeDescription
name *stringComponent name.

get_component_slots

Get only the documented slots for a component (name and bilingual description).

ParameterTypeDescription
name *stringComponent name.

find_by_prop

Find components that expose a given prop. Useful for "which components have a size prop?" or "what can I set disabled on?".

ParameterTypeDescription
prop *stringProp name to search for, e.g. "size", "disabled".