Image

io.github.rog0x由 GitHub 账号 rog0x 发布v1.0.1更新于 Oct 24, 2026

Image metadata, favicon, OG image for AI agents

概览

AI 生成的概览

让助手检查图片元数据、查找网站图标,并从网址提取 Open Graph 或 Twitter 卡片图片。

可以做什么
为 AI 助手提供图片分析工具,侧重元数据检查而非图片处理。image_metadata 通过 HTTP 头从网址读取 content-type、文件大小、last-modified、etag 和缓存信息,无需下载完整图片。find_favicons 会检查 /favicon.ico、解析 HTML 的 link 标签并查看 manifest.json,列出发现的图标及其尺寸和类型。extract_og_image 提取 Open Graph、Twitter 卡片和 Apple touch 图标网址,用于生成链接预览;generate_placeholder 和 responsive_images 则生成占位图网址以及 srcset 或 picture 标记。
适用场景
适合助手需要描述或预览网页图片、收集网站图标或社交预览图,或生成占位图与响应式图片标记的场景。它面向链接预览、SEO 和前端资源类任务,而不是编辑或转换图片文件。
运行要求
作为本地 stdio 进程在用户机器上运行,通过 npm 包 @rog0x/mcp-image-tools 安装,并用 npm install 和 npm run build 构建。仅支持桌面端,且需要网络访问目标网址和 placehold.co API。未声明任何身份验证、环境变量或请求头。
安装前请注意
这些工具会抓取远程网址和页面 HTML,因此目标网站和 placehold.co API 会看到来自用户机器的请求。generate_placeholder 依赖第三方服务,其可用性和输出不受用户控制。未声明任何凭据、付款或写入操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Image,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mcp-image-tools

MCP server providing image analysis tools for AI agents. Metadata inspection only -- no image processing or manipulation.

Tools

image_metadata

Read image metadata from a URL using HTTP headers. Returns content-type, file size, last-modified, etag, and cache info without downloading the full image.

find_favicons

Find all favicons for any website. Checks /favicon.ico, parses HTML <link> tags, and inspects manifest.json. Returns all discovered favicons with sizes and types.

extract_og_image

Extract Open Graph image, Twitter card image, and Apple touch icon from any URL. Useful for generating link previews.

generate_placeholder

Generate placeholder image URLs via the placehold.co API. Supports custom dimensions, colors, text, format, and font. Returns the URL plus ready-to-use HTML and Markdown markup. Can generate multiple sizes at once.

responsive_images

Generate srcset and <picture> element HTML for responsive images. Given a base image URL, produces multiple size variants with proper markup for responsive design, including multi-format <source> elements.

Setup

bash
npm installnpm run build

Usage with Claude Desktop

Add to your Claude Desktop config:

json
{  "mcpServers": {    "image-tools": {      "command": "node",      "args": ["path/to/mcp-image-tools/dist/index.js"]    }  }}

License

MIT

来源:README.md,提交 81f4ade

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。