wp_update_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_update_media

Destructive

Description

Alt text gaps are one of the most common SEO oversights on WordPress sites β€” and Easy MCP AI lets your AI client fix them at scale without opening the admin panel. By connecting Claude Desktop, ChatGPT, or any of the 15 supported clients directly to your site, you can audit alt text, rewrite captions, and rename media items across your entire library through a single conversation. Easy MCP AI routes each update through its pure-PHP MCP server, so no Node.js proxy or third-party service sits between your AI and WordPress.

See it in action

Claude Desktop β€” MCP Connection
πŸ‘€
Update the alt text of the hero image on our homepage.
πŸ€–
Tool call wp_list_media

Locating the media item to update…

{
  "total": 24,
  "items": [
    { "media_id": 189, "title": "team-photo-2024", "filename": "team-photo-2024.jpg", "mime_type": "image/jpeg" },
    { "media_id": 175, "title": "Hero Banner", "filename": "hero-banner.png", "mime_type": "image/png" }
  ]
}
next step
Tool called wp_update_media
{
  "media_id": 189,
  "title": "Team Offsite 2024",
  "alt": "Team photo from our 2024 offsite",
  "caption": "Annual team offsite β€” March 2024",
  "updated_fields": ["title", "alt", "caption"]
}

Found media item #189 β€” 'team-photo-2024.jpg'. Title and caption have been updated.

Example Use Cases & Sample Prompts

  1. Improving alt text for SEO
    • Prompt: β€œList recent media uploads and update any images that have empty alt text with descriptive alternatives.”
  2. Updating a caption
    • Prompt: β€œFind the hero image we uploaded last week and update its caption to match our new brand voice.”
  3. Renaming media items
    • Prompt: β€œFind all images uploaded this month with generic names like β€˜image1.jpg’ and rename them descriptively.”
  4. Adding media descriptions
    • Prompt: β€œUpdate all uploaded PDFs in the media library with proper descriptions based on their filenames.”
  5. Accessibility audit
    • Prompt: β€œList recent media uploads and flag any images without alt text, then update them.”

Frequently Asked Questions

What does wp_update_media do?

Alt text gaps are one of the most common SEO oversights on WordPress sites β€” and Easy MCP AI lets your AI client fix them at scale without opening the admin panel. By connecting Claude Desktop, ChatGPT, or any of the 15 supported clients directly to your site, you can audit alt text, rewrite captions, and rename media items across your entire library through a single conversation. Easy MCP AI routes each update through its pure-PHP MCP server, so no Node.js proxy or third-party service sits between your AI and WordPress.

How do I use wp_update_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: "Update the alt text of the hero image on our homepage."

Do I need Easy MCP AI to use wp_update_media?

Yes. wp_update_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.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_update_media and all 74 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.