This skill helps you configure and troubleshoot Unicon MCP server connections for Claude Desktop, Cursor, and other clients.
npx playbooks add skill webrenew/unicon --skill unicon-mcp
The Unicon MCP server lets an assistant search icons and return ready-to-use
React, Vue, Svelte, SVG, or JSON code as tool calls, with no CLI involved.
There are two ways to connect:
https://unicon.sh/api/mcp. Nothing to install. It usesStreamable HTTP, stateless; it has no SSE stream.
npx -y @webrenew/unicon-mcp-server. A stdio server thatforwards requests to the remote endpoint. Use it for clients that support
only stdio servers.
claude mcp add --transport http unicon https://unicon.sh/api/mcp
# or the local server:
claude mcp add unicon -- npx -y @webrenew/unicon-mcp-server
Add --scope project to save the server in .mcp.json for the whole team.
Edit claude_desktop_config.json. On macOS it is in~/Library/Application Support/Claude/, on Windows in %APPDATA%\Claude\.
{
"mcpServers": {
"unicon": {
"command": "npx",
"args": ["-y", "@webrenew/unicon-mcp-server"]
}
}
}
Quit Claude Desktop completely (Cmd+Q on macOS) and start it again. Closing
the window does not reload the config.
Add the server to .cursor/mcp.json in the project, or to~/.cursor/mcp.json for every project:
{
"mcpServers": {
"unicon": {
"url": "https://unicon.sh/api/mcp"
}
}
}
The command/args form from Claude Desktop also works.
Give the client the URL https://unicon.sh/api/mcp if it supports remote
(Streamable HTTP) servers. Otherwise give it the commandnpx -y @webrenew/unicon-mcp-server.
claude mcp list shows unicon as connected. In a session,/mcp shows its tools.
unicon with itstools.
Lucide."
Icon IDs have the form source:name, for example lucide:arrow-right.
Search first, then use the IDs from the results; guessed IDs often do not
exist.
Work in this order, because it needs the fewest calls:
search_icons with includeCode: true returns thecode with the results, so one call is often enough. Set source to the
library the project already uses, so the new icons match the existing ones.
get_icon for one known ID, orget_multiple_icons for up to 50 in one call.
get_starter_pack. Read unicon://starter_packs forthe pack IDs.
Write the returned code into the project's icon folder, and match the
format to the framework (react, vue, svelte, svg, or json).
| Tool | Required | Optional (default) |
|------|----------|--------------------|
| search_icons | query (1–200 chars) | source, category, limit (20, max 100), offset (0), includeCode (false), format (react), strokeWidth (2), normalizeStrokes (false) |
| get_icon | iconId | format (react), size (24, 8–512), strokeWidth (2, 0.5–4), normalizeStrokes (false) |
| get_multiple_icons | iconIds (up to 50) | format, size, strokeWidth, normalizeStrokes |
| get_starter_pack | packId | output (bundle for one file, or individual), format, size, strokeWidth, normalizeStrokes |
| list_my_bundles | | Requires a token |
| get_my_bundle | bundleId (UUID) | format (react; svg or json), includeCode (true). Requires a token |
| create_my_bundle | name, iconIds | description, strokePreset (thin, regular, bold), normalizeStrokes, targetStrokeWidth, normalizeViewbox, targetViewbox. Requires a token |
normalizeStrokes sets one stroke width on stroke icons from different
libraries and leaves fill icons unchanged. Use it when a set mixes libraries.
| URI | Contents |
|-----|----------|
| unicon://instructions | The server's usage guide |
| unicon://sources | Libraries and icon counts |
| unicon://categories | Categories |
| unicon://stats | Totals per library |
| unicon://starter_packs | Starter pack IDs and descriptions |
The *_my_bundle tools read and write the user's saved bundles on unicon.sh.
They need an API token, which starts with uni_:
npx @webrenew/unicon login once. The server reads~/.unicon/auth.json. You can set UNICON_API_TOKEN in the server's env
instead.
as a header, for exampleclaude mcp add --transport http unicon https://unicon.sh/api/mcp --header "Authorization: Bearer uni_...".
Without a token, the search and icon tools still work. Only the bundle tools
return an authentication error.
| Symptom | Check |
|---------|-------|
| unicon is missing from the client | The config JSON is valid. The client was fully restarted. For the local server, npx -y @webrenew/unicon-mcp-server starts without errors in a terminal |
| The first start is slow | The first npx run downloads the package. Later runs use the npm cache |
| command not found: npx | Install Node.js 18+, then restart the client so it sees the new PATH |
| An icon is not found | Search for it and copy the source:name ID from the results |
| A bundle tool returns an authentication error | Set a token as shown in [Saved bundles](#saved-bundles) |
| A client asks for an SSE endpoint | Use the local server. The remote endpoint supports only Streamable HTTP |
| Requests fail with 429 | The public limit is 60 requests per minute per IP. Wait, then use fewer, larger calls, such as includeCode or get_multiple_icons |
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.