Tinypng Mcp Server
@aiyogg
About Tinypng Mcp Server
🧙🏻 Integrated TinyPNG MCP server, quickly use TinyPNG through LLMs.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"tinypng-mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@aiyogg/tinypng-mcp-server",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
FAQ from Tinypng Mcp Server
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.
What runtimes are required?
The server runs on Node.js or Bun. Both are supported via the command field in mcp.json.
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.
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.
Can I compress images without an API key?
No. A valid TinyPNG API key is required and must be provided in the environment configuration.
Frequently asked questions
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.
What runtimes are required?
The server runs on Node.js or Bun. Both are supported via the `command` field in `mcp.json`.
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.
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.
Can I compress images without an API key?
No. A valid TinyPNG API key is required and must be provided in the environment configuration.
Basic information
More Other MCP servers
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Comments