Skip to content

Virtual Media Folders - AI Ability

Exposes Virtual Media Folders operations as WordPress Abilities API tools for AI agents and MCP adapters.

Description | Requirements | Installation | MCP Integration | Tutorials | Changelog

This add-on for Virtual Media Folders registers folder management, rules, media cleanup, ZIP export, and AI-powered batch organisation as WordPress Abilities API tools, making them available to AI agents and MCP (Model Context Protocol) adapters.

Add-on abilities are registered automatically when the corresponding add-on plugin is active — no extra configuration required.

AbilityDescription
vmfo/list-foldersList folders with IDs, names, paths, and counts
vmfo/create-folderCreate a folder with an optional parent
vmfo/add-to-folderAssign one or more media items to a folder
vmfo/update-folderRename or move a folder
vmfo/delete-folderDelete a folder
vmfo/remove-from-folderRemove one or more media items from a folder
vmfo/get-suggestionsGet AI-powered folder suggestions for a media item
AbilityDescription
vmfo-rules/list-rulesList all folder-assignment rules
vmfo-rules/create-ruleCreate an automatic folder-assignment rule
vmfo-rules/update-ruleUpdate an existing rule
vmfo-rules/delete-ruleDelete a rule
vmfo-rules/previewPreview which media a rule would match (dry run)
vmfo-rules/applyApply rules to existing media
AbilityDescription
vmfo-cleanup/start-scanStart a background scan for unused, duplicate, or oversized media
vmfo-cleanup/get-scan-statusGet current scan progress
vmfo-cleanup/cancel-scanCancel the running scan
vmfo-cleanup/get-statsGet dashboard statistics from the last scan
vmfo-cleanup/list-resultsList paginated scan results by type
vmfo-cleanup/archiveMove media to an archive folder
vmfo-cleanup/trashMove media to the WordPress trash
vmfo-cleanup/deletePermanently delete media and files from disk
AbilityDescription
vmfo-folder-exporter/start-exportStart an async ZIP export of a folder
vmfo-folder-exporter/get-export-statusGet the status of an export job
vmfo-folder-exporter/list-exportsList all recent export jobs
vmfo-folder-exporter/delete-exportDelete an export job and its ZIP file
AbilityDescription
vmfo-ai-organizer/start-scanStart an AI-powered batch folder-assignment scan
vmfo-ai-organizer/get-scan-statusGet current scan progress
vmfo-ai-organizer/cancel-scanCancel the running scan
  1. Download vmfa-ai-ability.zip
  2. Upload via Plugins → Add New → Upload Plugin
  3. Activate via WordPress Admin → Plugins

Once activated, all abilities are automatically exposed to MCP adapters. See:

  • docs/mcp.md — authentication, endpoint, and client configuration (Claude, GitHub Copilot, Cursor)
  • docs/README.md — full ability reference
LevelTutorial
101Upload & Organise a Photo
201Detect & Clean Up Unused Media
301Automate Folder Assignment with Rules

See CHANGELOG.md.

GPL-2.0-or-later