SVGForge MCP
Allows searching Iconify icons and fetching icon code in SVG, React, Vue, Svelte, and data-URI formats through SVGForge.
Click on "Deploy 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., "@SVGForge MCP Find a home icon and give me the React component code"
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.
SVGForge MCP
Lightweight Model Context Protocol bridge for SVGForge. Search Iconify icons and fetch SVG / React / Vue / Svelte code from Cursor, Claude Desktop, and other MCP clients.
Uses a lightweight stdio bridge → cloud API pattern. No local icon database.
npm: svgforge-mcp
Docs: svgforge.dev/mcp
Install / run
git clone https://github.com/liqiang88/svgforge-mcp.git
cd svgforge-mcp
npm install
npm run build
node dist/index.jsOr after publish:
npx -y svgforge-mcpRelated MCP server: Svg/icons MCP
Environment
Variable | Required | Default | Description |
| For private tools | — | Personal token |
| No |
| API origin (no trailing slash) |
| No | off | Set |
Public tools work without a key: search_icons, get_icon, list_icon_sets, sanitize_svg, svg_to_data_uri.
Cursor
Open Settings → Customize → MCPs, then add / edit the server (writes mcp.json).
Published package:
{
"mcpServers": {
"svgforge": {
"command": "npx",
"args": ["-y", "svgforge-mcp"],
"env": {
"SVGForge_API_KEY": "sf_xxx",
"SVGForge_API_BASE": "https://svgforge.dev"
}
}
}
}Local checkout:
{
"mcpServers": {
"svgforge": {
"command": "node",
"args": ["D:/wwwroot/luo-project/svgforge-mcp/dist/index.js"],
"env": {
"SVGForge_API_KEY": "sf_xxx",
"SVGForge_API_BASE": "https://svgforge.dev"
}
}
}
}Replace the args path with your local clone’s dist/index.js.
After saving, confirm svgforge shows as connected under Customize → MCPs. Restart MCP or Cursor if the status stays grey.
Connected and calling get_icon in Cursor:
![]()
Claude Desktop
In claude_desktop_config.json:
{
"mcpServers": {
"svgforge": {
"command": "npx",
"args": ["-y", "svgforge-mcp"],
"env": {
"SVGForge_API_KEY": "sf_xxx"
}
}
}
}Tools
Tool | Auth | Description |
| — | Search by keyword / prefix |
| — | SVG or |
| — | Browse icon packs |
| Token | User collections |
| Token + Pro | Private uploads |
| — | Strip XSS-ish payloads |
| — | CSS / img Data URI |
| Token + | Add icon to a collection |
Requests send X-SVGForge-Client: mcp for traffic attribution.
Token
Sign in at svgforge.dev
Open Dashboard → API tokens
Create a token (
sf_…) — same token works for the VS Code extension
Privacy
The bridge only calls the SVGForge HTTPS API. It does not scan your disk or upload project files.
License
Available Tools
7 toolsget_custom_iconsA
List private custom icons for the authenticated Pro user. Requires SVGForge_API_KEY and Pro plan.
Inputs: no named parameters.
get_iconA
Fetch a single icon as raw SVG or auto-generated React / Vue / Svelte / Data URI code.
Inputs: name (required), format.
get_my_collectionsA
List collections for the authenticated SVGForge user. Requires SVGForge_API_KEY.
Inputs: no named parameters.
list_icon_setsB
List available SVGForge icon packs (Lucide, Tabler, etc.).
Inputs: q, limit.
sanitize_svgA
Sanitize raw SVG: strip script tags, event handlers, dangerous URLs, and DOCTYPE/ENTITY payloads.
Inputs: svg (required).
search_iconsB
Search SVGForge / Iconify icons by keyword. Returns icon keys (prefix:name) and brief meta. Prefer a prefix (e.g. lucide) for faster results.
Inputs: q (required), limit, prefix.
svg_to_data_uriA
Convert raw SVG into a Data URI for CSS background-image or HTML img src.
Inputs: svg (required), encoding.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Search vs. fetch vs. list are clearly separated, and the three listing tools (icon sets, user collections, custom icons) are scoped to distinct resources by name and description. Minor overlap: get_icon can emit a Data URI while svg_to_data_uri also produces one, and get_my_collections vs. get_custom_icons could be momentarily conflated by an agent unfamiliar with the SVGForge model.
Five tools follow a clean verb_noun pattern (search_icons, get_icon, list_icon_sets, get_my_collections, get_custom_icons). sanitize_svg and svg_to_data_uri deviate into verb_object / object_to_object forms, but all names remain snake_case and self-explanatory.
Seven tools is well within the ideal range and every tool serves a distinct role: discovery, retrieval, set/collection listing, and two SVG post-processing utilities. Nothing feels padded or missing at the count level.
The read/search/transform lifecycle is covered end to end: find icons, inspect sets, access private collections, and sanitize/convert output. Gaps exist on the write side — there is no way to upload or manage custom icons or create/modify collections — but for a fetch-and-prepare server these are workable omissions.
Maintenance
Related MCP Connectors
Multilingual semantic SVG icon search with previews for AI coding agents. 20,000+ icons.
Icons for agentic development: search & fetch 366,000+ open-source icons as SVG/PNG. No API key.
Unofficial Iconify MCP — wraps the Iconify public API (free, no auth)
320K+ open-source SVG icons: 12 tools, anonymous metadata search; SVG, exports, collections via Pro.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceVisual icon search, retrieval, and comparison for AI agents. Search 200k+ icons semantically, render side-by-side comparison grids, and retrieve raw SVG markup — all tools return images so vision-capable LLMs can see the icons.1-

Svg/icons MCPofficial
AlicenseNot gradedqualityCmaintenanceEnables AI coding tools to search, inspect, recommend, and export SVG icons from svgicons.com for use in design systems, frontend projects, and AI-assisted workflows.MIT- AlicenseAqualityDmaintenanceEnables AI coding agents to search, retrieve, and add Lucide SVG icons to projects.525 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search 2000+ bundled Lucide icons by keyword and generate one or many styled SVGs with consistent stroke width, color, and size, entirely offline without API keys.MIT