October 10, 2026

Prompt: Building Your First AI‑Powered WordPress Plugin Using Abilities API, AI Client and MCP

← AI for Your Work

A step‑by‑step tutorial shows how to combine the WordPress Abilities API, the provider‑agnostic WordPress AI Client, and the MCP Adapter to create a plugin that turns an image URL into a draft post with AI‑generated description and content.

Copy This Prompt

Describe the image at {image_url} and generate a WordPress post titled {title} with content {content} using a {tone} tone.

Example input

Use the placeholders in the prompt with permitted, anonymized source data.

Expected output

Follow the output format requested in the prompt and verify the result against the source.

Tools

WordPress development environment (local server), PHP 8.1+, Composer, Node.js & npm, AI provider account (OpenAI, Anthropic, Google, etc.), Code editor or IDE, Application Password or REST authentication method