UNPKG

lucide-icons-mcp

Version:

This project, lucide-react-mcp, is a Model Context Protocol (MCP) server built with Bun and the MCP TypeScript SDK. It exposes Lucide React icons as resources and tools, enabling LLMs and agentic applications to search for and utilize icons. Key features

16 lines (15 loc) 346 B
#!/usr/bin/env node import { startHttpServer } from "./http.js"; import { runStdioServer } from "./stdio.js"; async function main() { const args = process.argv.slice(2); if (args.includes("--stdio")) { await runStdioServer(); } else { await startHttpServer(); } } main().catch(() => { process.exit(1); });