@vigi-p/清醒mcp
lucide-mcp 是用于搜索的本地模型上下文协议(MCP)服务器 卢西德 按关键字标签显示图标名称。
它从Lucide图标元数据构建本地词典,并公开 搜索图标 工具超过stdio。
它的作用
- 通过stdio启动MCP服务器。
- 注册a 搜索图标 工具。
- Token根据分数将关键字与图标名称和标签进行匹配。
- 返回最匹配的图标名称。
安装
安装软件包。
pnpm add -g @vigi-p/lucide-mcp法典
codex mcp add lucide-mcp泽德
在“代理”面板中,转到 设置-->模型上下文协议(MCP)服务器->添加服务器->添加自定义服务器 并在 本地 选项卡。
{
"": {
"command": "lucide-mcp",
"args": [],
"env": {}
}
}光标
首选 光标设置->工具和MCP->添加新MCP 并添加 lucide-mcp 到 "mcpServers"
{
"mcpServers": {
"": {
"command": "lucide-mcp",
"args": [],
"env": {}
},
// Other MCPs...
}
}用法
一些提示,如 Show me sample code for a navbar in astro with lucide icons. Use lucide-mcp.
命令行界面
lucide-mcp [options]
Options:
-h, --help Show this help message
-v, --version Print the current version
-c, --create-dictionary Create the icons dictionary卸载
- 从IDE/代理中删除MCP。如:
codex mcp remove. - 拆下包装。
pnpm remove -g @vigi-p/lucide-mcp- 删除
~/.lucide-mcp文件夹。
字典缓存
首次运行时(或与 --refresh),项目从中获取图标元数据 Lucide回购 icons 目录并将本地词典写入 ~/.lucide-mcp/dictionary.json.
在获取过程中使用临时缓存目录,然后将其删除(~/.lucide-mcp/cache).
许可证
该项目根据MIT许可证获得许可。看 许可证.
贡献
看 贡献.md 开发工作流程和公关指南。
第三方许可证
依赖许可证在中跟踪 第三阶段_许可.md.
要在依赖关系更改后重新生成文件,请执行以下操作:
pnpm licenses:update生成器脚本使用 pnpm licenses list --json 并写入分组的包/许可清单。
