MCP Content Media
Product page
Description
Browse indexed images in the Magento Media Gallery and retrieve their metadata for use in CMS content.
For whom
For content editors selecting gallery images for pages and blocks.
Features
- List indexed images with
kowal_content_media/list. - Inspect an image by asset ID with
get. - Discover folders containing indexed assets with
list_folders.
Installation
This component is included in Kowal MCP Server. Follow the suite installation instructions.
Configuration
- Enable
Kowal_McpContentMediawithMagento_MediaGalleryandMagento_MediaGalleryApi. - Grant the read action,
scope_store_Nfor the desired view and a folder scope. Choosescope_folder_mcpfor wysiwyg/mcp and its descendants orscope_folder_wysiwygfor the wider tree. - Pass the store ID and folder to
list. For the next page, pass the returnednext_after_idasafter_id.
Requirements / notes
The gallery is shared. The store view determines the media URL returned to the client.
FAQ
Why is an existing folder missing?
Folder discovery shows folders with indexed assets beneath them. Check the authorized folder tree and whether the gallery indexes an image in that folder.
Verify the installation
bin/magento module:status Kowal_McpContentMedia
List a folder containing a known image. Use its asset ID, store ID and folder with get, then open the returned media URL to confirm the image.