mcp-server

v0.9.3
@thesvg/mcp-server Checked 1 hour ago Published 6 days ago

MCP server for searching and fetching 6,500+ brand SVGs from thesvg.org

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

search_icons

Search for brand SVG icons from thesvg.org by name or slug. Returns matching icons with slug, name, variants, and categories. Use get_icon or get_icon_url to retrieve the actual SVG.

ParameterTypeDescription
query *stringBrand name or partial slug to search for
kindstringIcon kind: 'brand' (default) or 'ui' for UI icons.
limitintegerMaximum number of results (1-100, default 20)

get_icon

Fetch the raw SVG content for a specific brand icon from the jsDelivr CDN. Returns SVG markup, metadata, and the CDN URL.

ParameterTypeDescription
slug *stringIcon slug identifier (e.g. 'github', 'stripe', 'openai'). Use search_icons to find slugs.
kindstringIcon kind: 'brand' (default) or 'ui' for UI icons.
lookstringUI icon look (kind 'ui' only): outline, glass, duotone, offset, fill, glass-outline, depth. Defaults to 'outline'.
variantstringIcon variant to fetch: 'default', 'mono', 'light', 'dark', 'wordmark', 'color'. Defaults to 'default'. Use list_variants to see what a specific icon supports.

list_variants

List all available variants for a specific brand icon. Variants may include: default, mono, light, dark, wordmark, wordmarkLight, wordmarkDark, lockup, lockupDark, color.

ParameterTypeDescription
slug *stringIcon slug identifier (e.g. 'github', 'openai'). Use search_icons to find slugs.
kindstringIcon kind: 'brand' (default) or 'ui' for UI icons.

get_icon_url

Get a jsDelivr CDN URL for a brand icon without fetching the SVG content. Use this to embed icons in HTML, Markdown, Notion, Webflow, or any img tag. Cheaper than get_icon when you only need the URL.

ParameterTypeDescription
slug *stringIcon slug identifier (e.g. 'github', 'stripe', 'openai'). Use search_icons to find slugs.
kindstringIcon kind: 'brand' (default) or 'ui' for UI icons.
lookstringUI icon look (kind 'ui' only): outline, glass, duotone, offset, fill, glass-outline, depth. Defaults to 'outline'.
variantstringIcon variant: 'default', 'mono', 'light', 'dark', 'wordmark', 'color'. Defaults to 'default'.

list_categories

List all icon categories available in thesvg.org library with icon counts. Use this to discover what categories exist in the library and to inform follow-up search_icons queries.

ParameterTypeDescription
kindstringIcon kind: 'brand' (default) or 'ui' for UI icons.