themes.dev UI
Search and install shadcn/ui blocks, components and page templates. Free items need no key.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"ui": {
"url": "https://www.themes.dev/mcp"
}
}
}远程端点
https://www.themes.dev/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢list_items(access, kind, category, limit, offset)
Lists catalogue items by their store number (hero-12, app-crm-01, template-home), optionally filtered. access: open (free, no key) or pro (UI Pro). kind: ui (primitive), block (page section), app (app screen), template (whole page). category: e.g. "hero", "pricing", "footer", "app-crm", "templates".
输入模式
{
"type": "object",
"properties": {
"access": {
"type": "string",
"enum": [
"open",
"account",
"pro"
],
"description": "Who may install: \"open\" for free items that need no key, \"pro\" for UI Pro items that need the user's API key. \"account\" is kept for older clients and matches nothing now. Leave out for both."
},
"kind": {
"type": "string",
"enum": [
"ui",
"block",
"app",
"template"
],
"description": "What sort of item: \"ui\" a primitive (button, input), \"block\" a page section (hero, pricing), \"app\" an app screen, \"template\" a whole page. Leave out for all kinds."
},
"category": {
"type": "string",
"description": "Store category slug, as in the item URLs: \"hero\", \"pricing\", \"footer\", \"app-crm\", \"templates\". Leave out for every category."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 50,
"description": "How many items to return, 1 to 200. Default 50."
},
"offset": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "How many matching items to skip, for the next page. Default 0."
}
},
"additionalProperties": false
}🟢search_items(query, limit)
Finds items by words in their name, title and description, best match first. Example: "pricing table", "sign in form".
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Words to look for, in English, e.g. \"pricing table\" or \"sign in form\". Every word must match."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 15,
"description": "How many results to return, 1 to 50. Default 15."
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢show_item(name)
One item: what it is, who may install it, and, when the caller may, its registry entry with the files and their code.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "The item's store number, as list_items and search_items return it, e.g. \"hero-12\" or \"template-home\"."
}
},
"required": [
"name"
],
"additionalProperties": false
}🟢install_item(names)
Checks that the caller may install the items and returns the shadcn command to run in the project, plus the components.json entry for the @themesdev namespace. Run the command yourself; this tool changes nothing.
输入模式
{
"type": "object",
"properties": {
"names": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"minItems": 1,
"maxItems": 20,
"description": "Store numbers of the items to install, 1 to 20, e.g. [\"hero-12\", \"pricing-03\"]."
}
},
"required": [
"names"
],
"additionalProperties": false
}社区
证据