TinyPNG MCP by usefulapi

io.usefulapi由 usefulapi.io 发布官方发布者v1.23.4更新于 Nov 7, 2026

Compress, resize and convert images with TinyPNG by URL, and check this month's compression count.

发布方自己的服务:Ably MCP by usefulapi

已验证Streamable HTTP可网页运行文件与存储媒体与设计

概览

AI 生成的概览

托管式 TinyPNG 服务器,让助手按 URL 压缩图片、调整尺寸或转换格式、下载结果,并查看本月压缩用量。

可以做什么
  • 按 URL 压缩公开图片(JPEG、PNG、WebP、AVIF、JPEG XL),返回输出地址与节省比例
  • 对已压缩的图片调整尺寸、转换格式或保留元数据
  • 下载压缩后的图片,并返回类型、大小与尺寸
  • 查询该密钥本月已用压缩次数以及密钥是否有效
  • 管理订阅:查看套餐、通过付款链接升级、取消 Pro
适用场景
适合让助手在不安装本地工具的情况下压缩、缩放或转换网络图片,并随时掌握 TinyPNG 配额。适用于偶尔的商品图或横幅优化任务。
运行要求
远程端点 tinypng.usefulapi.io/mcp,无需本地安装。配置时只填 URL,服务器通过 OAuth 登录,登录页会要求填写 TinyPNG 凭据。需要 TinyPNG(Tinify)API 密钥;免费套餐每月 50 次工具调用。
安装前请注意
压缩与转换工具属于写入操作并消耗配额,服务器会在更改数据前请求确认。图片由 TinyPNG 按 URL 抓取,因此图片地址会提供给该第三方。付费套餐通过 Stripe 结账链接付款,取消 Pro 当期不退款。服务器说明中提到的用量状态、功能请求、升级、取消等工具未出现在清单中。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.usefulapi%2Ftinypng/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "tinypng-by-usefulapi": {
      "type": "http",
      "url": "https://tinypng.usefulapi.io/mcp"
    }
  }
}

README

TinyPNG MCP by usefulapi

Use TinyPNG from Claude, Cursor, or any MCP client — compress an image by URL, resize or convert the result (WebP, AVIF, PNG, JPEG), download it, and check how many compressions your key used this month. Hosted, no local install: connect with your own TinyPNG credentials.

Live endpoint: https://tinypng.usefulapi.io/mcp · Homepage: https://usefulapi.io/tinypng

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://tinypng.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http tinypng https://tinypng.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "tinypng": {      "url": "https://tinypng.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your TinyPNG credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/tinypng/

Tools

ToolTypeWhat it does
tinypng_compress_imagewriteCompress an image from a URL
tinypng_transform_imagewriteResize, convert or keep metadata of a compressed image
tinypng_download_imagereadDownload a compressed image
tinypng_get_usagereadGet compression usage this month
tinypng_usage_statusmetaUsage status (free-tier meter)
tinypng_request_featuremetaRequest a missing feature
tinypng_upgrademetaUpgrade to Pro or Pro+
tinypng_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro (per API key)$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with tinypng_upgrade (it returns a Stripe Checkout link). Cancel any time with tinypng_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running tinypng_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT © usefulapi. Not affiliated with or endorsed by TinyPNG.

来源:servers/tinypng/README.md,提交 4046075

工具

4

tinypng_compress_image

Compress an image from a URL

WRITE (uses quota): ask TinyPNG (Tinify) to fetch a public image by URL and compress it (JPEG, PNG, WebP, AVIF or JPEG XL). Returns the output_url (Tinify's Location address of the compressed image), the compressed size and type, the savings when the input size is known, and the Compression-Count header (compressions used this month). The image is stored by Tinify for about 48 hours; output_url needs your API key, so use tinypng_download_image to get the bytes and tinypng_transform_image to resize, convert or keep metadata. Each compression counts against the monthly quota of your Tinify API key (the free plan includes 500 per month); resizing and converting count one extra compression each. POST /shrink.

输入参数url必填

tinypng_transform_image

Resize, convert or keep metadata of a compressed image

WRITE (uses quota): apply a resize, a format conversion and/or metadata preservation to an image compressed earlier (the output_url from tinypng_compress_image, valid about 48 hours). Returns the resulting type, byte size, width, height and Compression-Count; the image itself is returned too when include_image is true and it is under 1 MB. Resize: method scale (give width OR height), or fit / cover / thumb (give width AND height); images are never scaled up. Convert: one or more of image/webp, image/jpeg, image/png, image/avif, image/jxl (several = the smallest is returned) or */* (the smallest of WebP, JPEG, PNG); converting a transparent image to JPEG needs a background colour. Preserve: copyright, creation, location (location is JPEG only) keeps that metadata, which makes the file slightly larger. Each call is a fresh request: resize and convert each count one extra compression on your monthly Tinify quota, preserve is free. Tinify returns the bytes only (no new URL), so only include_image gives you the transformed file, and only when it is under 1 MB. POST /output/{id}.

输入参数preservebackgroundconvert_tooutput_url必填resize_widthinclude_imageresize_heightresize_method

tinypng_download_image

Download a compressed image

Fetch the compressed image of an earlier tinypng_compress_image (its output_url, valid about 48 hours) and return it as an image with its type, byte size, width and height. Images over 1 MB are described but not returned inline. Downloading does not use extra compression quota. GET /output/{id}.

输入参数output_url必填

tinypng_get_usage

Get compression usage this month

How many compressions your Tinify API key has used this calendar month (the Compression-Count header), and whether the key is valid. The check sends an empty request that Tinify refuses, so nothing is compressed and no quota is used. Compare with your Tinify plan (the free plan includes 500 per month). POST /shrink with no body.

无需输入参数。

版本历史

19
  1. v1.23.4最新Nov 7, 2026
  2. v1.22.3Nov 5, 2026
  3. v1.22.2Nov 5, 2026
  4. v1.22.1Nov 4, 2026
  5. v1.22.0Nov 3, 2026
  6. v1.21.1Nov 3, 2026
  7. v1.20.0Nov 1, 2026
  8. v1.18.0Oct 31, 2026
  9. v1.17.0Oct 31, 2026
  10. v1.16.2Oct 30, 2026
  11. v1.16.0Oct 30, 2026
  12. v1.11.0Oct 26, 2026
  13. v1.8.3Oct 25, 2026
  14. v1.8.0Oct 25, 2026
  15. v1.7.0Oct 24, 2026
  16. v1.4.0Oct 23, 2026
  17. v1.3.4Oct 22, 2026
  18. v1.3.3Oct 21, 2026
  19. v1.0.0Oct 12, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Usefulapi 集成