| 1 |
=== MCP Adapter === |
| 2 |
Contributors: wordpressdotorg |
| 3 |
Tags: mcp, ai, abilities-api, model-context-protocol |
| 4 |
Requires at least: 6.9 |
| 5 |
Tested up to: 7.0 |
| 6 |
Requires PHP: 7.4 |
| 7 |
Stable tag: 0.6.1 |
| 8 |
License: GPL-2.0-or-later |
| 9 |
License URI: https://spdx.org/licenses/GPL-2.0-or-later.html |
| 10 |
|
| 11 |
Expose WordPress abilities as Model Context Protocol (MCP) tools, resources, and prompts for AI agents. |
| 12 |
|
| 13 |
== Description == |
| 14 |
|
| 15 |
Part of the [AI Building Blocks for WordPress](https://make.wordpress.org/ai/2025/07/17/ai-building-blocks) initiative. |
| 16 |
|
| 17 |
The MCP Adapter bridges WordPress's Abilities API with the [Model Context Protocol (MCP)](https://modelcontextprotocol.io) specification, providing a standardized way for AI agents to interact with WordPress functionality. It includes HTTP and STDIO transport support, comprehensive error handling, and an extensible architecture for custom integrations. |
| 18 |
|
| 19 |
**Features:** |
| 20 |
|
| 21 |
* **Ability-to-MCP Conversion** – Automatically converts WordPress abilities into MCP tools, resources, and prompts. |
| 22 |
* **Multi-Server Management** – Create and manage multiple MCP servers with unique configurations. |
| 23 |
* **Extensible Transport Layer** – Built-in HTTP and STDIO transports, plus support for custom transport protocols. |
| 24 |
* **Flexible Error Handling** – Default WordPress-compatible error logging with support for custom, server-specific handlers. |
| 25 |
* **Observability** – Zero-overhead metrics tracking with configurable handlers. |
| 26 |
* **Permission Control** – Granular, configurable permission checking for all exposed functionality. |
| 27 |
|
| 28 |
== Installation == |
| 29 |
|
| 30 |
Install MCP Adapter as a WordPress plugin from the [latest GitHub release](https://github.com/WordPress/mcp-adapter/releases/latest), or see the [README](https://github.com/WordPress/mcp-adapter#installation) for WP-CLI and wp-env options. |
| 31 |
|
| 32 |
Plugin developers can also add it as a Composer dependency: `composer require wordpress/mcp-adapter` |
| 33 |
|
| 34 |
Requires WordPress 6.9 or newer (the Abilities API is included in core). |
| 35 |
|
| 36 |
== Changelog == |
| 37 |
|
| 38 |
For the full changelog, see the [releases on GitHub](https://github.com/WordPress/mcp-adapter/releases). |
| 39 |
|