Download the PHP package wordpress/mcp-adapter without Composer
On this page you can find all versions of the php package wordpress/mcp-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wordpress/mcp-adapter
More information about wordpress/mcp-adapter
Files in wordpress/mcp-adapter
Package mcp-adapter
Short Description Adapter for Abilities API, letting WordPress abilities to be used as MCP tools, resources or prompts
License GPL-2.0-or-later
Homepage https://github.com/wordpress/mcp-adapter
Informations about the package mcp-adapter
MCP Adapter
Part 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 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 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 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
- Migration Guide: v0.7.0
- Migration Guide: v0.5.0
- Migration Guide: v0.3.0
Contributing
See Testing Guide for running the test suite.
Attribution
Model Context Protocol, MCP, and the MCP logo are trademarks of LF Projects, LLC, and are used here solely for informational purposes.
License
All versions of mcp-adapter with dependencies
automattic/jetpack-autoloader Version ^6.0
wordpress/php-mcp-schema Version ^0.2.0
ext-json Version *