注册表目录mcp
一个mcp服务器,允许llms从以下位置搜索和发现shadcn/ui注册表和组件 注册表.目录.
它对40多个社区注册表(magicui、aceternity、kokonut等)进行索引,并使用深度抓取的元数据来确保所有内容都是可搜索的,即使注册表没有公开公共索引。
人工智能代理快速入门
开源代码
fetch and follow instructions from https://raw.githubusercontent.com/Microck/registry-directory-mcp/master/.opencode/INSTALL.md代码/光标/其他
fetch and follow instructions from https://raw.githubusercontent.com/Microck/registry-directory-mcp/master/.codex/INSTALL.md特征
- 深度指数:150多个高级组件预先索引了标签和描述。
- 注册表发现:按名称、类别或氛围搜索40多个与shadcn/ui兼容的注册表。
- 智能回退:自动探测注册表中的公共索引,并回退到抓取的数据。
- ai排名:包括a
recommend_best_components根据质量和需求匹配进行过滤的工具。
用法
工具
search_registries:按名称、描述、标签或类别搜索注册表。search_components:在所有注册表中搜索特定组件。get_registry_index:从注册表url获取官方组件列表。get_categories:列出所有可用的组件类别和标记。recommend_best_components:根据您的特定需求,对最佳组件进行排名并提出建议。get_component_details:获取组件的完整json/代码(如果可用)。
例子
{
"name": "recommend_best_components",
"arguments": {
"requirement": "need an animated marquee for a landing page hero"
}
}安装
git clone https://github.com/Microck/registry-directory-mcp.git
cd registry-directory-mcp
npm install
npm run build配置
添加到您的mcp客户端配置中(例如。, claude_desktop_config.json 或 opencode):
{
"mcpServers": {
"registry-directory": {
"command": "node",
"args": ["/path/to/registry-directory-mcp/dist/index.js"]
}
}
}许可证
麻省理工学院
