wp_upload_media_from_url is one of 214 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_from_url

Destructive

Description

When your AI finds or generates an image online — a stock photo, an AI-generated graphic, or an asset from another site — getting it onto WordPress used to mean downloading and re-uploading it yourself. Now you just hand your AI the image link and Easy MCP AI pulls it straight into your media library, faster and more efficiently than passing the whole file through the chat. You can set the title, alt text, caption, and filename, and even attach it to a specific post, all in the same instruction. It's perfect for hands-free blogging: your AI can go from a web image to a published, properly-labeled photo on your site in a single step.

See it in action

Claude Desktop — MCP Connection
👤
Download https://example.com/hero.jpg into my media library and set the alt text to 'Productivity hero image'.
🤖
Tool called wp_upload_media_from_url
{"status": "success"}

Done! I've used wp_upload_media_from_url to complete that for you.

Example Use Cases & Sample Prompts

  1. Import a generated image
  2. Set title and caption on import
    • Prompt: “Import this image URL with title ‘Launch Day’ and caption ‘Office photo, 2026’.”
  3. Attach to a specific post
    • Prompt: “Import this image URL and attach it to post 902 with caption ‘Launch photo’.”
  4. Rename on import
  5. Avoid base64 for big files
    • Prompt: “Import this 4MB photo from the URL — don’t base64 it, use the URL upload.”

Frequently Asked Questions

What does wp_upload_media_from_url do?

When your AI finds or generates an image online — a stock photo, an AI-generated graphic, or an asset from another site — getting it onto WordPress used to mean downloading and re-uploading it yourself. Now you just hand your AI the image link and Easy MCP AI pulls it straight into your media library, faster and more efficiently than passing the whole file through the chat. You can set the title, alt text, caption, and filename, and even attach it to a specific post, all in the same instruction. It's perfect for hands-free blogging: your AI can go from a web image to a published, properly-labeled photo on your site in a single step.

How do I use wp_upload_media_from_url 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: "Download https://example.com/hero.jpg into my media library and set the alt text to 'Productivity hero image'."

Do I need Easy MCP AI to use wp_upload_media_from_url?

Yes. wp_upload_media_from_url is one of 214 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.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_upload_media_from_url and all 96 core tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.

View Setup Guides →

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.