StyleKit
v0.6.0MCP server for StyleKit styles, tokens, recipes, lint and repair over stdio or HTTP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
stylekit_search_styles Search StyleKit styles
Search StyleKit design styles by keyword and/or category, with pagination. Exact slug or name matches are ranked first. Args: - query (string, optional): matches slug, name, description, tags, keywords (case-insensitive). - category ('modern'|'retro'|'minimal'|'expressive', optional): restrict to one category. - limit (number 1-50, default 15): page size. - offset (number >=0, default 0): results to skip (for paging). Returns structured JSON with total, count, offset, has_more, source, optional fallbackReason, and results. A valid query with no matches returns an empty results array,…
| Parameter | Type | Description |
|---|---|---|
category | string | Style category filter |
limit | integer | Page size |
offset | integer | Results to skip for pagination |
query | string | Keyword to match |
stylekit_list_assets List public StyleKit assets
Browse StyleKit's public asset catalogue by namespace and query. Use the returned kind/id pair with stylekit_get_asset. Args: - kind (optional): one public namespace such as animation, component-pattern, template, or experience-pack. - query (optional): search public names, descriptions and tags. - offset (number >=0, default 0): results to skip. - limit (number 1-100, default 20): page size. Returns the full JSON page, including availability, contentLevel, license, attribution, source provenance, and kind counts. An empty page is a successful result. Private user kits and unpublishe…
| Parameter | Type | Description |
|---|---|---|
kind | string | Public asset namespace |
limit | integer | Page size |
offset | integer | Results to skip |
query | string | Search names, descriptions and tags |
stylekit_get_asset Get a public StyleKit asset
Retrieve one public asset by its exact kind and id. Source is returned only where the asset's contentLevel and license permit it. Remote templates include their actual file set only when the live source is available; if it is down, the tool returns a structured unavailable error with safe metadata and does not treat a download URL as source code. External and restricted assets expose metadata, license, attribution and source links only. Args: - kind: the namespace returned by stylekit_list_assets. - id: the exact identifier within that namespace. Returns complete structured JSON and JSON…
| Parameter | Type | Description |
|---|---|---|
id * | string | Exact asset id within the namespace |
kind * | string | Public asset namespace |
stylekit_get_style Get StyleKit style detail
Get one style's profile and, optionally, its design tokens, one component recipe, and the full implementation brief. Everything ships through this single tool so the server stays small: pass include: ["tokens"], ["recipe"], ["brief"] or a combination. Style data is read from the live catalogue with a five-minute cache; when live data is unavailable, a bundled snapshot may be returned and marked with origin and fallbackReason. Args: - slug (string): style identifier, e.g. "glassmorphism", "neo-brutalist". - include (array, optional): sections to attach — "tokens", "recipe", "brief". -…
| Parameter | Type | Description |
|---|---|---|
slug * | string | Style slug, e.g. 'glassmorphism' |
component | string | Recipe id when include contains 'recipe'; defaults to the first recipe |
include | array | Sections to attach: "tokens", "recipe", "brief" |
stylekit_lint_code Lint code against a StyleKit style
Check whether code actually follows a style's rules. Use this AFTER generating or editing UI code to verify it matches the style, instead of assuming it does. Reports forbidden classes with the reason they are banned and a concrete replacement. Understands JSX/HTML class attributes, cn()/clsx() calls, and template literals; variant prefixes (dark:, md:, hover:) are resolved before matching. Args: - slug (string): style identifier, e.g. "glassmorphism". - code (string): the source to check. JSX/TSX, HTML, or a bare class string. - checkRequired (array of 'button'|'card'|'input', optiona…
| Parameter | Type | Description |
|---|---|---|
code * | string | Source code or class string to lint |
slug * | string | Style slug, e.g. 'glassmorphism' |
checkRequired | array | Components to also check for missing required classes |
strict | boolean | Fail missing required classes in a static snippet |