WordPress Abilities API Course

A hands-on WordPress Abilities API course: from your first ability to MCP, access control and a site your client manages from an AI app.

13 modules3 lessonsJunior3 free lessons12 interview questions

First 3 lessons are free without sign-in.

[video:4wpdev-abilities-api-course-cover.mp4]

The Abilities API is the list of what your site can do and what it allows. Most WordPress developers have put it off “for later”, next to the words AI and MCP. Meanwhile, clients already want to run their site from their favorite AI app.

In this course you go from your first wp_register_ability() to a site your client runs through an AI agent: safely, with clear permissions, and with you as the developer who services this “car”. Every module is built on real code from WordPress core, the MCP Adapter and our open source 4WP MCP Connector.

Course path

Diagram

Stage 3 · Hand it over

Stage 2 · MCP

Stage 1 · Abilities

Today: a WordPress site1.​ Overviewwhat · why · for whom2.​ Your first abilitywp_register_ability3.​ Discover & executeREST · JS · WP-CLIYour site says what it cando4.​ MCP: HTTP & STDIO5.​ MCP Adapter6.​ Default vs custom server7.​ Access control & securityAn agent sees only whatyou allowed8.​ Connecting the client9.​ Agent instructions10.​ Plugins & theme11.​ Content abilities12.​ Testing13.​ Final project:a site ready for an AI agent

What you’ll be able to do after each module

  • Overview: explain the Abilities API in a minute. What it is, how AI uses it, and what it gives you and your clients.
  • Your First Ability: register your own action. Category, wp_register_ability, schemas, callbacks, annotations.
  • Discover & Execute: find and call any ability. The registry, REST wp-abilities/v1, JavaScript, WP-CLI.
  • MCP Protocol: HTTP & STDIO: understand who is really knocking on the site. Agent → STDIO proxy → HTTPS → WordPress.
  • MCP Adapter: open abilities to AI the official way. meta.mcp.public, tools and prompts.
  • MCP Server: Default vs Custom: close the second server. What the default server exposes and when you need your own.
  • Access Control & Security: decide what the agent sees. Allow-list, everything off by default, capabilities, destructive, prompt injection, audit log.
  • Connecting the Client: connect the client’s AI app. Application Password, Desktop Extension, JSON config, OAuth.
  • Agent Instructions & Prompts: tell the agent what’s on the site. Server instructions, prompts, a help reference.
  • Abilities in Plugins & Theme: keep abilities where they belong. The owner’s contract, namespaces.
  • Content Abilities: let the agent edit content safely. Page sections, autosave → review → publish, revisions.
  • Testing: check everything without an agent. curl, MCP Inspector, tests from a prompt.
  • Final Project: hand over a site ready for agent control. From zero to handoff to the client, your way.

How a module works

PartWhat you get
Agendawhat the module covers and the result
Theoryonly what you need for the code
Trade-offsan honest comparison of options: what’s simpler, what costs more to maintain
Practicea check through WP-CLI or REST on your local site
Quizshort self-check questions
FAQanswers to the questions developers and clients ask

Your path, your choice

The course doesn’t push any tools. You choose the implementation: a few lines in functions.php or an mu-plugin, your own plugin, or a ready solution. Our open source 4WP MCP Connector is just one example in the code; every lesson works without it.

Who it’s for: Junior and Middle WordPress developers, and site owners who want to know how running a site through an AI agent works.

Result: you prepare a client’s site to be run through an AI agent, and you understand what the client pays a developer for.

Stack: WordPress 6.9+ (Abilities API in core), MCP Adapter.

Outside this course

Start the course for free

The first 3 lessons are open right now. Create a free account to unlock the rest and save your progress.