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
Google Forms MCP
A Model Context Protocol server for Flux image generation, providing tools for image generation, manipulation, and control
A Model Context Protocol (MCP) server that connects Claude to Anki. This integration allows you to create and...
MCP server for interacting with the Aseprite API
MCP Tools for Jehovah's Witnesses
Press the . key on any repo
An MCP server for querying the USGS Earthquake API with natural language
An MCP server that provides safe access to your iMessage database through Model Context Protocol (MCP). This server...
A MCP server to search for accurate academic articles.
Pre-trained Deep Learning models and samples (high quality and extremely fast)
A Model Context Protocol (MCP) server to enable AI tools to interact with Gradle projects programmatically.





