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

许可证

Metadata

Release files for yooztech-mcp-fontawesome-icons 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yooztech-mcp-fontawesome-icons 0.0.2
File Size Uploaded Provenance
yooztech_mcp_fontawesome_icons-0.0.2.tar.gz 639.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yooztech-mcp-fontawesome-icons 0.0.2
File Interpreter ABI Platform
yooztech_mcp_fontawesome_icons-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / yooztech_mcp_fontawesome_icons-0.0.2.tar.gz

Download URL yooztech_mcp_fontawesome_icons-0.0.2.tar.gz
Size 639.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e269d86004b255357802e86c40e5a3dc328172e92aab6305b8c96947c654fdb4
BLAKE2b-256 checksum
How to use checksums
e61520ee61ab85b9d3ad7ea4dd5fd98f6861572998b33f0e5a938723b6225b41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.7

Release files / yooztech_mcp_fontawesome_icons-0.0.2-py3-none-any.whl

Download URL yooztech_mcp_fontawesome_icons-0.0.2-py3-none-any.whl
Size 646.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7397b0d94ab6de91916c584ea6dbce2e1c3fb5e305671d2b8f5cd9eedee17570
BLAKE2b-256 checksum
How to use checksums
a5d8247d1ffd0425d5b724ca7faf3487aa8ebbf3b4ceaafc9d66776b8c2f1082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.7

Security for yooztech-mcp-fontawesome-icons 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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