Cronus UI
Search, install, compose, add-page, and theme Cronus UI from the live registry.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 get_design_context 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"cronus-ui": {
"command": "npx",
"args": [
"cronus-ui-mcp"
]
}
}
}可執行的套件
0.7.6stdio遠端端點
https://aicronus.com/mcpstreamable-http它能做什麼
工具清單
工具(8)
🟢list_components
List the installable Cronus UI components (registry items of type 'registry:ui'). Returns each component's name, a readable title, its npm and registry dependencies, and the `npx cronus-ui add <name>` command to install it.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_blocks
List the installable Cronus UI blocks (registry items of type 'registry:block') — larger, composed sections such as hero, pricing, login, and dashboard. Returns each block's name, title, dependencies, and its `npx cronus-ui add <name>` install command.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_catalog(kind)
Return compact Hydra-ready cards for every component, block, variant, and template: name, short description, design style, palette, motion, intents, and the install command. No source files — cheap on tokens. Filter with `kind`. Use `match_catalog` to pick the best item for a prompt (login + smooth animation, etc.).
輸入結構描述
{
"type": "object",
"properties": {
"kind": {
"description": "Restrict to component, block, variant, or template cards.",
"type": "string",
"enum": [
"component",
"block",
"variant",
"template"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢match_catalog(query, intent, style, palette, motion, ...)
Two-query catalog match for low-context agents. Pass a free-text `query` (e.g. 'login page with smooth animation') and/or structured filters (`intent`, `motion`, `style`, `palette`). Returns `pick` (the recommended combination), `intent` hits, `motion` hits, and ranked `matches`. Cards carry description, design style, palette, motion, and intents — not source. Fetch source with `get_component` only after picking a name.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"description": "Natural-language request, e.g. 'login page with smooth animation'. Intent and motion are inferred from the text when those fields are omitted.",
"type": "string"
},
"intent": {
"description": "Use-case intent: login, signup, pricing, dashboard, chart, form, …",
"type": "string"
},
"style": {
"description": "Design style: default, editorial, operational, glass, brutalist.",
"type": "string"
},
"palette": {
"description": "Palette: semantic (follows theme), aurora, neutral, midnight, sunset, emerald.",
"type": "string"
},
"motion": {
"description": "Motion: none, snappy, smooth, cinematic.",
"type": "string"
},
"kind": {
"description": "Restrict to component, block, variant, or template.",
"type": "string",
"enum": [
"component",
"block",
"variant",
"template"
]
},
"limit": {
"description": "Max hits per list. Default 8.",
"type": "integer",
"minimum": 1,
"maximum": 24
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_registry(query)
Fuzzy-search Cronus UI components and blocks by name (case-insensitive substring match). Use this to find the right item before fetching its source with `get_component`.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search text matched against component and block names, e.g. 'button' or 'card'."
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_design_context(theme, look, format)
Return the Cronus UI visual taste file (DESIGN.md) for a theme × look. Use this before generating UI so the agent follows Aurora/Neutral dual identity, one primary CTA, hairline elevation, and look rules. compact fits a system prompt; extended is the repo file. Does not modify the project.
輸入結構描述
{
"type": "object",
"properties": {
"theme": {
"description": "Palette: aurora (generated product), neutral (docs chrome), midnight, sunset, emerald.",
"type": "string",
"enum": [
"aurora",
"neutral",
"midnight",
"sunset",
"emerald"
]
},
"look": {
"description": "Material: default, brutalist, or glass. Orthogonal to theme.",
"type": "string",
"enum": [
"default",
"brutalist",
"glass"
]
},
"format": {
"description": "compact (~prompt) or extended (full DESIGN.md). Default extended.",
"type": "string",
"enum": [
"compact",
"extended"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_component(name)
Fetch the full detail for a single Cronus UI component or block by name: its source file(s) (path + content), its npm `dependencies`, its `registryDependencies` (other registry items it needs), and the `npx cronus-ui add <name>` install command. Works for both components and blocks.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The exact registry item name, e.g. 'button', 'data-table', or 'pricing'."
}
},
"required": [
"name"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_install_command(names)
Build the `npx cronus-ui add ...` command for one or more components/blocks. The CLI resolves and installs each item's registry dependencies automatically. This only returns the command string — to actually install, use `install_component`.
輸入結構描述
{
"type": "object",
"properties": {
"names": {
"minItems": 1,
"type": "array",
"items": {
"type": "string"
},
"description": "One or more registry item names to install, e.g. ['button', 'card', 'dialog']."
}
},
"required": [
"names"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據