SL

seeyangzhi/lucide-icons-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

43 stars 4 forks 质量 73 趋势 4MIT

seeyangzhi/lucide-icons-mcp 是从 https://github.com/seeyangzhi/lucide-icons-mcp. 导入的 MCP 服务器候选人。

概览

seeyangzhi/lucide-icons-mcp 是从 https://github.com/seeyangzhi/lucide-icons-mcp. 导入的 MCP 服务器候选人。

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,将Lucide React图标作为LLM和代理应用的资源和工具。使用Bun和MCP TypeScript SDK构建。

什么是Lucide?

Lucide 是由社区制作的美丽且一致的图标工具包。这是一个开源图标库,提供超过 1,500+ 个精心制作的图标,风格统一一致。Lucide 最初从 Feather Ics 分支出来,现已发展成为现代网页开发中最受欢迎的图标库之一。

什么是MCP?

模型上下文协议(MCP)是人工智能工具向其主要训练数据之外的来源请求特定上下文的标准。

该MCP服务器允许AI编码助手和其他代理应用访问Lucide React图标的信息,从而更好地协助图标搜索、发现和实现。

特色

  • 🔍 图标搜索:按名称或类别搜索1500+个Lucide图标
  • 📂 分类浏览:按类别(设计、传播、媒体等)列出图标
  • 💡 使用示例:获取任意图标的React/JSX代码示例
  • 🔧 图标信息:每个图标的详细信息

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

lucide-icons-mcp

A Model Context Protocol (MCP) server exposing Lucide React icons as resources and tools for LLMs and agentic applications. Built with Bun and the MCP TypeScript SDK.

What is Lucide?

Lucide is a beautiful & consistent icon toolkit made by the community. It’s an open-source icon library that provides over 1,500+ carefully crafted icons in a single, consistent style. Originally forked from Feather Icons, Lucide has grown into one of the most popular icon libraries for modern web development.

What is MCP?

The Model Context Protocol (MCP) is a standard for AI tools to request specific context from sources outside their main training data.

This MCP server allows AI coding assistants and other agentic applications to access information about Lucide React icons, enabling better assistance with icon search, discovery, and implementation.

Features

  • 🔍 Icon Search: Search through 1,500+ Lucide icons by name or category
  • 📂 Category Browsing: List icons by categories (Design, Communication, Media, etc.)
  • 💡 Usage Examples: Get React/JSX code examples for any icon
  • 🔧 Icon Information: Detailed information about each icon
  • 🚀 MCP Integration: Ready for Claude Desktop and other MCP clients
  • 🌐 Dual Mode: HTTP server or stdio-based MCP server
  • 📊 Comprehensive Coverage: All Lucide icons with proper JSX usage

Prerequisites

Getting Started (Development)

1. Clone the repository

git clone https://github.com/SeeYangZhi/lucide-icons-mcp.git
cd lucide-icons-mcp

2. Install Bun (if you don’t have it)

Refer to the official Bun installation guide.
After installation, restart your terminal and check:

bun --version

3. Install dependencies

bun install

4. Build the project

This compiles the TypeScript source to JavaScript in the build directory.

bun run build

Usage

HTTP Mode

You can run the HTTP server using npx:

npx lucide-icons-mcp

This starts the HTTP server (defaults to port 3000).

Or install globally:

npm install -g lucide-icons-mcp

Then run:

lucide-icons-mcp

Stdio Mode

npx lucide-icons-mcp --stdio
# or if installed globally
lucide-icons-mcp --stdio

Local Development

There are two main ways to run the MCP server:

1. HTTP Mode

Suitable for clients that support communication over HTTP.

在 GitHub 查看完整 README

安装

npx lucide-icons-mcp --stdio
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "lucide-icons": { "command": "npx", "args": ["lucide-icons-mcp", "--stdio"] } } }