freeicon-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| i_guideA | Return the usage guide for this freeicon MCP (tool list, login flow, search→download workflow, key rules). Call this first if unsure how to use the tools. No login required. |
| i_versionA | Return the current version of this freeicon MCP server and check if a newer version is available on GitHub. |
| i_check_networkA | Check if iconfont.cn is reachable from this machine. Tests DNS resolution and TCP connectivity. If unreachable, provides troubleshooting steps (DNS change, hosts file, VPN). |
| i_loginA | Start a local reverse-proxy login server for iconfont.cn and return its URL. Open the URL in your normal browser and log in (any method: phone+password, WeChat scan, GitHub, Weibo, SMS, etc.). After success the page shows a "登录成功" notice and the user can close the tab (the proxy serves it for a few seconds, then shuts itself down; a later "connection refused" on that tab is normal). Cookies are captured automatically. Then call i_login_wait (or i_check_auth) to confirm. This is the recommended login method. |
| i_login_waitA | Block until the login server (started by login) reports a successful login, then shut it down. Returns the captured login info. |
| i_login_with_cookieA | Log in to iconfont.cn by pasting a raw Cookie header copied from a logged-in browser session (e.g. browser DevTools > Network > Request Headers > cookie). This is the MOST reliable method and works in headless/CI environments. The cookie string must include the "ctoken" entry (or pass ctoken separately). |
| i_login_with_passwordA | Log in to iconfont.cn with a phone number + password. Opens a visible browser and auto-fills the form. If a slider/captcha appears, solve it in the window — cookies are captured automatically once login completes. |
| i_login_send_smsA | Step 1 of SMS login. Opens a browser, fills the phone number and requests a verification code. Then call i_login_with_sms with the received code within 3 minutes. |
| i_login_with_smsA | Step 2 of SMS login. Submit the SMS verification code received after calling login_send_sms. Cookies are captured automatically once login completes. |
| i_check_authB | Check if you are currently logged in to iconfont.cn. |
| i_searchA | Search icons OR illustrations (插画) on iconfont.cn by keyword. Set type="illustration" for multi-color artwork (returns original SVG downloadable via i_download_svg, no color override). Icons must be downloaded via i_download_svg with a recent search. |
| i_detailA | Get detailed information about an icon on iconfont.cn. The icon MUST have been returned by a recent search call (iconfont no longer has a per-icon detail endpoint; data comes from the search cache). |
| i_download_svgA | Download an icon as SVG text from iconfont.cn. The icon MUST have been returned by a recent search call (iconfont no longer has a per-icon detail endpoint, so the SVG is taken from the search cache). Pass an ID returned by search. Optional color overrides fills. Optional size overrides width/height. |
| i_list_project_iconsA | List all icons in an iconfont.cn project by its Symbol URL. No login required. |
| i_list_collectionsC | Search icon collections on iconfont.cn. |
| l_searchA | [Lucide] Search lucide icons by keyword (open source, no login). Lucide is a community fork of Feather Icons with 2007+ clean outline icons. For multi-source search, use i_search_all instead. |
| l_download_svgA | [Lucide] Download a lucide icon as SVG text (open source, no login). For unified download from any source, use i_download instead. |
| l_list_allA | [Lucide] List all available lucide icons (open source, no login). 2007+ icons total. |
| l_get_tagsB | [Lucide] Get tags for a specific lucide icon (open source, no login). |
| i_sourcesA | List all available icon data sources with details (icon count, license, auth requirement, status). Use this to discover which sources are available for search and download. |
| i_search_allA | Search icons across ALL or specific data sources. Returns combined results with source labels. By default searches all sources. Use sources parameter to limit to specific sources (e.g. sources=["lucide","tabler"]) or use source keywords: "free" (all open sources), "all" (everything). Iconfont requires login. |
| i_downloadA | Unified download: download an icon as SVG text from ANY registered source. Pass the source id (e.g. "lucide", "tabler", "mdi") and the icon id (name from search results). Optional color overrides the stroke/fill color. Optional size overrides width/height. Use i_sources to see available sources, or i_search_all to find icons. |
| g_generateA | Get a precise spec for generating a custom SVG icon, then the AI (you) draws the SVG following it. Use when i_search_all finds nothing suitable. After drawing, ALWAYS pass the SVG through g_validate to sanitize and normalize it (color/size injection, XML check, security filter). |
| g_validateA | Validate, sanitize and normalize an AI-generated (or any hand-written) SVG icon: XML well-formedness, security filter (rejects /event handlers//javascript:), adds missing xmlns/viewBox, injects color/size. Returns the cleaned SVG ready for use, plus warnings. |
| ov_loginA | Save Openverse API credentials (OAuth2 client_id/client_secret) to raise rate limits from 20/min + 200/day (anonymous) to 100/min + 10,000/day. Register an application at https://api.openverse.org/v1/ to get them. The exchange is verified immediately; anonymous access keeps working without this. |
| ov_registerA | One-click Openverse app registration: registers an application via the public API, receives client_id/client_secret, exchanges them for a token and saves credentials — rate limits go from 20/min + 200/day to 100/min + 10,000/day. A verification link is emailed to the address you provide (clicking it is recommended but credentials work immediately). If credentials already exist, use ov_login instead. |
| ov_check_authA | Check whether Openverse API credentials are configured (higher rate limits) or the server is running anonymous (20/min + 200/day). |
| i_site_iconA | Extract a website’s icon or logo from its URL. Three tiers: 1) declared icons ( / apple-touch-icon) — SVG returns as text, raster as data URI; 2) inline logos in the page markup — 1:1 vector restoration (style context carried); 3) Google favicon service fallback. Also lists every candidate found. |
| i_bitmap_to_svgA | Vectorize a flat graphic image (icon / logo / flat illustration / screenshot of simple shapes) into a layered color SVG. Input object awareness: PHOTO-type images (high color entropy) are rejected — photo-to-SVG produces huge blurry files; keep photos as PNG/WebP. Only convert images you have rights to. Binary mode gives a clean 2-color result for icons/logos. |
| lg_generateA | Create a complete logo design brief + SVG authoring spec for a project: design summary, N distinct creative directions (geometric letterform / abstract symbol / mascot / negative space / wordmark), and strict SVG rules (viewBox, self-contained, text fallback, small-size legibility). The AI (you) draws one SVG per direction following the spec, validates each with lg_validate, then presents the concepts. Distilled from the logo-designer skill methodology. |
| lg_validateA | Validate a logo SVG (brand-grade, stricter than g_validate): security filter, self-contained check (rejects /external refs — logos must work offline), text fallback-font check, stroke legibility for small sizes, semantic group suggestions, viewBox/aspect sanity. Returns the normalized SVG with warnings to iterate on. |
| ia_generateA | Get a complete drawing spec for a flat-illustration scene card (480x360 SVG) in one of 14 professional styles (flat cut-paper, bold pop, halftone, ink sketch, isometric, one-line, vintage emblem, ...). The spec carries exact palettes, character proportions, composition rules and failure modes from the original methodology. The AI (you) draws the SVG per spec, validates with ia_validate, then delivers. |
| ia_validateA | Validate an illustration scene-card SVG drawn per ia_generate: security filter, self-contained check (no /external refs — illustrations must be pure vector), canvas 4:3 check, composition density hints. Returns normalized SVG with warnings. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 33 tools
Core workflows overlap in ways that require careful reading: i_search vs i_search_all vs l_search, and i_download vs i_download_svg vs l_download_svg are three-way near-duplicates distinguished only by source scope. The four iconfont login variants (i_login, i_login_with_cookie, i_login_with_password, i_login_with_sms) and three validators (g_validate, lg_validate, ia_validate) are separable but only because descriptions explicitly cross-reference each other. Descriptions do help, so this is workable but not clean.
The surface follows a consistent prefix_verb_noun shape (i_search, l_download_svg, ov_login, lg_validate), which is readable throughout. However the prefixes are semantically muddled: i_ means 'iconfont-only' for i_search/i_download_svg but 'general/icon' for i_search_all, i_sources, i_download, i_guide, and i_bitmap_to_svg, so the same prefix signals two different scopes. A few outliers (i_site_icon, i_bitmap_to_svg) are verbs-noun without a clear grouping.
33 tools is heavy for what is fundamentally search-and-download plus SVG generation. The count is inflated by redundant layers: five login/auth tools for iconfont, three for Openverse auth, and two parallel download paths per source. Consolidating source-specific tools under the unified i_search_all/i_download would cut the surface substantially.
The iconfont and open-source icon lifecycle (search, detail, download, list collections, project icons, auth) is well covered, and SVG generation/validation has full generate→validate loops. But Openverse is a dangling feature: ov_register/ov_login/ov_check_auth exist with no corresponding ov_search or download tool, leaving that integration unusable. There is also no collection-detail or upload/favorite operation, though these are minor.