Skip to main content

yooztech_mcp_fontawesome_icons —— Font Awesome 图标 MCP 工具

基于 MCP (Model Context Protocol) 的 Font Awesome 6 免费版图标能力:按关键词搜索图标,并将内嵌 SVG 渲染为 PNG(对应原 skills/fontawesome-icons 技能,不依赖 Node/OpenClaw)。

功能概述

  • fontawesome_search_icons(query, max_results):按名称 / 标签 / 搜索词查找图标
  • fontawesome_export_png(icon_name, size, style, output_path):导出单个图标为 PNG
  • fontawesome_search_and_export(query, size, max_results, output_dir):搜索并对每条结果导出 PNG(接近原 skill 的「搜索 + 出图」流程)

数据来源:随包附带 icons.json(与技能中 assets/mappings/icons.json 同源),PNG 由内嵌 SVG 生成,无需再打包数千个独立 SVG 文件。

在 Cursor 中配置

{
  "mcpServers": {
    "yooztech_mcp_fontawesome_icons": {
      "command": "yooztech_mcp_fontawesome_icons",
      "args": []
    }
  }
}

或使用 uvx(需已发布或可本地路径安装)。

系统依赖(PNG 渲染)

  • 推荐cairosvg(已写在 pyproject.toml)+ 系统 libcairo
    • Debian/Ubuntu:sudo apt-get install -y libcairo2-dev
    • macOS(Homebrew):brew install cairo
  • 备选:已安装 ImageMagick,且 convert 命令可用时,会作为回退路径。

开发安装

cd mcp_fontawesome_icons
pip install -e .
yooztech_mcp_fontawesome_icons

许可证

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yooztech_mcp_fontawesome_icons-0.0.2.tar.gz (639.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yooztech_mcp_fontawesome_icons-0.0.2-py3-none-any.whl (646.2 kB view details)

Uploaded Python 3

File details

Details for the file yooztech_mcp_fontawesome_icons-0.0.2.tar.gz.

File metadata

File hashes

Hashes for yooztech_mcp_fontawesome_icons-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e269d86004b255357802e86c40e5a3dc328172e92aab6305b8c96947c654fdb4
MD5 653a51df43c9722571dffa090948ddcb
BLAKE2b-256 e61520ee61ab85b9d3ad7ea4dd5fd98f6861572998b33f0e5a938723b6225b41

See more details on using hashes here.

File details

Details for the file yooztech_mcp_fontawesome_icons-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for yooztech_mcp_fontawesome_icons-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7397b0d94ab6de91916c584ea6dbce2e1c3fb5e305671d2b8f5cd9eedee17570
MD5 cd119a305055fb507f21d527bf100fe2
BLAKE2b-256 a5d8247d1ffd0425d5b724ca7faf3487aa8ebbf3b4ceaafc9d66776b8c2f1082

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page