loading…
Search for a command to run...
loading…
Enables searching, downloading, and managing SVG icons from iconfont.cn, China's largest icon library. It supports filtering by style, downloading assets to loc
Enables searching, downloading, and managing SVG icons from iconfont.cn, China's largest icon library. It supports filtering by style, downloading assets to local files, and listing user projects with authentication.
MCP server for Iconfont (iconfont.cn) - Search, download, and manage icons from China's largest icon library.
npm install -g @thlg/icon-font-mcp
Or use npx directly:
npx @thlg/icon-font-mcp
Add to your claude_desktop_config.json:
{
"mcpServers": {
"iconfont": {
"command": "npx",
"args": ["@thlg/icon-font-mcp"]
}
}
}
For features requiring authentication (like listing projects), set the ICONFONT_COOKIE environment variable:
export ICONFONT_COOKIE="your-iconfont-cookie"
To get the cookie:
EGG_SESS_ICONFONT cookie valueSearch for icons in the Iconfont library.
Parameters:
query (string, required): Search query for icon nameicon_type (string, optional): Icon style type - '' (all), 'line', 'fill', 'flat', 'hand', 'simple', 'complex'page (number, optional): Page number (default: 1)page_size (number, optional): Results per page, max 100 (default: 54)response_format (string, optional): 'markdown' or 'json' (default: markdown)Download SVG data for a specific icon.
Parameters:
icon_id (string, required): Icon ID from search resultsoutput_path (string, optional): Directory to save SVG filefilename (string, optional): Filename without extensionresponse_format (string, optional): 'markdown' or 'json' (default: markdown)List your Iconfont projects (requires authentication).
Parameters:
response_format (string, optional): 'markdown' or 'json' (default: markdown)# Install dependencies
pnpm install
# Build
pnpm run build
# Run in development mode
pnpm run dev
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"iconfont-mcp": {
"command": "npx",
"args": []
}
}
}