A WordPress plugin that implements the Model Context Protocol (MCP) to expose WordPress functionality through a standardized interface. This plugin enables AI models and other applications to interact with WordPress sites in a structured and secure way.
- 🔒 Secure and standardized interface for WordPress interactions
- 🤖 AI-friendly API endpoints
- 🏗️ Extensible architecture for custom tools, resources and prompts
- 🔌 Adapter for WordPress Feature API
- ⚡ High-performance implementation
- Download the latest wordpress-mcp.zip from https://github.com/Automattic/wordpress-mcp/releases/
- Upload the plugin files to the
/wp-content/plugins/wordpress-mcp
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Navigate to
Settings > MCP
and enable MCP functionality and features
This plugin is designed to work with wp-wordpress-remote, which provides the client-side implementation for interacting with the MCP interface. Please check the usage instructions.
You can extend the plugin's functionality by adding new components through the WordPress MCP API:
Check the tools defined on wp-content/plugins/wordpress-mcp/includes/Tools/
for examples
Check the resources define on wp-content/plugins/wordpress-mcp/includes/Resources/
for examples
Check the prompts defined on wp-content/plugins/wordpress-mcp/includes/Prompts/
for axamples
Check the WordPress Feature API - a system for exposing WordPress functionality in a standardized, discoverable way for both server and client-side use. When enabled, this plugin will convert Features into MCP tools and resources.
We welcome contributions!
WordPress MCP has extensive documentation, please refer to the docs for more information.
For support, please:
- Open an issue on GitHub
- Contact the maintainers