WordPress REST API
Implements a Model Context Protocol server using the WordPress REST API.
This WordPress plugin establishes a Model Context Protocol (MCP) server leveraging the WordPress REST API, focusing on the Streamable HTTP transport as described in the MCP specification. It utilizes the `logiscape/mcp-sdk-php` package to create a functional MCP server, exposing its capabilities through a dedicated `wp-json/mcp/v1/mcp` REST API endpoint. Primarily intended for use with tools such as the WP-CLI AI command, it facilitates integration of MCP functionality within WordPress environments.
Key Features
01Implements the Streamable HTTP transport for MCP
024 GitHub stars
03Offers nightly builds for the latest version
04Exposes MCP functionality via WordPress REST API
05Uses `logiscape/mcp-sdk-php` package for MCP server setup
06Provides a `wp-json/mcp/v1/mcp` REST API route
Use Cases
01Experiment with Streamable HTTP transport in MCP
02Integrate with WP-CLI AI command for enhanced functionality
03Create an MCP server within a WordPress environment