mcp-server

v0.5.0
@slipstream-ui/mcp-server Checked 14 hours ago Published 14 days ago

MCP server for Slipstream UI component manifests

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

list_components

List available Slipstream UI components, optionally filtered by package or atomic-design tier.

ParameterTypeDescription
packagestring
tierstring

get_component_manifest

Get the full COMPONENT_MANIFEST for a component, including props, examples, accessibility, and composition rules.

ParameterTypeDescription
componentId *stringKebab-case component ID, such as button or prompt-input.

get_usage_examples

Get recommended usage examples and composition guidance for a Slipstream UI component.

ParameterTypeDescription
componentId *string

validate_usage

Validate generated JSX against Slipstream UI manifests before emitting it. Detects unknown (hallucinated) props, invalid enum values, missing required props, missing compound roots, and icon-only controls without an accessible name, and returns a concrete fix for each issue. Pass componentId + code for one component, or files to validate a whole tree and infer every Slipstream component used in each file.

ParameterTypeDescription
codestringThe JSX code to validate. Use with componentId.
componentIdstringKebab-case component ID, such as button or prompt-input. Use with code.
filesarrayWhole-tree mode: validate every Slipstream component found in each file. Requires path and code per entry.

search_components

Search Slipstream UI components by keyword. Matches component names, ids, descriptions, prop names and anti-pattern titles, and returns why each component matched.

ParameterTypeDescription
query *stringKeywords to search for, e.g. "chat streaming" or "modal focus".
limitnumberMaximum results (default 10).
packagestring

recommend_components

Recommend a coherent set of Slipstream UI components for a goal, such as "build a chat UI", "filterable table", "settings form" or "agent dashboard". Returns ids, reasons and docs URLs; pair with get_component_manifest before generating code.

ParameterTypeDescription
goal *stringWhat the developer is building, in natural language.
limitnumberMaximum recommendations (default 6, max 12).
packagestring