WordPress MCP Server
by stefans71
The WordPress MCP Server enables interaction with WordPress sites through the WordPress REST API using JSON-RPC 2.0 protocol. It provides tools for creating, retrieving, and updating posts.
Last updated: N/A
What is WordPress MCP Server?
This is a Model Context Protocol (MCP) server for WordPress integration, allowing communication with WordPress sites via the REST API using JSON-RPC 2.0. It supports creating, retrieving, and updating posts.
How to use WordPress MCP Server?
- Clone the repository. 2. Install dependencies using
npm install
. 3. Build the project usingnpm run build
. 4. Configure the server in your MCP settings, providing WordPress credentials either through environment variables or request parameters. 5. Use the available methods (create_post, get_posts, update_post) with appropriate parameters to interact with your WordPress site.
Key features of WordPress MCP Server
Create WordPress posts
Retrieve WordPress posts
Update WordPress posts
JSON-RPC 2.0 protocol support
Environment variable or request parameter configuration
Cross-platform compatibility (Windows, macOS, Linux)
Use cases of WordPress MCP Server
Automated content creation
Remote WordPress management
Integration with other systems via MCP
Programmatic post updates
Building custom WordPress integrations
FAQ from WordPress MCP Server
What is an application password in WordPress?
What is an application password in WordPress?
An application password is a secure alternative to your main WordPress password for applications to access your site. It can be generated in your WordPress dashboard under Users → Security → Application Passwords.
What are the requirements to use this server?
What are the requirements to use this server?
You need Node.js 20.0.0 or higher, a WordPress site with the REST API enabled, and a WordPress application password for authentication.
How do I configure the server?
How do I configure the server?
You can configure the server by adding it to your MCP settings file and providing WordPress credentials through environment variables or request parameters.
What methods are available?
What methods are available?
The available methods are create_post, get_posts, and update_post.
Can I use my main WordPress password instead of an application password?
Can I use my main WordPress password instead of an application password?
While you can, it's highly recommended to use an application password for security reasons. Application passwords can be revoked without affecting your main account password.