icons-mcp
v27.1.0MCP server and CLI for browsing and applying Vezham icons.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_icons
Search 2,700+ Vezham icons by any keyword, phrase, or description. Understands synonyms ("round" → circle, "del" → delete/trash), misspellings ("calender" → calendar), multi-word queries ("user circle", "credit card", "volume up"), and name parts ("up" → arrow-up). Returns ranked matches. Short specific terms work best but full phrases also work. After getting results, pick the highest-scoring match and call apply_icon directly. Only call view_icon first if you need to inspect the raw SVG before generating code.
| Parameter | Type | Description |
|---|---|---|
query * | string | Keyword(s) or phrase — e.g. "cart", "user circle", "volume up", "credit card", "go back", "delete". Handles synonyms, misspellings, and multi-word queries. |
limit | integer | Max results to return. Defaults to 8. |
weight | string | Filter by weight. Omit to search all weights. |
view_icon
Fetch raw SVG markup and metadata for a specific Vezham icon. Use this to inspect the SVG before applying, or when you only need the raw markup. For generating import/docs code, prefer apply_icon instead.
| Parameter | Type | Description |
|---|---|---|
name * | string | Icon kebab-case name, e.g. "heart", "arrow-right", "user-circle" |
weight * | string | Which weight variant to fetch |
apply_icon
Generate ready-to-paste import and docs code for a Vezham icon. Returns importStatement and docsSnippet for the chosen framework. Supported frameworks: react, react-native, vue, svelte, html (CDN custom element), svg (raw markup). Insert importStatement at the top of the file and docsSnippet where the icon should appear. Always call search_icons first to confirm the icon name and weight exist.
| Parameter | Type | Description |
|---|---|---|
framework * | string | Target framework or output format |
name * | string | Icon kebab-case name, e.g. "heart" |
weight * | string | Icon weight variant |
color | string | CSS color value, e.g. "#ef4444" or "currentColor". Defaults to currentColor. |
componentName | string | Override the component name. Defaults to the PascalCase icon name. |
size | integer | Icon size in pixels. Defaults to 24. |
list_categories
List all icon categories available in the Vezham dataset. Use this to explore what types of icons exist before searching. Each category can be used as a search keyword with search_icons.