What is the `PREFIX` environment variable used for?
It sets a default icon set prefix (e.g., `ant-design`) so you can omit the prefix parameter in `get_icons_by_desc_and_prefix` and `get_icon_detail_by_prefix_and_name`.
@Leee62
基本信息
a mcp server help developer to get svg simply and quickly with LLM
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"pickapicon-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pickapicon-mcp@latest"
],
"env": {
"PREFIX": "<LIKE ant-design>"
}
}
}
}get all icon repo NAME
get icons by desc and prefix (LIKE AS ant-design)
get icon detail by prefix and svg name
pickapicon-mcp is an MCP server for FE/UI/Designer to retrieve SVG icons via the Iconify API. It lets you ask an LLM for icons directly instead of manually searching and copying.
Install via npx -y pickapicon-mcp@latest or use Smithery CLI. Configure the PREFIX environment variable in your MCP client settings to set a default icon set (e.g., ant-design). Then use the provided tools (get_icon_repos, get_icons_by_desc_and_prefix, get_icon_detail_by_prefix_and_name) to search and fetch SVG code.
get_icon_repos: list all available icon set namesget_icons_by_desc_and_prefix: search icons by description and setget_icon_detail_by_prefix_and_name: fetch SVG code for a specific iconPREFIX environment variableIt sets a default icon set prefix (e.g., `ant-design`) so you can omit the prefix parameter in `get_icons_by_desc_and_prefix` and `get_icon_detail_by_prefix_and_name`.
Run `npx -y pickapicon-mcp@latest` in your MCP client’s server configuration, or use the Smithery CLI command `npx -y @smithery/cli install @Leee62/pickapicon-mcp --client claude`.
It provides three tools: `get_icon_repos` (list all repo names), `get_icons_by_desc_and_prefix` (search icons by description and prefix), and `get_icon_detail_by_prefix_and_name` (fetch SVG code by prefix and name).
All icons are fetched from the [Iconify](https://icon-sets.iconify.design/) repository.
The README only specifies that it is run via `npx`, implying it is an npm package. No additional runtime requirements are mentioned.
A search tool helps dev to solve the naming things problem.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
不止于 CSS
Open-source MCP to use Blender with any LLM
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
评论