MCP.so
ログイン

概要

What is Aiyogg_tinypng Mcp Server?

Aiyogg_tinypng Mcp Server is a Model Context Protocol (MCP) server that integrates with the TinyPNG API to compress both local and remote image files. It is built for developers using MCP-compatible clients (e.g., Claude Desktop) who need to reduce image file sizes programmatically.

How to use Aiyogg_tinypng Mcp Server?

Install dependencies and build with pnpm i && pnpm build, then configure the MCP client (e.g., mcp.json) with the command (bun or node), the path to the server entry point, and the TINYPNG_API_KEY environment variable. Alternatively, install automatically via Smithery using npx -y @smithery/cli install @aiyogg/tinypng-mcp-server --client claude. The server exposes two tools: compress_local_image and compress_remote_image.

Key features of Aiyogg_tinypng Mcp Server

  • Compress local image files via absolute path
  • Compress remote images by providing a URL
  • Option to specify output format (e.g., image/jpeg)
  • Supports bun and Node.js runtimes
  • Installs automatically via Smithery

Use cases of Aiyogg_tinypng Mcp Server

  • Compress images on a local machine before upload
  • Optimize remote images (e.g., from a CDN or API)
  • Batch image compression within an MCP‑enabled workflow
  • Integrate image optimization into a Claude Desktop assistant

FAQ from Aiyogg_tinypng Mcp Server

What does Aiyogg_tinypng Mcp Server do?

It provides tools to compress images using the TinyPNG API, supporting both local files and remote URLs.

What runtime is required?

The server can be run with either bun or node (after building with pnpm).

How do I configure the TinyPNG API key?

Set the TINYPNG_API_KEY environment variable in your MCP client’s configuration file (e.g., mcp.json).

Which image formats are supported for output?

The outputFormat parameter accepts values from SUPPORTED_IMAGE_TYPES (not enumerated in the README, but typically JPEG, PNG, etc.).

Can I compress a remote image without downloading it first?

Yes, the compress_remote_image tool accepts a URL and compresses the image directly from the web.

タグ

「その他」の他のコンテンツ