LA

leularia/aria-icons

开发工具

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

102 stars 5 forks 质量 83 趋势 48MIT

1M+ SVG 图标的 MCP 服务器

概览

如果这样可以节省你的时间,一颗恒星可以帮助别人找到它. 图标代号:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名:取名 同名目录, CLI使用的公共 REST( 最小有效载荷, 包中没有图标数据库): 获取品牌 + 图标图标来源( 一次性, 或每次想要刷新), 然后重建搜索目录 : 然后,从 repo 根运行开发服务器: 在您的浏览器中打开 。 应用中的页面(/贡献)会通过添加新集来行走. 图标来自三个存储后端,全部被索引为一个目录:

概述(AI 翻译)

**1.4M开源SVG图标——可搜索,可写自源CLI,以及用于AI编码代理的MCP.

如果这样可以节省你的时间,一颗恒星可以帮助别人找到它.

快开始

命令 目的 目标 |也. search 搜索所有收藏

将图标文件写入 repo 。 QQ [ [T3] 将现有的图标包导入到一个收藏中 QQ doctor 审计混合图书馆 suggest [src/]建议一套一致的* [[T6] 写 [T7] [T8] 配置 Cursor / Claude / VS 代码 /. QQ [ [T9] stdio MCP 服务器 (如果运行 [[T10] ] 则默认为无参数) QQ

图标代号:collection:name(lucide:house,[T13],[T14]])。

完整的CLI文件:packages/cli/README.md。

** 当地(stdio)**——什么aria-icons setup写道:

页:1

CLI使用的公共 REST( 最小有效载荷, 包中没有图标数据库):

结束点 |. | GET /api/v1/search?q= |寻. | GET /api/v1/icon?id=lucide:house | 1个图标 | GET /api/v1/icons?ids=a,b 批注

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

README

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

Aria Icons

1.4M open-source SVG icons — searchable, write-as-source CLI, and MCP for AI coding agents.

npx -y aria-icons@latest setup

If this saves you time, a star helps others find it.

Quick start

npx -y aria-icons@latest setup
# or
bunx aria-icons@latest setup
npm install -g aria-icons
# or
bun add -g aria-icons
Command Purpose
search Search all collections
get Print SVG or framework source
add Write icon files into the repo
migrate --to Map existing icon-package imports onto one collection
doctor Audit mixed libraries
suggest [src/] Recommend a consistent set
init Write .aria-icons.json
setup Configure MCP for Cursor / Claude / VS Code / …
mcp Stdio MCP server (default if you run aria-icons with no args)

Icon ids: collection:name (lucide:house, tabler:arrow-up, thesvg:github).

Full CLI docs: packages/cli/README.md.

MCP

Local (stdio) — what aria-icons setup writes:

{
  "mcpServers": {
    "aria-icons": {
      "command": "npx",
      "args": ["-y", "aria-icons"]
    }
  }
}

Remote HTTP — same catalog, hosted with the website:

{
  "mcpServers": {
    "aria-icons": {
      "url": "https://icons.leularia.com/api/mcp"
    }
  }
}

Public REST used by the CLI (tiny payloads, no icon database in the package):

Endpoint
GET /api/v1/search?q= Search
GET /api/v1/icon?id=lucide:house One icon
GET /api/v1/icons?ids=a,b Batch
GET /api/v1/collections Collections
GET /api/v1/similar?id= Similar / other sets
GET /api/v1/equivalent?id=&to= Cross-set mapping

During local development:

ARIA_ICONS_API=http://localhost:3001 bun run cli:dev -- search house

Website (this monorepo)

First, install the dependencies:

bun install
在 GitHub 查看完整 README

安装

npx -y aria-icons
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "aria-icons": { "command": "npx", "args": ["-y", "aria-icons"] } } }