October 14, 2026

WordPress MCP Adapter: Enabling AI Agents to Use WordPress Abilities

← AI for Your Work

WebCrimp analysis and practical explanation. AI-assisted; reviewed before publication.

Quick Summary

The WordPress MCP Adapter bridges the Abilities API introduced in WordPress 6.9 with the Model Context Protocol, allowing AI agents to discover and invoke site functions as tools. This release lets developers expose existing abilities to AI clients like Claude Desktop, Cursor, VS Code, and Claude Code via STDIO or HTTP transports.

What Happened?

WordPress 6.9 shipped the Abilities API, providing a standardized way to register executable site functions. Following this, the Core AI team released the MCP Adapter plugin, which translates those abilities into MCP tools and resources. The adapter also registers three helper abilities (discover-abilities, get-ability-info, execute-ability) that AI agents can call to list, inspect, and run any exposed ability.

Why It Matters

By connecting AI agents to WordPress through MCP, developers can automate tasks such as fetching site info, updating posts, or running diagnostics without writing custom AI integrations. It opens WordPress to broader AI workflows, enabling low‑code automation, AI‑assisted content management, and seamless integration with popular developer tools.

Who Can Use It?

Software Development · WordPress · AI/ML · Web Development · Content · Marketing · Entrepreneur · Freelancer · Data Analytics · DevOps

How Can I Use This?

If you work in Software Development, WordPress, AI/ML, Web Development, Content, Marketing, Entrepreneur, Freelancer, Data Analytics, DevOps

  • Software Developer: Register custom abilities with wp_register_ability and add meta.mcp.public flag to expose them via the default MCP server, then test with WP‑CLI stdio. WordPress Site Owner: Enable core abilities for MCP access using the wp_register_ability_args filter, allowing AI assistants to retrieve site info or user data on demand. AI/ML Engineer: Use the MCP adapter as a remote proxy (npx @automattic/mcp-wordpress-remote) to feed real‑time WordPress data into language model prompts for retrieval‑augmented generation. Content Manager: Prompt an AI client to run the core/get-site-info tool to gather metadata before drafting SEO‑focused articles. Entrepreneur/Freelancer: Combine the MCP adapter with no‑code AI builders to trigger WordPress actions (e.g., create a post) from a chat interface.

AI Tip

Always start by exposing only the abilities you need and set meta.mcp.public to true; this limits the attack surface while letting AI agents call the intended functions.

AI Trick

Use the mcp-adapter-discover-abilities tool first to get a list of available ability names, then feed that list into a prompt so the AI can dynamically choose the right tool without hardcoding names.

Example Workflow

  1. 1. Install and activate the MCP Adapter plugin from the GitHub releases. 2. Register your ability with wp_register_ability, adding 'meta'=>['mcp'=>['public'=>true]]. 3. (Optional) Use wp_register_ability_args filter to enable MCP for core abilities. 4. Choose a transport: for local dev, configure WP‑CLI stdio in your AI client; for remote sites, set up the npx @automattic/mcp-wordpress-remote proxy with WP_API_URL, username, and application password. 5. Add the MCP server configuration to Claude Desktop, Cursor, VS Code, or Claude Code. 6. Restart the AI client, verify the server shows available tools, then invoke abilities via chat or editor prompts. Note: Verify each step with your specific environment, as transport details may vary.

Copy This Prompt

Please use the {{ability_name}} tool on my WordPress site to {{action_description}}. If needed, provide input parameters as JSON: {{input_json}}.

Recommended Tools

  • WP-CLI
  • Node.js/npx
  • AI client (Claude Desktop, Cursor, VS Code, Claude Code)
  • WordPress REST API
  • text editor or IDE

Check official documentation, availability and pricing before using these suggestions.

Difficulty

Intermediate

Estimated Time Saved

Not measured; validate with your own workflow.

Source

WordPress Developer Blog – AI
From Abilities to AI Agents: Introducing the WordPress MCP Adapter
Original publication date: 2026-02-04T14:35:29+00:00