yooztech-mcp-fontawesome-icons

v0.0.2
yooztech-mcp-fontawesome-icons Checked 3 days ago Published 4 months ago

MCP server: Font Awesome 6 free icons search and PNG export

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

fontawesome_search_icons

根据关键词搜索 Font Awesome 6 免费版图标(名称 / 标签 / 搜索词)。 参数: - query: 搜索关键词(英文描述、场景词或图标名,如 home、edit、user) - max_results: 最多返回条数,默认 5,最大 20 返回: - success: 是否成功 - count: 命中数量 - icons: 列表,每项含 name、label、unicode、styles

ParameterTypeDescription
query *string
max_resultsinteger

fontawesome_export_png

将指定 Font Awesome 免费图标导出为 PNG(数据来自 icons.json 内嵌 SVG)。 参数: - icon_name: 图标名称(如 home、pen-to-square) - size: 边长像素,默认 64,范围 8–512 - style: solid / regular / brands,不传则自动在免费样式中选(优先 solid) - output_path: 输出 PNG 完整路径;不传则写入 ./tmp/fontawesome_<name>_<size>_<timestamp>.png 返回: - success: 是否成功 - png_path: 生成文件路径(成功时) - name / label / style_used: 实际使用的图标与样式 依赖:推è…

ParameterTypeDescription
icon_name *string
output_path
sizeinteger
style

fontawesome_search_and_export

搜索关键词并对每个命中图标导出 PNG(行为接近原 fontawesome-icons skill)。 参数: - query: 搜索关键词 - size: PNG 边长,默认 64 - max_results: 最多导出几个图标,默认 5,最大 10 - output_dir: 输出目录,默认 ./tmp 返回: - success: 是否至少成功一个 - exported: 列表,每项含 name、label、png_path(失败项含 error) - notes: 说明

ParameterTypeDescription
query *string
max_resultsinteger
output_dir
sizeinteger