- Explore MCP Servers
- tinypng-mcp-server
Tinypng Mcp Server
What is Tinypng Mcp Server
tinypng-mcp-server is a server designed to integrate with TinyPNG, providing an efficient way to compress images using the TinyPNG API.
Use cases
Use cases include optimizing images for websites, reducing image sizes for mobile applications, and automating image compression in content management systems.
How to use
To use tinypng-mcp-server, set up the server environment, configure the necessary API keys, and send image files to the server for compression via the provided endpoints.
Key features
Key features include seamless integration with TinyPNG, support for batch image processing, and the ability to handle various image formats.
Where to use
tinypng-mcp-server can be used in web applications, mobile apps, and any platform that requires image optimization to enhance performance and reduce loading times.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Tinypng Mcp Server
tinypng-mcp-server is a server designed to integrate with TinyPNG, providing an efficient way to compress images using the TinyPNG API.
Use cases
Use cases include optimizing images for websites, reducing image sizes for mobile applications, and automating image compression in content management systems.
How to use
To use tinypng-mcp-server, set up the server environment, configure the necessary API keys, and send image files to the server for compression via the provided endpoints.
Key features
Key features include seamless integration with TinyPNG, support for batch image processing, and the ability to handle various image formats.
Where to use
tinypng-mcp-server can be used in web applications, mobile apps, and any platform that requires image optimization to enhance performance and reduce loading times.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
MCP server for TinyPNG
Usage
Use bun or node to run the server
- Install dependencies and build
pnpm i pnpm build
- Edit the
mcp.jsonfile
Installing via Smithery
To install TinyPNG MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @aiyogg/tinypng-mcp-server --client claude
Tools
- Compress local image
{
name: 'compress_local_image',
description: 'Compress a local image file',
inputSchema: {
type: 'object',
properties: {
imagePath: {
type: 'string',
description: 'The ABSOLUTE path to the image file to compress',
example: '/Users/user/Downloads/image.jpg',
},
outputPath: {
type: 'string',
description: 'The ABSOLUTE path to save the compressed image file',
example: '/Users/user/Downloads/image_compressed.jpg',
},
outputFormat: {
type: 'string',
description: 'The format to save the compressed image file',
enum: SUPPORTED_IMAGE_TYPES,
example: 'image/jpeg',
},
},
required: ['imagePath'],
},
}
- Compress remote image
{
name: 'compress_remote_image',
description: 'Compress a remote image file by giving the URL of the image',
inputSchema: {
type: 'object',
properties: {
imageUrl: {
type: 'string',
description: 'The URL of the image file to compress',
example: 'https://example.com/image.jpg',
},
outputPath: {
type: 'string',
description: 'The ABSOLUTE path to save the compressed image file',
example: '/Users/user/Downloads/image_compressed.jpg',
},
outputFormat: {
type: 'string',
description: 'The format to save the compressed image file',
enum: SUPPORTED_IMAGE_TYPES,
example: 'image/jpeg',
},
},
required: ['imageUrl'],
},
}
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.











