Skip to main content
Glama

Hugeicons MCP 服务器

用于 Hugeicons 集成和文档的 MCP 服务器

铁匠徽章

这是一个基于 TypeScript 的 MCP 服务器,提供将 Hugeicons 集成到各种平台的工具和资源。它实现了一个模型上下文协议 (MCP) 服务器,帮助 AI 助手提供 Hugeicons 的精准使用指导。

特征

工具

  • list_icons - 获取所有可用的 Hugeicons 图标列表

  • search_icons - 按名称或标签搜索图标

  • get_platform_usage - 获取 Hugeicons 平台特定的使用说明

资源

平台文档(Markdown格式):

  • hugeicons://docs/platforms/react - React 集成指南

  • hugeicons://docs/platforms/vue - Vue 集成指南

  • hugeicons://docs/platforms/angular - Angular 集成指南

  • hugeicons://docs/platforms/svelte - Svelte 集成指南

  • hugeicons://docs/platforms/react-native - React Native 集成指南

  • hugeicons://docs/platforms/flutter - Flutter 集成指南

图标数据:

  • hugeicons://icons/index - 所有 Hugeicons 的完整索引(JSON 格式)

功能

该服务器提供全面的 Hugeicons 集成支持,包括:

  • 图标发现和搜索

  • 特定平台的安装指南

  • 带有代码片段的用法示例

  • 组件 props 文档

  • 软件包安装说明

Related MCP server: heroicons-mcp

发展

安装依赖项:

npm install

构建服务器:

npm run build

对于使用自动重建的开发:

npm run watch

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Hugeicons MCP 服务器:

npx -y @smithery/cli install @hugeicons/mcp-server --client claude

要与 Claude Desktop 一起使用,请添加服务器配置:

在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "hugeicons": {
      "command": "npx",
      "args": [
        "-y",
        "@hugeicons/mcp-server"
      ]
    }
  }
}

args 数组指定:

  1. -y :自动对 npx 提示回答“是”

  2. 软件包名称: @hugeicons/mcp-server

快速入门

您也可以直接使用 npx 运行服务器:

npx @hugeicons/mcp-server

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

Available Tools

5 tools
get_icon_glyph_by_styleC

Get the glyph (unicode character) for a specific icon with a particular style

Inputs: icon_name (required), style (required).

get_icon_glyphsA

Get all glyphs (unicode characters) for a specific icon across all available styles

Inputs: icon_name (required).

get_platform_usageC

Get platform-specific usage instructions for Hugeicons

Inputs: platform (required).

list_iconsB

Get a list of all available Hugeicons icons

Inputs: no named parameters.

search_iconsB

Search for icons by name or tags. Use commas to search for multiple icons (e.g. 'home, notification, settings')

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap. get_icon_glyph_by_style retrieves a single glyph for a specific style, get_icon_glyphs gets all glyphs for an icon across styles, get_platform_usage provides usage instructions, list_icons lists all icons, and search_icons searches by criteria. An agent can easily differentiate them.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case naming (e.g., get_icon_glyph_by_style, list_icons, search_icons). The verbs (get, list, search) are appropriately matched to the actions, and there are no deviations in style.

    Tool Count5/5

    With 5 tools, this server is well-scoped for its purpose of accessing Hugeicons. It provides a balanced set covering listing, searching, retrieving glyphs, and usage instructions, without being too sparse or bloated.

    Completeness4/5

    The tool surface is nearly complete for the domain of icon access, covering listing, searching, and retrieving glyphs and usage. A minor gap is the lack of tools for managing icons (e.g., create, update, delete), but this may be intentional if the server is read-only, and core workflows are well-covered.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      This is a TypeScript-based MCP server that provides integration with ERPNext/Frappe API. It enables AI assistants to interact with ERPNext data and functionality through the Model Context Protocol.
      6
      131
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      heroicons-mcp is a Model Context Protocol (MCP) server that exposes Heroicons. It allows LLMs and agentic applications to search, list, and generate usage examples of icons in React applications.
      3
      6 npm
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      A basic TypeScript implementation of the Model Context Protocol (MCP) server designed as a starting point for MCP development. Provides a minimal foundation for building custom MCP servers with stdio configuration for local integration with VS Code and GitHub Copilot.
      1
      -
    • A
      license
      B
      quality
      Not graded
      maintenance
      A demonstration TypeScript MCP server that showcases basic MCP concepts with simple tools (greeting, calculator), text resources, and prompt templates for learning the Model Context Protocol.
      2
      MIT