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
Basic information
a mcp server help developer to get svg simply and quickly with LLM
Add this server to your MCP-compatible client using the configuration below.
{
"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.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
Comments