wp_upload_media is one of 162 MCP tools included in Easy MCP AI — the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →wp_upload_media
DestructiveDescription
Most AI-to-WordPress workflows stall at media — the AI can write the content but has no way to get images into the library without you stepping in manually. wp_upload_media is the Easy MCP AI tool that closes that gap. Give Claude or ChatGPT a URL — a generated image, a product photo, a PDF, a remote asset — and Easy MCP AI downloads the file, assigns a title and alt text, and places it in your WordPress media library in one step, ready to attach as a featured image or embed in any post or page. This is what makes a fully hands-free Vibe Blogging run possible inside Easy MCP AI: research, write, source a visual, upload it here, attach it, and publish, all without switching tabs once. Works with Claude Desktop, n8n, and any MCP-compatible AI assistant.
See it in action
wp_upload_media {
"media_id": 189,
"filename": "team-photo-2024.jpg",
"mime_type": "image/jpeg",
"alt": "Team photo from our 2024 offsite",
"url": "https://yoursite.com/wp-content/uploads/2024/03/team-photo-2024.jpg",
"width": 1920,
"height": 1080
} Image uploaded successfully and alt text has been set.
Example Use Cases & Sample Prompts
- Adding a featured image
- Prompt: “Upload this image URL to the media library so I can set it as the featured image for my next post.”
- Importing remote assets
- Prompt: “Download and save these 5 product screenshots from our staging server into the WordPress media library.”
- PDF upload
- Prompt: “Upload this PDF from our Google Drive link into the media library as a downloadable resource.”
- Bulk image import
- Prompt: “Upload all images from this list of URLs to the media library. Name them based on the URL filename.”
- Logo replacement
- Prompt: “Upload the new company logo from this URL into the media library.”
Frequently Asked Questions
What does wp_upload_media do?
Most AI-to-WordPress workflows stall at media — the AI can write the content but has no way to get images into the library without you stepping in manually. wp_upload_media is the Easy MCP AI tool that closes that gap. Give Claude or ChatGPT a URL — a generated image, a product photo, a PDF, a remote asset — and Easy MCP AI downloads the file, assigns a title and alt text, and places it in your WordPress media library in one step, ready to attach as a featured image or embed in any post or page. This is what makes a fully hands-free Vibe Blogging run possible inside Easy MCP AI: research, write, source a visual, upload it here, attach it, and publish, all without switching tabs once. Works with Claude Desktop, n8n, and any MCP-compatible AI assistant.
How do I use wp_upload_media with my AI assistant?
Install the Easy MCP AI WordPress plugin, generate an API token in your dashboard, and connect your AI client (Claude, ChatGPT, Cursor, or any MCP-compatible assistant). Then simply describe what you want in natural language — for example: "Upload this image I'm sharing and set its alt text to 'Team photo from our 2024 offsite'."
Do I need Easy MCP AI to use wp_upload_media?
Yes. wp_upload_media is one of 162 MCP tools bundled inside the Easy MCP AI WordPress plugin. Install the free plugin from WordPress.org, connect your AI client, and this tool becomes available immediately — no coding required.
Related Tools
MediaPermanently delete a media file from the WordPress media library by ID
Retrieve the full metadata of a specific media file by ID
Browse and search the WordPress media library by type, keyword, or date
Update the title, alt text, caption, or description of a media file by ID
Have your AI write, categorize, tag, and publish a new blog post — all in one step
Update a post's title, content, status, categories, tags, or featured image by ID
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_upload_media and all 74 tools instantly.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.