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 guochen-thlg/icon-font-mcp -g
npx -y guochen-thlg/iconfont-mcp
Clone the repo and run directly:
git clone https://github.com/GuoChen-thlg/iconfont-mcp.git
cd iconfont-mcp
pnpm install && pnpm build
node dist/index.js
Add to your claude_desktop_config.json:
{
"mcpServers": {
"iconfont": {
"command": "npx",
"args": ["-y", "guochen-thlg/iconfont-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 resultsproject_id (string, optional): Project ID for icons in private projectsoutput_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:
cookie (string, optional): Iconfont cookie overrideresponse_format (string, optional): 'markdown' or 'json' (default: markdown)Login to Iconfont by providing a cookie.
Parameters:
cookie (string, required): The EGG_SESS_ICONFONT cookie valueAuto login by opening a browser for manual authentication.
Parameters: None (opens a browser window automatically)
Check if you are currently logged in with a valid cookie.
Parameters: None
Get detailed info about a specific project.
Parameters:
pid (string, required): Project IDcookie (string, optional): Iconfont cookie overrideresponse_format (string, optional): 'markdown' or 'json' (default: markdown)Search icons within a specific project.
Parameters:
pid (string, required): Project IDkeyword (string, required): Search keywordcookie (string, optional): Iconfont cookie overridepage (number, optional): Page number (default: 1)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 mcp add iconfont-mcp -- npx CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.