home / mcp / wordpress mcp server
Provides an MCP interface to a local WordPress instance enabling automated control and data retrieval via MCP clients.
Configuration
View docs{
"mcpServers": {
"glendaviesnz-wp-mcp": {
"command": "uv",
"args": [
"--directory",
"/FULL/PATH/TO/wp-server-python",
"run",
"wp.py"
]
}
}
}You can connect your WordPress-based MCP server to an MCP client to automate actions, fetch data, and run WordPress-related tasks through a consistent interface. This guide walks you through using and setting up a WordPress MCP server so you can integrate it with your automation, tooling, or chat assistants.
To use the WordPress MCP server, you run it as a local or dedicated process and connect with an MCP client. The server operates as a standard MCP endpoint that accepts commands and returns results, enabling you to manage WordPress-related tasks from your automation stack. Start the server using the provided runtime command, then configure your MCP client to target the local or remote endpoint. You can perform actions such as invoking WordPress scripts, fetching data, or triggering maintenance tasks through the MCP interface.
Prerequisites you need before installing the WordPress MCP server:
Step-by-step commands to set up the server locally:
The WordPress MCP server is intended to run as a stdio MCP server. You invoke it via a runtime command that launches the Python-based WordPress server script. The configuration snippet shown below demonstrates how to wire the MCP client to start the WordPress server process.