← Back to Tools Reference
Download Plugin
wp_list_media
Read-onlyDescription
Use this tool to browse your WordPress media library. Your AI can filter by file type (images, video, documents), search by keyword, or retrieve files uploaded within a date range. This is the typical first step before assigning a featured image or embedding existing media in new content.
See it in action
Claude Desktop — MCP Connection
👤
Show me all images uploaded in the last 30 days.
🤖
Calling Tool: wp_list_media
Done! I've used wp_list_media to complete that for you.
{"status": "success"} Example Use Cases & Sample Prompts
- Finding recent uploads
- Prompt: “List all media uploaded in the last 7 days.”
- Image-only audit
- Prompt: “List all images in the media library uploaded before 2023 so I can review what to clean up.”
- PDF catalog
- Prompt: “Show me all PDFs currently in the media library.”
- Finding unattached media
- Prompt: “List all media items that are not attached to any post or page.”
- Storage audit
- Prompt: “How many total media files do I have? List the most recent 20.”
Access this tool today
Install the Easy MCP AI plugin to securely expose wp_list_media to Claude, ChatGPT, and more.