Compress Webflow CMS images with AI
Convert the main picture or gallery on one CMS item, choose the quality and see the size difference. Confirmation covers uploading the assets and publishing that item.
To compress Webflow CMS images with AI, point webflow-mcp:compress-cms-image at one collection item and name its image fields. Imagine an editor replacing three gallery photos in a venue listing. They can select the gallery alone, choose WebP and inspect the plan before any files move. Existing WebP pictures are skipped unless the editor explicitly requests another conversion.
The agent downloads selected pictures to a temporary folder, converts them locally and uploads the results using Webflow’s signed storage route. It then updates and publishes the item. The report compares sizes and identifies skipped or failed files. Original assets stay in the site's library, so editors can still locate the previous pictures.
What it does
- Convert one image field or several gallery entries.
- Choose WebP or AVIF and set a quality level.
- Leave images that already match the target format alone.
- Compare original and converted file sizes.
- Identify uploads that succeeded before a later update failed.
Install and use
- Install the Webflow skill package in a supported host. Connect Webflow MCP with asset and CMS publishing access. The local conversion needs curl, Python and Pillow, with AVIF support if selected.
- Ask “Convert the gallery on this venue listing to WebP at quality 85. Show me the files first.” Include the collection and item identifiers.
- Check the preview. Typing confirm authorises the conversion, upload, field update and publication of the item.
FAQ
Source
Made by Webflow. Original skill: webflow-mcp:compress-cms-image, published on GitHub under the MIT licence.
View on GitHub