WebP Conversion MCP Server
This project is a Model Context Protocol (MCP) server that converts image files to WebP format.
Features
- Convert PNG, JPG, and JPEG files to WebP
- Support for single image or batch image conversion
- Option to configure quality and lossless compression
- Option to keep original files
- Provides a detailed report of the conversion result
Installation & Execution
npx -y @xoy8n/webp-converter@latest
Cursor mcp.json Configuration
{
"mcpServers": {
"webp-converter": {
"command": "npx",
"args": ["-y", "@xoy8n/webp-converter@latest"]
}
}
}
MCP Tool List
1. convert_to_webp
Converts a single image file to WebP format.
Parameters:
image_path: Path to the image file to convertbase_path: Base directory pathquality: WebP quality setting (default: 80)lossless: Whether to use lossless compression (default: false)keep_original: Whether to retain the original file (default: false)
Returns:
- Conversion success status
- Input/output file paths
- File size before/after conversion
- Applied quality and compression settings
2. batch_convert_to_webp
Converts multiple image files to WebP format in one go.
Parameters:
image_paths: Array of paths to image files to convertbase_path: Base directory path (optional)quality: WebP quality setting (default: 80)lossless: Whether to use lossless compression (default: false)keep_original: Whether to retain the original files (default: false)
Returns:
- Array of conversion results for each image file
How to Use
- Select the image files you want to convert.
- Run the
convert_to_webporbatch_convert_to_webpcommand via the MCP tools. - Check the conversion results.
License
MIT
WebP Converter
Project Details
- xoy8n/webp-converter
- Last Updated: 4/24/2025
Recomended MCP Servers
An MCP server that installs other MCP servers for you
MCP server for interacting with Manifold Markets prediction markets
An MCP tool for deep git file-level forensics that helps get detailed insights into file histories, changes, and...
An experimental open-source attempt to make GPT-4 fully autonomous.
Tiny MCP server with cryptography tools, sufficient to establish end-to-end encryption between LLM agents
Schwab MCP server that enables AI assistants like Claude to retrieve and interact with your Schwab accounts and...
An MCP server to allow you to debug webpages using LLMs
A Python server that bridges Large Language Models (LLMs) and Firebase Firestore using the Model Context Protocol (MCP)....
python mcp LINE





