Architecture

Files

Key methods

Hooks

Capability

Gated to upload_files rather than the LH-standard install_plugins default — deliberate, since this is a media-upload tool for any user who can already upload files, not developer/admin tooling. The MCP ability uses the same capability as the manual form, not edit_posts, so a Contributor who cannot upload in wp-admin cannot upload through MCP either.

Database / cron

No custom database tables. No cron jobs. The only persistent data is the _lh_copy_from_url-original_file post meta on each created attachment.

Notes