mcp-icon
Allows searching over 100,000 SVG icons from the AntV Infographic icon library using semantic search, returning SVG URLs for use in infographics.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-iconsearch for an icon representing data analytics"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐จ mcp-icon
A Model Context Protocol (MCP) server for semantic SVG icon search.
Generate infographic SVG icons by keyword โ over 100,000 icons with semantic search support, powered by AntV Infographic.
๐ Table of Contents
Related MCP server: icogenie-mcp
โจ Features
๐ Semantic search โ Find icons by meaning, not just exact names
๐ผ๏ธ 100,000+ SVG icons โ A massive library of high-quality infographic icons
โก Three transport modes โ
stdio,sse, andstreamable-http๐ชถ Minimal dependencies โ Clean, focused implementation
๐งช Fully tested โ Unit tests with Vitest
Available Tool
Tool | Description |
| Search for SVG icons by keyword. Returns a list of SVG URLs matching the semantic query. |
search_icons parameters:
Parameter | Type | Required | Default | Description |
| string | โ | โ | Search keyword or phrase (e.g. |
| number | โ |
| Number of icons to return (1โ20) |
๐ค Usage
Add to your MCP client configuration (e.g. Claude Desktop, VS Code, Cursor):
macOS / Linux:
{
"mcpServers": {
"mcp-icon": {
"command": "npx",
"args": ["-y", "mcp-icon"]
}
}
}Windows:
{
"mcpServers": {
"mcp-icon": {
"command": "cmd",
"args": ["/c", "npx", "-y", "mcp-icon"]
}
}
}๐ฐ Transport Modes
mcp-icon supports three standard MCP transport protocols.
stdio (default)
Used by desktop MCP clients (Claude Desktop, Cursor, etc.):
npx mcp-icon
# or explicitly:
npx mcp-icon --transport stdioSSE (Server-Sent Events)
npx mcp-icon --transport sse --port 3456
# Server available at: http://localhost:3456/sseStreamable HTTP
npx mcp-icon --transport streamable --port 3456
# Server available at: http://localhost:3456/mcp๐ฎ CLI Options
mcp-icon CLI
Options:
--transport, -t Transport protocol: "stdio", "sse", or "streamable" (default: "stdio")
--host, -h Host for SSE or streamable transport (default: localhost)
--port, -p Port for SSE or streamable transport (default: 3456)
--endpoint, -e Endpoint path:
- For SSE: default is "/sse"
- For streamable: default is "/mcp"
--help, -H Show this help message๐จ Development
# Clone the repository
git clone https://github.com/hustcc/mcp-icon.git
cd mcp-icon
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Start with MCP inspector (for local debugging)
npm startProject Structure
src/
โโโ index.ts # CLI entry point
โโโ server.ts # MCP server + tool handlers
โโโ services/
โ โโโ stdio.ts # Stdio transport
โ โโโ sse.ts # SSE transport
โ โโโ streamable.ts # Streamable HTTP transport
โโโ tools/
โ โโโ search-icons.ts # Tool definition
โโโ utils/
โโโ api.ts # Icon search API client
โโโ logger.ts # Logger utility
tests/
โโโ api.test.ts # API client unit tests
โโโ server.test.ts # MCP server integration tests๐ License
MIT ยฉ hustcc
This server cannot be installed
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hustcc/mcp-icon'
If you have feedback or need assistance with the MCP directory API, please join our Discord server