Operations integration
Imagify MCP
WP MCP adds two ops on the theme dispatcher pair for Imagify. get-image-optimizer-status reads the imagify_settings option through an allowlist: the optimization level (normal, aggressive or smart), whether uploads are optimized automatically, whether backups are kept, and whether Imagify converts to WebP or AVIF. It reports whether an API key is set, from the settings or the IMAGIFY_API_KEY constant, never the key itself. It counts library images and how many Imagify has marked optimized or already optimized in its own per-image status. Imagify keeps no quota on the site, so the quota field is null rather than a call to Imagify. optimize-attachment starts Imagify's own optimization process for one image, which Imagify finishes on its servers, so the call answers status queued. The attachment row, its meta and its files are backed up first and new WebP or AVIF paths are recorded, so rollback-operation puts the originals back and deletes those copies; the undo works on this site only and does not contact Imagify. The write is off until a site opts in with the wpmcp_enable_image_optimizer_write filter or its settings toggle. Both ops run at manage_options.
What your AI can do
Real Imagify operations, every write reversible.
- Read Imagify's optimization level, auto-optimize and backup settings
- See whether Imagify converts to WebP or AVIF
- Check that an API key is set, in settings or a constant, without seeing it
- Count images Imagify has optimized and how many are pending
- Send one image to Imagify (opt-in) and roll it back to the original files
Example prompts
Example Imagify prompts.
Is Imagify on smart compression, and is it making AVIF files?
How many images has Imagify not optimized yet?
Run Imagify on media 2041 and tell me what it says.
Under the hood
The Imagify calls, under the hood.
theme-read({ operation: "get-image-optimizer-status", args: { plugin: "imagify" } }), key shown as set or not
theme-write({ operation: "optimize-attachment", args: { media_id: 2041, plugin: "imagify" } }), opt-in; answers status queued
In the free plugin
The Imagify integration is in the free plugin.
The core Imagify tools ship in the free, GPL plugin with the full snapshot and undo engine, and no trial clock. Pro adds 133 more tools, including Elementor deep editing, the other page builders, the forms adapter pack and, for some integrations, extra operations. The pricing page lists what each tier includes.
Frequently asked
Imagify MCP: questions, answered.
Why does the status show no quota for Imagify?
Imagify does not cache its quota on the site, and WP MCP does not call Imagify's API from a status read, so the quota field is null.
Which images can it optimize?
JPEG, PNG, GIF and WebP images in the media library. Anything else is refused with not_an_image, and an image whose file is missing on disk is refused before anything runs.
Is the Imagify integration safe to try on a live site?
The write is off until you opt in, and each call backs up the attachment, its meta and its files first. If Imagify reports an error, everything is put back at once; otherwise rollback-operation restores the originals later.
Is there an AI agent for Imagify?
Yes, through WP MCP rather than Imagify itself. An agent you choose, such as Claude or Cursor, can read Imagify's optimization level, auto-optimize and backup settings. WP MCP is a separate plugin, not a built-in AI feature of Imagify.
Related integrations
More integrations for the same agent.
MCP for Smush
FreeOperations, 2 tools.
MCP for ShortPixel
FreeOperations, 2 tools.
MCP for EWWW Image Optimizer
FreeOperations, 2 tools.
MCP for WP Rocket
FreeOperations, 4 tools.
MCP for UpdraftPlus
FreeOperations, 2 tools.
MCP for Duplicator
FreeOperations, 1 tools.
Browse the full Integrations hub, or read more on the WordPress MCP plugin.