web-vue-mcp
v6.0.3Model 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.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Component 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search keyword, e.g. "日期", "tree", "上传". |
get_component_props
Get component props (name, type, default, description), or config fields for a service.
| Parameter | Type | Description |
|---|---|---|
name * | string | Component name. |
get_component_events
Get only the documented events for a component (name and bilingual description).
| Parameter | Type | Description |
|---|---|---|
name * | string | Component name. |
get_component_slots
Get only the documented slots for a component (name and bilingual description).
| Parameter | Type | Description |
|---|---|---|
name * | string | Component 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?".
| Parameter | Type | Description |
|---|---|---|
prop * | string | Prop name to search for, e.g. "size", "disabled". |