mcp
v1.1.0MCP server for lism-css documentation and API reference.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_overview
Get an overview of the lism-css framework: core rules (minimum gates), which reference to look up before writing what, primitive/component selection by goal, class inventory, CSS layers, and breakpoints. Use this as your FIRST call when starting any lism-css task — it provides the foundational context needed to use other tools effectively. Do NOT use this to look up specific components (use get_component), individual props (use get_props_system), or design tokens (use get_tokens). The response is Markdown reference material. Use it as context for your answer or implementation; do not paraphr…
get_tokens
Get design tokens (colors, spacing, font sizes, shadows, etc.) used in lism-css. Returns the full token reference including CSS variable names and available values. Use this when you need to check available token values, variable names, or design scales (e.g. "what spacing values exist?", "what are the font size tokens?"). For prop-to-CSS mappings, get_props_system is more suitable. For CSS conversion, use convert_css. Call get_overview first if you have not yet. The response is Markdown reference material. Use token names and values exactly as listed; do not invent tokens or values that are n…
get_props_system
Get the lism-css Props system reference: how React/Astro props map to CSS classes and styles. Supports lookup by lism prop name (e.g. "p", "fz") OR by CSS property name (e.g. "padding", "font-size"). Omit the prop parameter to get the full reference. Use this when you need to find a specific prop mapping, understand the Property Class system, or check what CSS property a lism prop corresponds to. For bulk CSS-to-lism conversion, convert_css is more efficient. For component-specific documentation, use get_component. The response is Markdown reference material. Use prop names and preset values e…
| Parameter | Type | Description |
|---|---|---|
prop | string | Prop name or CSS property name to look up. Accepts lism prop names (e.g. "p", "fz", "bgc") and standard CSS property names (e.g. "padding", "font-size", "background-color"). Omit to get the full refer… |
get_component
Get detailed information about a specific lism-css component: purpose, props, and usage examples. Use this when you need documentation for a known component by name (e.g. "Box", "Flex", "Accordion", "Lism"). Accepts multiple notations: "Flex", "<Flex>", "l--flex", "flex" all resolve to the same entry. Do NOT use this for broad topic guides (use get_guide with "components-core" or "components-ui") or keyword search across all docs (use search_docs). If the component is not found, suggestions will be provided — follow up with search_docs for a broader query. The response is Markdown reference…
| Parameter | Type | Description |
|---|---|---|
name * | string | Component name to look up (e.g. "Box", "Flex", "Accordion", "l--flex", "<Flex>"). |
package | string | Filter by package. "lism-css" for core components, "@lism-css/ui" for UI components. |
get_guide
Get a detailed guide on a specific lism-css topic. Use this when you need comprehensive documentation on a broad topic rather than a specific component or prop. For the framework overview, use get_overview. For individual component lookup, get_component is more direct. For individual prop lookup, use get_props_system. The response is the full guide as Markdown reference material. Use it as context; apply its rules and examples exactly as documented rather than paraphrasing them from memory. Available topics: - tokens: Design tokens (spacing, colors, font sizes, etc.) - property-class: Propert…
| Parameter | Type | Description |
|---|---|---|
topic * | string | The guide topic to retrieve. |
search_docs
Search lism-css documentation by keyword. Returns matching pages with relevance scores. Supports CSS property names (e.g. 'font-size', 'padding') which are automatically expanded to corresponding lism prop names. Use this when you cannot find information with other tools, or to discover available components, features, and guides by keyword. Do NOT use this as your first step — prefer get_component for a known component, get_props_system for a known prop, or get_guide for a specific topic. This is a fallback search tool. Returns JSON with search results including page URLs and relevance score…
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (keywords separated by spaces). CSS property names like "font-size" are also accepted. |
category | string | Filter by documentation category. |
limit | integer | Maximum number of results to return. |
convert_css
Convert CSS code to lism-css props, utility classes, and component suggestions. Accepts CSS declarations (with or without selectors) and returns the equivalent lism-css representation as structured JSON. Use this when migrating existing CSS to lism-css in bulk, or when you need to understand how multiple CSS properties map to lism-css at once. Do NOT use this for single prop lookups (use get_props_system instead). Note: @media and other at-rules are NOT supported — an error will be returned if detected. Returns JSON with conversions (prop mappings with confidence), component suggestions, and…
| Parameter | Type | Description |
|---|---|---|
css * | string | CSS code to convert. Accepts a full rule block with selector (e.g. ".foo { padding: 1rem; }") or bare declarations (e.g. "padding: 1rem; font-size: 16px;"). @media and other at-rules are not supported… |