mcp

v0.1.3
@soroush.design/mcp Checked 1 day ago Published 20 days ago

MCP server for the @soroush.tech design system - serves the component inventory, every component README, and the theme token contract to AI coding tools.

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

list_components

List every component in the @soroush.tech design system with its category, one-line summary, and exact subpath import. Start here when building UI with this library.

ParameterTypeDescription
packagestringLimit to one package. Omit for everything.

get_component

Get a component's documentation from its README: `intro` (what it is and how it composes), `api` (its props with token values and defaults), `examples`, or `all`. Use this before writing markup with a component.

ParameterTypeDescription
name *stringComponent name or slug, e.g. "Button" or "text-input".
partstringWhich README section to return. Defaults to "all".

get_tokens

Get the theme token contract - spacing, radii, palette, typography and the other scales, serialized from the live baseTheme. Use it to pick token names instead of hardcoding values.

ParameterTypeDescription
scalestringOne scale, e.g. "space", "palette", "radii". Omit for all of them.

list_docs

List the available guides and references: installation, usage, theming, customization, app setup, the layout kit, the brand theme, and the styled-system docs.

get_doc

Get one guide or reference in full, by the id shown in `list_docs`.

ParameterTypeDescription
id *stringDoc id, e.g. "theming" or "styled-system/api".

search_docs

Search components and guides by keyword. Returns the best matches with snippets; follow up with get_component or get_doc for the full text.

ParameterTypeDescription
query *stringFree-text query, e.g. "dark mode" or "focus trap".