webp-batch-mcp

mhe8mah/webp-batch-mcp

3.3

If you are the rightful owner of webp-batch-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The WebP Batch Converter is a Model Context Protocol (MCP) server designed for batch converting images to the WebP format, offering cross-platform support and seamless integration with MCP-aware IDEs like Cursor.

The WebP Batch Converter is a powerful tool for developers and designers who need to convert large batches of images into the WebP format, which is known for its superior compression and quality retention. This server supports multiple platforms including macOS, Linux, and Windows, ensuring that users can leverage its capabilities regardless of their operating system. The converter is designed to be fast and efficient, utilizing multi-threaded processing to handle conversions quickly. It offers flexible options such as quality control, lossless mode, and metadata preservation, allowing users to tailor the conversion process to their specific needs. The server also provides detailed reporting on file sizes and savings statistics, giving users insight into the efficiency of their conversions. With dual engine support, it prioritizes Google's cwebp tool for optimal performance but can fall back to Sharp for cross-platform compatibility. Integration with MCP allows for enhanced functionality in AI-powered development environments.

Features

  • Batch conversion of PNG, JPG, and JPEG files to WebP
  • Cross-platform support for macOS, Linux, and Windows
  • Multi-threaded processing for fast conversions
  • Flexible options including quality control and metadata preservation
  • Dual engine support with Google's cwebp and Sharp

Usages

usage with cursor

{
  "mcpServers": {
    "webp-batch": {
      "command": "node",
      "args": ["/path/to/webp-batch-mcp/dist/server.js"]
    }
  }
}

Tools

  1. convert_to_webp

    Converts images to WebP format with various options for quality, lossless mode, and metadata preservation.