By Bryan Keniry · 9 November 2026
If you’re building a membership site where clients manage their portfolios, every dashboard you design is an attempt to anticipate their next question.
What if they could simply ask it? “How has my portfolio performed?”
“What happens if interest rates rise?”
“Which documents am I missing?”
Giving your WordPress plugin a machine-readable interface lets a connected assistant answer those questions using your application’s own records, calculations and access rules. Clients gain a more useful membership, your team handles fewer routine enquiries, and the functions you build can serve both the portal and the assistant—without developing a separate screen for every question.
Give clients access to what your plugin can do
A client should be able to ask, “How is my portfolio performing?” or “What information do you still need from me?” and get an answer based on their own current records.
The software may already have everything needed to answer. But if those functions are available only through an administrator’s screen, the client still has to ask someone to retrieve the information, prepare a report or make a change for them.
A machine-readable interface gives us another way to deliver client access: let an authorized assistant use the plugin’s supported functions on the client’s behalf.
That changes the development question. Alongside “What screens do we need?”, we should ask, “What should clients be able to find out or get done, and how can we make those operations available under their existing permissions?”
Why developers should build this in
Developers already invest in the hard parts: reliable calculations, validation, records and access rules. Making those functions callable allows that investment to support more than one interface.
A client portal can show the standard reports. An assistant can help clients explore questions that do not fit a predefined report: “What changed since last month?”, “Which figures are estimates?” or “What happens if I change this assumption?”
Where the plugin exposes the necessary operations, the assistant can retrieve the facts and call the existing calculation engine. It can explain the results in language the client understands. The client does not need to know which menu contains the answer.
This can reduce routine requests to staff and the need to build a separate screen for every variation of a question. It also creates a useful product capability: clients can do more for themselves while staff spend more time on work requiring their judgment.
For developers, the opportunity is to make the plugin’s functions reusable. For clients, the benefit is direct access to useful answers and supported actions.
Why WordPress is the right place for this
For an application whose records and workflows already live in WordPress, WordPress is the natural place to define and enforce these operations.
It already knows which user is signed in, which plugin owns the records, and which business rules apply. A properly designed client application also knows which records that user may access. The machine interface should call those rules where they live.
Moving the conversation to an assistant should not require moving the business logic into a second application or giving the assistant unrestricted access to the database. WordPress can remain the system that decides what the client may see and do.
The Abilities API provides a standard way for plugins to describe those operations. MCP provides a way for compatible assistants to discover and call the selected operations. Together, they offer a route from a WordPress application to an additional client interface. [1][2]
WordPress is a strong fit here because it is already the application platform. An unrelated system does not become a better fit merely by adding WordPress in front of it.
Client access must mean that client’s access
A working connection is not enough. Each request must run under an identified user and enforce that user’s access to the specific records involved.
A client asking about their portfolio should receive their portfolio. An adviser may have access to several assigned clients. An administrator may have broader powers. Those differences must be enforced by the plugin, including searches, reports, exports and changes.
WordPress roles are a starting point; the application must supply any client ownership and assignment rules. A shared administrator credential does not provide individual client isolation.
The assistant is another interface to the application. The client’s identity and permissions must continue to govern the work.
The summary for people who do not write code
When we build a WordPress plugin, we usually give people a way to use it: screens, buttons, forms and reports. We should also give software a supported way to use its useful functions.
That is what this development requirement means:
When creating or extending a WordPress plugin, provide a machine-readable interface alongside its human interface.
In everyday language: if a plugin can do something useful, let an authorized assistant discover that function, understand what it needs, and ask the plugin to perform it.
Imagine asking:
“Show me which clients have incomplete records, explain what is missing, and prepare a follow-up task for each one.”
An assistant connected to the right functions could carry out that workflow across the system. The plugin would retrieve the records and enforce the rules. The assistant would interpret the request, coordinate the work and explain the result.
The business reasons are straightforward:
Less repetitive work. People can request an outcome instead of navigating several screens.
Less copying and re-entering information. Authorized tools can work with the records where they already live.
More useful existing software. Functions built for one interface can serve other interfaces and workflows.
More choice. A standard connection makes it easier to support different compatible assistants.
Better control. Developers can provide specific operations with explicit limits, permissions and records of changes.
This requires deliberate development. Installing an MCP connector does not teach an assistant every feature of every plugin. The plugin must expose the operations, and someone must configure who may use them.
The first step is often modest: let the assistant search, inspect and report. Add changes and automation as the operations become reliable.
Give the plugin two ways to be used
A human interface helps a person operate software. A machine interface gives another program a clear contract for doing the same kind of work.
The useful design is to have both interfaces call the same underlying services:
A person uses WordPress screens and forms.
An assistant uses an MCP connection and registered abilities.
Both interfaces call the same calculations, searches and update functions.
The plugin validates the request and controls access to the data.
The interfaces differ. The underlying business logic and access rules stay together.
The diagram shows a recommended architecture. Registering abilities does not automatically reorganize an existing plugin this way.
For a property application, the shared service might calculate cash flow. For a donation system, it might retrieve subscription status. For a documentation plugin, it might find the current manual and return its source and modification date.
The interface can change while the underlying function stays consistent.
This is also why “add AI” is an incomplete development brief. A plugin may need no language model of its own. It needs well-defined operations that an external assistant can use.
What an ability actually is
WordPress’s Abilities API provides a registry of named operations, introduced in WordPress 6.9. An ability describes a unit of functionality using a name, description, category, schemas and callbacks. A schema describes the expected shape of the information going in or coming out. [1]
A useful ability might say:
| Part | Example |
|---|---|
| Name | portfolio/get-cashflow |
| Purpose | Calculate cash flow for a property the user may access |
| Input | Property ID, reporting period and optional assumptions |
| Output | Income, expenses, net cash flow, currency and assumptions |
| Access rule | The current user must be allowed to view that property |
| Implementation | Call the plugin’s existing calculation service |
This is a proposed example, not a built-in WordPress function.
Notice the difference between “return some database rows” and “calculate cash flow.” The latter expresses an operation the application understands. It can preserve accounting conventions, ownership rules and calculation versions.
A useful machine interface exposes the meaning of the application.
What MCP adds
MCP, the Model Context Protocol, is a standard way for an assistant to discover and call functions in another system. WordPress’s official MCP Adapter connects registered abilities to that protocol. [2]
The layers have different jobs:
| Layer | Responsibility |
|---|---|
| Plugin service | Perform the actual business operation |
| WordPress ability | Describe the operation and provide its callable contract |
| MCP server or adapter | Make selected operations accessible through MCP |
| MCP client | Connect the assistant to the server |
| Assistant | Interpret the request and choose operations |
| Site configuration | Establish the permitted identities and access |
In this article, “connector” means the connection infrastructure between the assistant and WordPress. It should not be confused with an AI provider connection that lets WordPress send prompts to a model.
One direction lets an assistant use WordPress. The other lets WordPress use an AI provider. A project may need either, or both.
Registering and publishing are different
Writing the function is implementation. Adding its definition to the WordPress registry is registration. Making it available through an external interface is exposure.
Here, publishing abilities means exposing selected operations to a configured client. It does not mean publishing the plugin on WordPress.org, publishing website content, or allowing anonymous execution.
A registered function may remain available only inside WordPress. An MCP-enabled function still needs a working server, connection and authentication.
The practical test is whether the intended client can discover it and execute it under the intended user’s permissions.
From a sentence to a controlled operation
Consider this request:
“Find incomplete client records and create follow-up tasks.”
A well-designed integration might follow this path:
Discover and inspect the relevant abilities.
Read the records and identify the follow-up tasks.
If policy requires a decision, show the proposal and wait for approval.
Otherwise continue under the existing authorization.
Check permissions and current records, then create the tasks through plugin services.
Return successes and failures, and record the changes.
This is a recommended workflow. Approval policy and change records must be supplied by the application.
This workflow is a design recommendation. WordPress does not automatically create the approval policy or task system shown here.
The assistant should not invent missing client information. The operation should return explicit missing fields. The task service should prevent unintended duplicates. If some tasks fail, the result should say which succeeded and which did not.
Natural language makes the request convenient. The software contract makes execution dependable.
A deeper look at WordPress
1 The registry is the foundation
The Abilities API gives WordPress a common vocabulary for describing functionality. Core, themes and plugins can register operations in a central registry rather than relying entirely on unrelated functions, hooks and custom endpoints. [1]
It does not replace all those mechanisms. Hooks remain useful for extending behavior; REST endpoints remain useful for web APIs. Abilities add a standard way to describe and invoke a specific operation.
The distinction matters for existing plugins. Their internal code can remain in place while an ability wraps a supported service. However, wrapping a poorly structured function does not repair its dependencies or permissions.
2 Registration creates an executable contract
Developers register categories on wp_abilities_api_categories_init, then abilities on wp_abilities_api_init. Each ability uses a namespaced identifier such as my-plugin/get-summary. WordPress’s registration reference describes schemas plus execution and permission callbacks. [3]
A simplified registration might look like this:
add_action( 'wp_abilities_api_init', function () {
wp_register_ability( 'my-plugin/get-summary', [
'label' => 'Get a record summary',
'description' => 'Return a summary of a record the user may view.',
'category' => 'site',
'input_schema' => [
'type' => 'object',
'properties' => [
'record_id' => [ 'type' => 'integer', 'minimum' => 1 ],
],
'required' => [ 'record_id' ],
'additionalProperties' => false,
],
'output_schema' => [
'type' => 'object',
'properties' => [
'summary' => [ 'type' => 'string' ],
],
'required' => [ 'summary' ],
],
'permission_callback' => function ( $input ) {
return my_plugin_user_can_view_record(
get_current_user_id(),
$input['record_id']
);
},
'execute_callback' => function ( $input ) {
return my_plugin_get_record_summary( $input['record_id'] );
},
'meta' => [
'show_in_rest' => false,
'mcp' => [ 'public' => true ],
],
] );
} );
This example illustrates the contract; the two my_plugin_... functions must be implemented by the plugin. The site category is an existing core category. Translation, compatibility handling and error behavior would also belong in production code.
3 Execution has a defined sequence
The documented WP_Ability::execute() path validates input, checks permissions, runs the implementation and validates its output. [4]
Invalid input → return an error.
User not permitted → return an error.
This step may change data.
Invalid output → return an error.
Valid output → return the structured result.
An error after execution does not automatically roll back a change. This diagram shows the normal path; version-specific filters can alter it.
This diagram simplifies the normal execution path; version-specific filters can alter it.
An important consequence follows from the order: an output-validation error can occur after an operation has already changed data. Output validation is not a database transaction. A client must not assume that every error means nothing happened. [4]
For write operations, developers should design status checks, duplicate prevention and recovery. Repeating a failed request blindly can create a second task, charge or notification.
4 REST and MCP are separate exposure channels
The Abilities REST API uses the wp-abilities/v1 namespace. Its documentation describes authenticated access and an explicit meta.show_in_rest setting. An internally registered ability need not be reachable over REST. [5]
The MCP Adapter provides a different external interface. Its current guide supports an MCP-specific meta.mcp.public flag and a broader meta.public setting. The same guide says the broader flag seeds REST exposure starting in WordPress 7.1; WordPress 6.9 and 7.0 require explicit REST opt-in. [6]
| Setting | Meaning in this context |
|---|---|
meta.show_in_rest |
Explicitly control Abilities REST exposure |
meta.mcp.public |
Explicitly control default-adapter MCP exposure |
meta.public |
Broader exposure default with version-dependent effects |
“Public” is potentially confusing terminology. It describes exposure eligibility here; it does not remove execution permissions.
For an MCP-only integration, explicit channel settings make intent clearer. Teams should check the installed versions rather than assume the latest development documentation matches production.
5 The default adapter uses progressive discovery
The official default server exposes three gateway tools: discover abilities, get ability information and execute an ability. Rather than sending every complete schema immediately, it lets the assistant retrieve detail as needed. Custom servers can expose selected abilities directly as MCP tools. [7]
| Approach | Advantage | Tradeoff |
|---|---|---|
| Default discovery gateway | Small initial tool interface and dynamic discovery | More discovery calls; the assistant must inspect the target contract |
| Direct tools on a custom server | Explicit tools with their own schemas | Larger tool lists and additional server configuration |
My assessment is that progressive discovery suits a site with many plugins. Direct tools can suit a deliberately small workflow. Actual reliability depends on the client and model, so both should be evaluated using real tasks.
6 Identity and authorization remain essential
The adapter supports transport permission callbacks, while abilities provide checks on individual operations. Authentication answers “who is making this request?” Authorization answers “may that user perform this operation on this record?” [8]
Those questions cannot be collapsed into “the connection works.”
A user may be allowed to view one client’s records and forbidden from viewing another’s. A general role check is insufficient when records have separate owners, tenants or assignments.
Discovery also deserves attention: administrators should decide who may inspect operation names, descriptions and schemas. Metadata can reveal internal functions even when execution remains restricted.
Strengths of the WordPress approach
The following assessment draws on the architecture above.
A common contract across plugins. A shared registry reduces the need for every integration to begin by reverse engineering a plugin’s private conventions. The benefit grows as more plugins provide useful abilities.
Separation of application logic from transport. An ability can remain useful inside WordPress and through other interfaces. MCP becomes one route to the function, which makes future changes easier to accommodate.
Validation close to execution. Structured schemas and permission checks provide a repeatable boundary around an operation. This is a stronger starting point than asking an assistant to manipulate undocumented storage.
Incremental adoption. A plugin can begin with a few read operations. It does not require a complete redesign before gaining practical value.
A route from individual features to workflows. Functions from several plugins can become building blocks for a coordinated task, provided their identities, data contracts and permissions fit together.
These are architectural advantages, not guarantees of compatibility or safety.
Weaknesses and practical limits
A standard registry does not standardize business meaning
Two plugins can expose valid abilities that define “customer,” “active subscription” or “revenue” differently. Schema validation can establish that a value is a number; it cannot establish that two systems calculate that number the same way.
Operations should specify units, currencies, time zones, date boundaries and important exclusions.
Permission quality depends on implementation
A weak callback remains weak behind MCP. Record ownership, private fields and user-specific results require deliberate checks. A connected administrator account also gives the assistant the administrator’s reach unless additional restrictions are enforced.
Exposure is not a complete operations system
Do not assume ability registration provides approvals, persistent audit history, undo, rate limits, durable jobs or cross-plugin transactions. Those are capabilities to verify or build.
A workflow that updates three systems can fail after updating two. It needs an explicit partial-success response and a recovery plan.
Compatibility involves more than a URL
Server transport, client authentication support, protocol versions and hosting behavior all affect connectivity. The official default-server documentation describes HTTP session initialization as well as a WP-CLI STDIO route. Its current HTTP implementation documents a limitation around SSE streaming. [7]
Test the exact server and client combination being deployed. “Supports MCP” is the beginning of that test.
Descriptions influence assistant behavior
An ambiguous description can lead an assistant to choose the wrong operation even when the code works correctly. Tool definitions are part of the product interface and deserve review.
Content retrieved from a site can also contain misleading instructions. It should be treated as data, with authorization enforced by application code rather than by the assistant’s interpretation of that content.
Opportunities for plugin developers and agencies
The commercial opportunity is to expose useful work already performed by WordPress applications.
| Opportunity | Example | What makes it dependable |
|---|---|---|
| Client administration | Find incomplete records and prepare follow-ups | Explicit missing fields and duplicate prevention |
| Portfolio reporting | Compare cash flow under several assumptions | Shared calculation engine and visible assumptions |
| Donation support | Inspect subscription status | Appropriate identity checks and restricted returned data |
| Documentation support | Retrieve current manuals and known issues | Source paths, modification dates and version information |
| Site maintenance | Inspect configuration and propose changes | Preview, bounded changes and a change record |
| Content workflows | Prepare drafts and translation review tasks | Separate draft creation from publication |
A particularly useful product would be an administrator’s control panel showing which abilities exist, which are exposed, who can use them and what they have changed.
Another opportunity is better workflow infrastructure: previews tied to a specific version of a record, approval references that cannot authorize a different change, background jobs with status queries, and recovery from partial completion.
The value comes from making operations understandable and dependable enough to combine.
The requirement to add to a plugin brief
When creating or extending this WordPress plugin, provide a machine-readable interface alongside its human interface.
Implement meaningful operations as reusable services and register suitable operations through the WordPress Abilities API. Include clear descriptions, input and output schemas, and execution-time permission checks covering the specific records involved.
Expose selected abilities through the site’s chosen MCP infrastructure. Keep exposure deliberate, document the supported versions, and verify discovery and execution from the intended client.
Start with useful read operations. For changes, define side effects, duplicate prevention, partial failures and recovery. Add previews, approvals and audit records where the operation requires them.
Test successful execution, invalid inputs, unauthorized access and relevant retry behavior. The interface should let a compatible assistant use supported business functions under the same rules as the plugin’s human interface.
This belongs in the design brief early. Retrofitting an interface becomes harder when validation, calculations and permissions are scattered through screen-specific code.
The next useful question for a plugin project is concrete: what are the five operations we most often ask a person to perform, and what would a reliable callable version of each require?
Watch the idea in practice
These recordings introduce practical examples; their published descriptions identify the topics below.
Let AI Operate Your WordPress Site, But How? — registering abilities, exposing them through MCP and connecting Claude.
The WP Abilities API and How to Interact with WooCommerce Using Human Language — a business-focused demonstration using WooCommerce.
Turn Your Local WordPress Install Into Your AI Coding Assistant — Jonathan Bossenger’s workshop on connecting WordPress, abilities and an MCP-capable development environment. Its older setup instructions should be checked against current documentation.
Sources
Implementation details reflect the documentation consulted on 9 November 2026. The adapter links below point to its development branch, which can differ from a released version. Recommendations, proposed examples and the strengths and weaknesses assessment are the author’s analysis.

