MCP 服务器

Digche Icons

io.github.Elinaseri/digche-icons
设计与创意 开发者工具 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Searches, recommends, previews, and retrieves SVG icons and JSX variants from the Digche icon catalog.

find_replacement
Find a Digche replacement
Find and rank Digche replacements for an icon from Lucide, Heroicons, Material Symbols, Font Awesome, or another library. Include the UI context for a more useful match; that context may be written in English or Persian.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['sourceIcon'], 'properties': {'limit': {'anyOf': [{'type': 'number'}, {'type': 'string'}], 'description': '1 to 10 candidates.'}, 'context': {'type': 'string', 'maxLength': 240, 'description': 'Functional UI context, for example Back button in mobile navigation.'}, 'sourceIcon': {'type': 'string', 'maxLength': 100, 'minLength': 1, 'description': 'Original component or icon name, for example ArrowLeft.'}, 'sourceLibrary': {'type': 'string', 'maxLength': 80}, 'preferredStyle': {'enum': ['Bold', 'Bulk', 'Linear', 'Outline', 'Animated'], 'type': 'string', 'default': 'Linear'}}}
get_icon_svg
Get a Digche SVG
Retrieve a validated SVG variant after selecting a Digche slug. Prefer Linear for functional product UI unless the project uses another Digche style. Use format "jsx" when pasting straight into a .tsx/.jsx file as an inline element — "svg" (default) is the raw markup, meant for dangerouslySetInnerHTML, a static file, or any non-JSX consumer.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['slug'], 'properties': {'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$'}, 'style': {'enum': ['Bold', 'Bulk', 'Linear', 'Outline', 'Animated'], 'type': 'string', 'default': 'Linear'}, 'format': {'enum': ['svg', 'jsx'], 'type': 'string', 'default': 'svg'}, 'allowFallback': {'type': 'boolean', 'default': True}}}
list_categories
List Digche categories
List every published Digche category with its icon count and available styles. Call this once to learn the catalog vocabulary before filtering searches by category.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
preview_icons
Preview Digche icons
Render candidate Digche icons as a single image so a person can compare them before choosing. Pass slugs from an earlier tool call, or a query to search and preview in one step.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'anyOf': [{'type': 'number'}, {'type': 'string'}], 'description': '1 to 24 icons.'}, 'query': {'type': 'string', 'maxLength': 120, 'description': 'Used only when slugs are not supplied.'}, 'slugs': {'anyOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}], 'description': 'Slugs from a previous result.'}, 'style': {'enum': ['Bold', 'Bulk', 'Linear', 'Outline', 'Animated'], 'type': 'string', 'default': 'Linear'}, 'theme': {'enum': ['light', 'dark'], 'type': 'string', 'default': 'light'}}}
recommend_icons
Recommend a Digche set for a screen
Pick a coherent Digche icon set for up to 20 named UI slots in one call. Slot names and the task may be written in English or Persian. Give the overall task so ambiguous slot names resolve correctly. Use this instead of one search per icon when laying out a screen.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['slots'], 'properties': {'task': {'type': 'string', 'maxLength': 240, 'description': 'What the screen is, for example: sidebar for a billing dashboard.'}, 'slots': {'anyOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}], 'description': 'UI slots to fill, for example ["profile", "billing", "logout"].'}, 'limitPerSlot': {'anyOf': [{'type': 'number'}, {'type': 'string'}], 'description': '1 to 5 candidates per slot.'}, 'responseMode': {'enum': ['plan', 'assets'], 'type': 'string', 'default': 'plan', 'description': 'plan returns slugs only; assets adds the SVG for each top pick.'}, 'preferredStyle': {'enum': ['Bold', 'Bulk', 'Linear', 'Outline', 'Animated'], 'type': 'string', 'default': 'Linear'}}}
search_icons
Search Digche icons
Search published Digche icons by name, alias, use case, tag, category, or functional meaning. Queries work in English or Persian - every icon carries Persian aliases, so pass the user's own Persian wording instead of translating it first. Use this before choosing a UI icon. Returns a paste-ready summary and a preview image of the results.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query'], 'properties': {'limit': {'anyOf': [{'type': 'number'}, {'type': 'string'}], 'description': '1 to 20. Out-of-range values are clamped.'}, 'query': {'type': 'string', 'maxLength': 120, 'minLength': 1, 'description': 'Functional intent in English or Persian, such as previous page, analytics, delete item, or «سبد خرÛ\x8cد».'}, 'style': {'enum': ['Bold', 'Bulk', 'Linear', 'Outline', 'Animated'], 'type': 'string'}, 'category': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$'}}}
已更改
find_replacement
2026年9月21日 02:50
已更改
recommend_icons
2026年9月21日 02:50
已更改
search_icons
2026年9月21日 02:50
已添加
get_icon_svg
2026年9月17日 12:41
已添加
preview_icons
2026年9月17日 12:41
已添加
find_replacement
2026年9月17日 12:41
已添加
recommend_icons
2026年9月17日 12:41
已添加
search_icons
2026年9月17日 12:41
已添加
list_categories
2026年9月17日 12:41