MCP.so
登录

Tinypng MCP Server

@aiyogg

基本信息

分类

其他

许可证

Apache-2.0

传输方式

stdio

作者

aiyogg

关于 Tinypng MCP Server

🧙🏻 Integrated TinyPNG MCP server, quickly use TinyPNG through LLMs.

Tinypng MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "tinypng-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@aiyogg/tinypng-mcp-server",
        "--client",
        "claude"
      ]
    }
  }
}

Tinypng MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Tinypng Mcp Server?

Tinypng Mcp Server is a Model Context Protocol server that integrates with the TinyPNG API to compress local and remote image files. It is designed for developers using AI assistants that support MCP.

How to use Tinypng Mcp Server?

Install dependencies (pnpm i), build (pnpm build), then configure the mcp.json file with the command (bun or node), args pointing to the server entry, and the TINYPNG_API_KEY environment variable. Alternatively, install automatically via Smithery: npx -y @smithery/cli install @aiyogg/tinypng-mcp-server --client claude.

Key features of Tinypng Mcp Server

  • Compress local images via absolute file paths
  • Compress remote images via URLs
  • Optionally specify output path and output format
  • Supports multiple image formats (enum SUPPORTED_IMAGE_TYPES)
  • Lightweight setup with bun or node

Use cases of Tinypng Mcp Server

  • Compress user-uploaded images in a desktop app
  • Reduce image file sizes from a remote URL before download
  • Automate image optimization in a CI/CD pipeline
  • Batch compress images with an MCP‑compatible AI assistant

常见问题

1

How do I get a TinyPNG API key?

The README does not explain how to obtain an API key; you must have one to set in the `TINYPNG_API_KEY` environment variable.

2

What runtimes are required?

The server runs on Node.js or Bun. Both are supported via the `command` field in `mcp.json`.

3

Where are images sent for compression?

Images are sent to the TinyPNG API for compression. The server itself does not store images; the compressed file is saved to the path you specify.

4

What image formats are supported?

The server uses an enum called `SUPPORTED_IMAGE_TYPES`, but the exact list of formats is not provided in the README. Typical TinyPNG formats include PNG and JPEG.

5

Can I compress images without an API key?

No. A valid TinyPNG API key is required and must be provided in the environment configuration.

评论

其他 分类下的更多 MCP 服务器