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 整合