WebP Batch Converter

WebP Batch Converter is an MCP server that provides batch conversion of PNG, JPG, and JPEG images to WebP format directly through Model Context Protocol interfaces. It connects local image processing engines to AI-enabled development environments, functioning primarily with Google's cwebp utility and falling back to the Node.js Sharp library when necessary. Developers, web designers, and content managers use this server to optimize website assets, reduce media storage footprints, and automate web image preparation through natural language commands in AI assistants. By exposing the convert_to_webp tool, the server enables users to adjust compression quality levels from 0 to 100, toggle lossless encoding for graphics, and preserve EXIF and ICC metadata. It supports multi-threaded processing utilizing available CPU cores to handle large photo directories quickly, allowing users to choose between overwriting source assets, saving outputs side-by-side, or exporting converted files to a designated flat directory.

Category: Design, Media & Creative

Tags: batch-processing, conversion, image-processing, webp

Visit WebP Batch Converter

How to install and configure WebP Batch Converter

  1. Clone and build the project locally: bash git clone https://github.com/mhe8mah/webp-batch-mcp.git cd webp-batch-mcp npm install npm run build Alternatively, install globally via npm: bash npm install -g webp-batch-mcp 2. Open Cursor Settings and navigate to Features > MCP. 3. Add the server configuration to your settings: json { "mcpServers": { "webp-batch": { "command": "node", "args": ["/path/to/webp-batch-mcp/dist/server.js"] } } } 4. Restart Cursor to load the convert_to_webp tool.

What you can do with WebP Batch Converter

  • Converting entire project asset directories from PNG and JPEG formats to WebP to reduce website payload sizes. * Executing lossless image compression on graphic assets like UI icons and logos while overwriting the original files. * Exporting converted WebP images into a single flat distribution folder using multi-threaded execution for faster delivery. * Retaining sensitive EXIF and ICC color metadata during high-quality batch image compression for photographic assets.

Key facts

  • https://github.com/mhe8mah/webp-batch-mcp
  • Design, Media & Creative, Files, Documents & PDFs
  • batch-processing, conversion, image-processing, webp

Part of MCP Servers

Related MCP servers

  • MCP LaTeX Server — MCP LaTeX Server is an MCP server that provides tools for creating, editing, validating, and compiling LaTeX documents directly through…
  • MCP JSON — MCP JSON is an MCP server collection that bundles tools for file system operations, Google search, browser-based web automation, and…
  • MCP MD2PDF Server — MCP MD2PDF Server is an MCP server that enables automated conversion of Markdown documents into formatted PDF files with full…
  • MCP Media Processing Server — MCP Media Processing Server is an MCP server that connects AI assistants like Claude Desktop to local media manipulation utilities,…
  • MCP Knowledge Base — MCP Knowledge Base is an MCP server that processes local documents and answers queries based on their contents through similarity…
  • MCP Music Analysis — MCP Music Analysis is an MCP server that enables AI clients like Claude to inspect and process sound recordings using…

What can WebP Batch Converter do?

WebP Batch Converter converts folders containing PNG, JPG, and JPEG files into WebP format. It allows you to configure compression quality between 0 and 100, activate lossless mode for graphics, preserve EXIF and ICC metadata, control concurrency across CPU threads, and specify whether to replace source files or output them to a dedicated directory.

Which image processing engines does WebP Batch Converter use?

The server employs a dual-engine architecture. It prioritizes Google's native cwebp utility from libwebp-tools for optimal compression and speed. If cwebp is not available on the host system, it automatically falls back to Sharp, a pure Node.js image processing library.

Which MCP clients work with WebP Batch Converter?

It is designed to work with any MCP-compatible environment that supports local command execution, including Cursor and Claude Desktop. The documentation provides explicit setup instructions for adding the server to Cursor's MCP configuration.

Is WebP Batch Converter open source?

Yes, WebP Batch Converter is open source and licensed under the MIT License. The code and issue tracker are publicly accessible on GitHub.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories