Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-server

MCP.Pizza Chef: mcp-wp

The MCP server for WordPress is a plugin that implements the Model Context Protocol using the WordPress REST API. It supports the Streamable HTTP transport specification, enabling WordPress sites to expose structured, real-time context to LLMs. This server facilitates seamless integration of AI models with WordPress environments, allowing models to interact with site data and APIs securely and efficiently.

Use This MCP server To

Expose WordPress site data as structured context to LLMs Enable real-time AI interactions with WordPress content and APIs Implement Streamable HTTP transport for efficient model communication Integrate AI-driven workflows within WordPress websites Provide secure, scoped access to WordPress data for AI models

README

MCP Server for WordPress

Commit activity Code Coverage License

Model Context Protocol server using the WordPress REST API.

Try it by installing and activating the latest nightly build on your own WordPress website:

Download latest nightly build

Description

This WordPress plugin aims to implement the new Streamable HTTP transport, as described in the latest MCP specification.

Under the hood it uses the logiscape/mcp-sdk-php package to set up a fully functioning MCP server. Then, this functionality is exposed through a new wp-json/mcp/v1/mcp REST API route in WordPress.

Note: the Streamable HTTP transport is not fully implemented yet and there are no tests. So it might not 100% work as expected.

Usage

Given that no other MCP client supports the new Streamable HTTP transport yet, this plugin works best in companion with the WP-CLI AI command.

  1. Run wp plugin install --activate https://github.com/mcp-wp/mcp-server/archive/refs/heads/main.zip
  2. Run wp plugin install --activate ai-services
  3. Run wp package install mcp-wp/ai-command:dev-main
  4. Run wp mcp server add "mysite" "https://example.com/wp-json/mcp/v1/mcp"
  5. Run wp ai "Greet my friend Pascal" or so

Note: The WP-CLI command also works on a local WordPress installation without this plugin.

mcp-server FAQ

How do I install the MCP server on my WordPress site?
Download the latest nightly build from the official MCP GitHub page and activate it as a WordPress plugin.
Does the MCP server support real-time data streaming?
Yes, it implements the Streamable HTTP transport for real-time context delivery.
Can I use this MCP server with different LLM providers?
Yes, it is provider-agnostic and works with OpenAI, Claude, Gemini, and others.
Is the MCP server secure for exposing WordPress data?
Yes, it follows MCP principles for secure, scoped, and observable model interactions.
Can I customize the data exposed by the MCP server?
Yes, developers can extend or configure the plugin to expose specific WordPress REST API endpoints.
What WordPress versions are supported?
The plugin supports recent WordPress versions; check the GitHub repository for compatibility details.
How does the MCP server handle authentication?
It leverages WordPress authentication mechanisms to ensure secure access control.
Where can I find documentation for the MCP server?
Documentation is available on the MCP GitHub repository and the official Model Context Protocol website.