search_icons
Search SVG icons
Search svgicons.com icons and return icon metadata. Raw SVG requires a Pro API token with icons:read and mcp:use scopes.
limitquery必填offsetcategoryincludeSvgiconSetPrefixcom.svgicons由 svgicons.com 发布官方发布者v0.3.2更新于 Oct 24, 2026
320K+ open-source SVG icons: 12 tools, anonymous metadata search; SVG, exports, collections via Pro.
svgicons.com 的托管 MCP 服务器,让助手搜索 32 万多个开源 SVG 图标、获取 UI 图标推荐,并在 Pro 账户下获取 SVG、导出 PNG 和管理图标集合。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.svgicons%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"svg-icons": {
"type": "http",
"url": "https://svgicons.com/mcp"
}
}
}The Svg/icons MCP server connects AI coding tools to svgicons.com, a catalog of 320K+ open-source SVG icons. Assistants can search icons and icon sets, fetch icon metadata, and get icon recommendations for a UI without any account. With a Pro account (OAuth or a scoped API token), they can also fetch raw SVG markup, render PNG exports, and create, read, extend, and export persistent Icon Collections — including custom-styled icons — so the icon-discovery step never leaves the development workflow.
The server is hosted, remote MCP over Streamable HTTP (JSON-RPC requests via HTTP POST). There is no local install and no local Svg/icons MCP server package.
Endpoint:
Current MCP server version: 0.3.2 (protocol 2025-06-18).
Official MCP Registry name: com.svgicons/mcp — see Official MCP Registry listing.
This repository documents the hosted MCP endpoint. It contains no server code.
The live product docs are the source of truth: MCP server docs and the MCP developer overview.
The hosted endpoint exposes exactly these 12 live tools.
Search and read (anonymous metadata; raw SVG with Pro):
search_icons — search icon metadata by query, category, or icon set prefix; add includeSvg for raw SVG with a Pro token.search_icon_sets — search icon sets by name, prefix, author, category, or description to pick a consistent visual family.get_icon — fetch one icon by ID; metadata is public, raw SVG requires a Pro token.Recommendations (anonymous):
recommend_icons_for_ui — describe a UI or screen and receive icon candidates with short rationales.Icon Collections — create, read, extend (Pro):
create_icon_kit — create a persistent Icon Collection and optionally seed it with icon IDs.generate_icon_kit_for_project — generate an Icon Collection from a project brief, screen list, or required concepts.list_icon_collections — list your Icon Collections with icon counts, an optional name/slug filter, and pagination.get_icon_collection — read one collection with paginated entries, including custom-icon entries and their customized SVG bodies.add_icons_to_collection — add catalog icons to an existing collection; idempotent, already-present icons are skipped.remove_icon_from_collection — remove an icon from a collection; entry-precise by default, pass allVariants: true to remove every entry of the icon.Exports (Pro):
export_icon_png — render one icon as a PNG file or a ZIP of PNG variants, returned as a JSON-safe base64 payload.export_icon_collection — queue an Icon Collection export: SVG folders, SVG sprites, React/Vue/Svelte/Solid/Blade components, Storybook galleries, npm package scaffolds, PNG packs, Iconify JSON, and JSON/license manifests.See docs/TOOLS.md for verified input fields, output notes, access requirements, and safe prompt examples.
colorPolicy, collections that carry styling (an applied style or custom-icon entries) default to preserve, so exported files keep the colors the customization defined. Plain collections keep the currentColor default. An explicit colorPolicy always wins.formats: ["png"] as a shorthand for png-pack.Anonymous (no account): metadata-only access to search_icons, search_icon_sets, get_icon, and recommend_icons_for_ui. Anonymous requests are rate-limited per method and currently capped at 10 icons per search or recommendation. Raw SVG, PNG export, and all Icon Collection tools are not available anonymously.
Pro: authenticate with either of:
https://svgicons.com/.well-known/oauth-authorization-server (resource metadata at /.well-known/oauth-protected-resource/mcp), register dynamically, and send you to svgicons.com to sign in and approve access.Authorization: Bearer YOUR_API_TOKEN in clients that support private headers.Pro raises search caps (up to 50 icons per search) and unlocks raw SVG, PNG export, and the Icon Collection and export tools.
Token scopes — give each client the smallest set it needs:
The Pro Plan is €6/$7 per month or €69/$79 lifetime — see pricing. On the website, Icon Collections are also available to free Member accounts through a one-time trial allowance of 15 Pro credits; MCP and API access always require a Pro token.
See docs/AUTHENTICATION.md and the MCP server docs.
Then run /mcp inside Claude Code to complete the OAuth sign-in. To use a Pro API token instead:
https://svgicons.com/mcp and click Add.Team/Enterprise owners add it under Organization settings → Connectors → Add → Custom → Web; members then connect individually.
Project .cursor/mcp.json or global ~/.cursor/mcp.json:
Omit headers to use Cursor's OAuth flow, or add a token:
~/.codeium/windsurf/mcp_config.json:
Omit headers for OAuth, or reference an environment variable:
Workspace .vscode/mcp.json:
ChatGPT authenticates through OAuth with Dynamic Client Registration; Codex-style clients can use a bearer token. Follow the website guide: Use MCP with ChatGPT and Codex, plus configs/chatgpt-codex.md and configs/codex.example.md.
Clients that support remote HTTP MCP servers can connect with the generic shape:
Clients that only launch local command-based MCP servers can bridge with mcp-remote:
More client guidance: docs/CLIENTS.md and configs/README.md.
The server is published in the Official MCP Registry as com.svgicons/mcp. Verify the live listing:
Directories that ingest the official registry (such as PulseMCP) pick the listing up automatically.
For a terminal introduction, follow the CLI public metadata quick start. CLI 0.1.0 was validated on Windows on 17 October 2026 for anonymous search, metadata inspection, family filtering and pagination. This validates that CLI path, not every MCP client or authenticated export.
Search and metadata do not download raw SVG files. Moving from discovery to raw SVG, PNG or collection exports requires the Pro access and scopes described above. The React filebar example uses locally adapted Lucide components; it is not evidence of an authenticated Pro collection export.
The prompt library includes copyable workflows for search, React components, dashboard navigation, emoji replacement, accessibility review, themeable icons, design-system review, Icon Collections, and PNG export. Start with search icons, then move to code or export prompts only after reviewing the tool calls and selected icons.
Sample use cases are marked as examples, not real customer submissions. Review generated SVG and code before committing changes.
Run local checks before proposing changes:
CI runs the same validation without live MCP calls, auth tokens, publishing, or deployment.
Repo roles:
See SECURITY.md and docs/SECURITY.md.
来源:README.md,提交 9a52593
Search SVG icons
Search svgicons.com icons and return icon metadata. Raw SVG requires a Pro API token with icons:read and mcp:use scopes.
limitquery必填offsetcategoryincludeSvgiconSetPrefixSearch SVG icon sets
Search icon sets by name, prefix, author, category, or description.
pagelimitquerycategoryGet icon metadata or SVG
Return one icon by ID. Metadata is public; raw SVG requires a Pro API token with icons:read and mcp:use scopes.
id必填formatincludeSvgExport icon as PNG
Render one icon as PNG or a ZIP of PNG variants. Requires the Pro Plan and an MCP token with icons:read and exports:create scopes.
id必填zipsizespaddingfilenameiconName必填densitiesiconColoriconColorModebackgroundTypebackgroundColorRecommend icons for UI
Recommend icon candidates for a UI description using svgicons.com search metadata.
limitcategoryconceptsuiDescription必填Create Icon Collection
Create a persistent Pro Icon Collection and optionally add icon IDs. Requires Pro API token with collections:write and mcp:use scopes.
name必填iconIdsframeworkcolorPolicydescriptionnamingPolicyGenerate Icon Collection for project
Recommend and persist an Icon Collection for a project brief. Requires Pro API token with collections:write and mcp:use scopes.
screenscategorymaxIconsframeworkcolorPolicyprojectNamenamingPolicyrequiredConceptsprojectDescription必填Export Icon Collection
Queue a Pro Icon Collection export, including optional PNG packs. Requires an MCP token with exports:create.
pngformatssizePropstitlePropdecorativetypescriptcolorPolicydefaultSizepackageNamecollectionId必填namingPolicypackageVersion另有 1 个List Icon Collections
List your persistent Icon Collections with icon counts. Requires a Pro API token with collections:read and mcp:use scopes.
pagelimitqueryGet Icon Collection
Read one Icon Collection with its paginated entries. Custom-icon entries include entryId, customEditId, customName, and their customized SVG snapshot as the body. Requires a Pro API token with collections:read and mcp:use scopes.
pageperPagecollectionId必填Add icons to Icon Collection
Add catalog icons to an existing Icon Collection as plain entries (idempotent). Requires a Pro API token with collections:write and mcp:use scopes.
iconIds必填collectionId必填Remove icon from Icon Collection
Remove an icon from an Icon Collection. Entry-precise by default: only the plain entry is removed and custom variants survive; set allVariants true to remove every entry of the icon. Requires a Pro API token with collections:write and mcp:use scopes.
iconId必填allVariantscollectionId必填已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
https://svgicons.com/mcpclaude mcp add --transport http svgicons https://svgicons.com/mcpclaude mcp add --transport http svgicons https://svgicons.com/mcp \ --header "Authorization: Bearer YOUR_API_TOKEN"{ "mcpServers": { "svgicons": { "url": "https://svgicons.com/mcp" } }}{ "mcpServers": { "svgicons": { "url": "https://svgicons.com/mcp", "headers": { "Authorization": "Bearer YOUR_API_TOKEN" } } }}{ "mcpServers": { "svgicons": { "serverUrl": "https://svgicons.com/mcp" } }}{ "mcpServers": { "svgicons": { "serverUrl": "https://svgicons.com/mcp", "headers": { "Authorization": "Bearer ${env:SVGICONS_API_TOKEN}" } } }}{ "servers": { "svgicons": { "type": "http", "url": "https://svgicons.com/mcp" } }}{ "mcpServers": { "svgicons": { "type": "http", "url": "https://svgicons.com/mcp", "headers": { "Authorization": "Bearer YOUR_API_TOKEN" } } }}{ "mcpServers": { "svgicons": { "command": "npx", "args": [ "-y", "mcp-remote", "https://svgicons.com/mcp", "--header", "Authorization: Bearer ${SVGICONS_API_TOKEN}" ], "env": { "SVGICONS_API_TOKEN": "YOUR_API_TOKEN" } } }}curl -s "https://registry.modelcontextprotocol.io/v0/servers?search=com.svgicons"npm cinpm run validate