tinypng-mcp-server
by aiyogg
This is an MCP (Multi-Client Protocol) server for TinyPNG, allowing you to compress images. It can be used with tools like Smithery and Claude Desktop to compress both local and remote images.
Last updated: N/A
What is tinypng-mcp-server?
The tinypng-mcp-server is a server that provides image compression capabilities using the TinyPNG API. It's designed to be integrated with other tools via the Multi-Client Protocol (MCP).
How to use tinypng-mcp-server?
- Install dependencies and build the server using
pnpm iandpnpm build. 2. Configure themcp.jsonfile with the path to the server's entry point and your TinyPNG API key. 3. Run the server usingbunornode. 4. Alternatively, install via Smithery using the providednpxcommand.
Key features of tinypng-mcp-server
Compress local images
Compress remote images
Integration with Smithery
Integration with Claude Desktop
Configurable output format
Use cases of tinypng-mcp-server
Automated image optimization workflows
Integrating image compression into desktop applications
Reducing image file sizes for web applications
Compressing images directly from Claude Desktop
Batch image processing
FAQ from tinypng-mcp-server
What is an MCP server?
What is an MCP server?
MCP stands for Multi-Client Protocol server. It allows different clients to interact with the server using a defined protocol.
Do I need a TinyPNG API key?
Do I need a TinyPNG API key?
Yes, you need a TinyPNG API key to use this server. You can obtain one from the TinyPNG website.
What image formats are supported?
What image formats are supported?
The supported image types are defined by the SUPPORTED_IMAGE_TYPES enum, but the README doesn't explicitly list them.
How do I specify the output format?
How do I specify the output format?
You can specify the output format using the outputFormat property in the input schema for both compress_local_image and compress_remote_image tools.
Can I use this server without Smithery?
Can I use this server without Smithery?
Yes, you can run the server directly using bun or node as described in the Usage section.