MCP Adapter WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA #1 in AI
An MCP adapter that bridges the Abilities API to the Model Context Protocol, enabling MCP clients to discover and invoke WordPress plugin, theme, and core abilities programmatically.
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wordpress/mcp-adapter/releases/download/v0.7.1/mcp-adapter.zipOn Packagist as wordpress/mcp-adapter:
composer require wordpress/mcp-adapterPart of the AI Building Blocks for WordPress initiative
The official WordPress package for MCP integration that exposes WordPress abilities as Model Context Protocol (MCP) tools, resources, and prompts for AI agents.
Overview
MCP Adapter bridges WordPress's Abilities API with the MCP specification, giving AI agents a standardized way to interact with WordPress functionality. It includes HTTP and STDIO transport support, comprehensive error handling, and an extensible architecture for custom integrations.
Features
- Ability-to-MCP conversion — WordPress abilities automatically become MCP tools, resources, and prompts
- Multi-server management — run multiple MCP servers, each with its own transports, abilities, and handlers
- HTTP and STDIO transports, plus a
McpTransportInterfacefor custom protocols — see Custom Transports - Pluggable error handling and observability — swap in your own logging or monitoring via
McpErrorHandlerInterfaceandMcpObservabilityHandlerInterface— see Error Handling and Observability - Granular permissions — per-server transport authentication and per-ability permission checks — see Transport Permissions
Architecture
See the Architecture Overview for the full component breakdown.
Getting Started
Follow the Quick Start Guide to register your first ability and expose it via MCP, or jump straight to the Basic Examples for complete tool, resource, and prompt samples.
WordPress abilities are private by default. Set meta.public (or meta.mcp.public) to true to expose one, then reach it through the default server's three meta-tools (mcp-adapter/discover-abilities, mcp-adapter/get-ability-info, mcp-adapter/execute-ability) — see Creating Abilities for the full opt-in model.
Connecting MCP Clients
Connect via WP-CLI over STDIO, or point an HTTP client at /wp-json/mcp/mcp-adapter-default-server. Configuration examples for Claude Desktop and other MCP clients — both direct STDIO and HTTP-via-proxy — are in the CLI Usage Guide.
Migration
Contributing
See CONTRIBUTING.md for local setup, coding standards, and the contribution workflow, and the Testing Guide for running the test suite.
License
Releases
11 releases. Each count is every asset in that release; expand a row for the breakdown.
Aug 27, 2026 1mo ago
pr-288-99c756c1ddf1016e5faa215f9eb4e2d8a73d54cd-mcp-adapter.zip
+9 assets
219
Active-site estimate ≈18,360 comes from the median of recent superseded releases. Method.