- Home
- MCP servers
- WordPress
WordPress
- javascript
7
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"mcp-mirror-stefans71_wordpress-mcp-server": {
"command": "node",
"args": [
"path/to/wordpress-server/build/index.js"
]
}
}
}You can manage WordPress content programmatically through a dedicated MCP server that talks to the WordPress REST API. This server lets you create, fetch, and update posts securely, enabling AI assistants and automation to interact with your WordPress site with consistent, structured actions.
How to use
To use this MCP server, connect your MCP client to the WordPress MCP endpoint and invoke the available tools to manage posts. You can create new posts with a given title and content, retrieve lists of posts with pagination, and update existing posts by ID. Authentication is performed using WordPress application passwords, so you should pass the site URL, username, and application password with each request. Expect standardized success and error responses that include either the resulting WordPress data or a descriptive error message.
How to install
Prerequisites: Node.js v18 or higher, a WordPress site with REST API enabled, and a WordPress application password.
- Clone the project
- Install dependencies
- Build the server
Configuration and usage notes
Configure your MCP settings to point to the WordPress MCP server. The example configuration runs the server locally via Node.js and points to the built entry file.
{
"mcpServers": {
"wordpress": {
"command": "node",
"args": ["path/to/wordpress-server/build/index.js"]
}
}
}
Security considerations
Use HTTPS URLs for your WordPress site and rely on WordPress application passwords for authentication. Keep credentials secure, rotate application passwords periodically, and limit access using WordPress roles and capabilities.
Notes on compatibility and troubleshooting
Ensure your WordPress REST API is accessible from the MCP host. If you encounter authentication errors, verify the application password and that the correct WordPress user has the necessary capabilities to read and write posts.
Available tools
create_post
Creates a new WordPress post with a title, content, and optional status (draft, publish, or private).
get_posts
Retrieves WordPress posts with pagination support using perPage and page parameters.
update_post
Updates an existing WordPress post by postId, allowing changes to title, content, and status.