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
{
"mcpServers": {
"tinypng": {
"command": "bun", // or "node"
"args": ["/path/to/tinypng-mcp-server/src/index.ts"], // or "dist/index.js"
"env": {
"TINYPNG_API_KEY": "your-tinypng-api-key"
}
}
}
}
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'],
},
}
test-1
by zhendi
210
Project Details
- zhendi/tinypng-mcp-server
- Apache License 2.0
- Last Updated: 4/2/2025
Recomended MCP Servers
🧩
Nornir Network Automation Server
Nornir MCP Server
GPTers AI Knowledge Search Server
GPTers AI 스터디 커뮤니티의 지식을 검색할 수 있는 MCP 서버입니다.
GitHub
GitHub's official MCP Server
🧩
Palo Alto Objects Management
🧩
Marginalia
An MCP server implementation for managing marginalia and annotations
🧩
mcp-installer
An MCP server that installs other MCP servers for you
Ethers Wallet
A full implementation of Ethers as an AI tool for the model context protocol
DeepSeek MCP Server
Model Context Protocol server for DeepSeek's advanced language models
🧩
KaiaFun MCP
🐍 ☁️ An MCP server for listing and trading tokens on KaiaFun and interacting with the Kaia blockchain
🧩
SQLite Server
Implementation of an MCP (Model Context Protocol) Server for SQLite. It provides an AI model with context and...
Magic Meal Kits
🧩
Coinmarket Server





