Python
This server is a Multi-Command Processor (MCP) for compressing and resizing images using TinyPNG's API.
Capabilities:
- Compress local images by providing the absolute path
- Compress remote images from a URL
- Resize images by specifying width, height, and method (scale, fit, cover, thumb)
- Save compressed/resized images to a specified output path
- Convert between formats (JPEG, PNG, WebP, AVIF)
- Optionally preserve metadata (copyright, creation, location) during compression
Can use Bun as a runtime environment to execute the MCP server
MCP server for TinyPNG
Usage
Use bun
or node
to run the server
- Install dependencies and build
- Edit the
mcp.json
file
Installing via Smithery
To install TinyPNG MCP Server for Claude Desktop automatically via Smithery:
Tools
- Compress local image
- Compress remote image
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
test-1
Related Resources
Related MCP Servers
- PythonMIT License
- PythonMIT License