Svg/icons MCP

v0.3.2
com.svgicons/mcp Checked 2 days ago Published 4 months ago

320K+ open-source SVG icons: 12 tools, anonymous metadata search; SVG, exports, collections via Pro.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

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.

ParameterTypeDescription
query *stringIcon search query, such as "arrow left", "settings", or "github".
categorystringOptional icon set category, including New.
iconSetPrefixstringOptional icon set prefix to limit the search.
includeSvgbooleanInclude wrapped SVG markup. Requires Pro token icons:read.
limitintegerMax results, 1-50. Default 10 (20 with a Pro token); capped at 10 anonymous, 20 member, 50 Pro.
offsetintegerZero-based result offset for pagination. Default 0.

search_icon_sets Search SVG icon sets

Search icon sets by name, prefix, author, category, or description.

ParameterTypeDescription
categorystringOptional category, including New.
limitintegerIcon sets per page, 1-50. Default 20.
pageintegerOne-based page number. Default 1.
querystringSearch text matched against icon set name, prefix, author, category, and description.

get_icon Get 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.

ParameterTypeDescription
id *integerThe catalog icon ID, as shown in search results and icon page URLs.
formatstringsvg is an alias for includeSvg=true; metadata (default) returns metadata only.
includeSvgbooleanInclude the raw body and wrapped SVG markup. Requires a Pro token with icons:read. Default false.

export_icon_png Export 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.

ParameterTypeDescription
iconName *stringThe icon slug/name from the URL. Required to prevent ID-only bulk export.
id *integerThe catalog icon ID.
backgroundColorstringHex background color used when backgroundType is solid. Default #ffffff.
backgroundTypestringBackground fill. Default transparent.
densitiesarrayDensity multipliers to render, up to 2. Default [1].
filenamestringBase filename for the generated file. Defaults to the icon name.
iconColorstringHex icon color used when iconColorMode is custom. Default #000000.
iconColorModestringpreserve (default) keeps source colors; black, white, or custom recolor the icon.
paddingintegerPadding around the icon in pixels, 0-256. Default 48.
sizesarrayCanvas sizes to render, up to 4 of the allowed pixel values. Default [512].
zipbooleanReturn a ZIP of all size and density variants instead of a single PNG. Default false.

recommend_icons_for_ui Recommend icons for UI

Recommend icon candidates for a UI description using svgicons.com search metadata.

ParameterTypeDescription
uiDescription *stringProduct UI, screen, or feature description.
categorystringOptional icon set category filter, including New.
conceptsarrayOptional explicit concept keywords, merged with concepts extracted from the description.
limitintegerMax recommendations, 1-30 with a Pro token (1-10 otherwise). Default 8.

create_icon_kit 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.

ParameterTypeDescription
name *stringCollection name, up to 120 characters.
colorPolicystringStored color policy: currentColor rewrites fills, preserve keeps them, strip removes them. Default currentColor.
descriptionstringOptional collection description, up to 600 characters.
frameworkstringDefault export framework stored on the collection. Default svg.
iconIdsarrayCatalog icon IDs to add at creation; up to 200, duplicates ignored.
namingPolicystringFile and component naming: kebab (default), pascal, or camel.

generate_icon_kit_for_project Generate 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.

ParameterTypeDescription
projectDescription *stringProject brief used to extract icon concepts, up to 1500 characters.
categorystringOptional icon set category filter, including New.
colorPolicystringStored color policy: currentColor rewrites fills, preserve keeps them, strip removes them. Default currentColor.
frameworkstringDefault export framework stored on the collection. Default svg.
maxIconsintegerMaximum icons in the generated collection, 1-64. Default 16.
namingPolicystringFile and component naming: kebab (default), pascal, or camel.
projectNamestringOptional collection name; derived from the description when omitted.
requiredConceptsarrayConcepts that must be searched, merged with concepts extracted from the brief.
screensarrayOptional screen or page names that contribute extra concepts.

export_icon_collection Export Icon Collection

Queue a Pro Icon Collection export, including optional PNG packs. Requires an MCP token with exports:create.

ParameterTypeDescription
collectionId *integer | stringNumeric ID of the collection (integer or numeric string).
colorPolicystringcurrentColor rewrites fills, preserve keeps them, strip removes them. When omitted, collections carrying styling (applied style or custom icons) default to preserve; plain collections use the collecti…
componentSuffixstringComponent name suffix, 1-32 letters or digits starting with a letter. Default Icon.
decorativebooleanMark components decorative (aria-hidden) by default. Default true.
defaultSizeintegerDefault component render size in pixels, 1-1024. Default 24.
formatsarrayFormats to build. Defaults to the basic set: SVG folder, SVG sprite, JSON manifest, license manifest.
namingPolicystringFile and component naming: kebab, pascal, or camel. When omitted, uses the collection's stored policy (kebab unless changed).
packageNamestringnpm package name for npm-package exports, lowercase, optionally scoped.
packageVersionstringSemver version for npm-package exports, such as 1.0.0. Default 0.1.0.
pngobjectPNG pack options: sizes (up to 6 allowed pixel values, default [512]), densities (1-3, default [1]), backgroundType and backgroundColor, iconColorMode and iconColor, padding 0-256 pixels (default 48).
sizePropsbooleanEmit size props on framework components. Default true.
titlePropbooleanInclude an accessible title prop on components. Default true.
typescriptbooleanEmit TypeScript where the format supports it. Default true.

list_icon_collections List Icon Collections

List your persistent Icon Collections with icon counts. Requires a Pro API token with collections:read and mcp:use scopes.

ParameterTypeDescription
limitintegerCollections per page, 1-50. Default 20.
pageintegerOne-based page number. Default 1.
querystringOptional name or slug filter.

get_icon_collection Get 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.

ParameterTypeDescription
collectionId *integer | stringNumeric ID of the collection (integer or numeric string).
pageintegerOne-based page number. Default 1.
perPageintegerEntries per page, 1-100. Default 50.

add_icons_to_collection 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.

ParameterTypeDescription
collectionId *integer | stringNumeric ID of the collection (integer or numeric string).
iconIds *arrayCatalog icon IDs to add as plain entries; up to 200 per call, existing entries skipped.

remove_icon_from_collection 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.

ParameterTypeDescription
collectionId *integer | stringNumeric ID of the collection (integer or numeric string).
iconId *integerNumeric ID of the catalog icon whose entry should be removed.
allVariantsbooleantrue removes every entry of the icon, including custom variants. Default false: entry-precise, only the plain entry is removed and custom variants survive.