WordPress MCP Server logo

WordPress MCP Server

by MCP-Mirror

A Model Context Protocol (MCP) server that enables AI assistants to interact with WordPress sites through the WordPress REST API. This server provides tools for managing WordPress content programmatically, including creating, retrieving, and updating posts.

View on GitHub

Last updated: N/A

What is WordPress MCP Server?

The WordPress MCP Server is a Node.js application that acts as a bridge between AI assistants and WordPress sites. It allows AI to programmatically manage WordPress content using the WordPress REST API, providing tools to create, retrieve, and update posts.

How to use WordPress MCP Server?

To use the server, you need to install it, configure your WordPress site with an application password, and then add the server to your MCP settings file. You can then use the available tools (create_post, get_posts, update_post) by sending JSON requests with the required parameters.

Key features of WordPress MCP Server

  • Create new WordPress posts

  • Retrieve WordPress posts with pagination

  • Update existing posts

  • Secure authentication using WordPress application passwords

  • Error handling and detailed response messages

Use cases of WordPress MCP Server

  • Automated content creation for WordPress sites

  • AI-powered content management

  • Integrating WordPress with AI assistants

  • Programmatic management of WordPress posts

  • Generating reports from WordPress data

FAQ from WordPress MCP Server

What is an application password in WordPress?

An application password is a secure alternative to your main WordPress password, specifically for applications like this server. It can be revoked without affecting your main WordPress login.

How do I enable the WordPress REST API?

The WordPress REST API is enabled by default in WordPress 4.7 and later. No additional configuration is typically required.

What Node.js version is required?

Node.js v18 or higher is required.

What if I get an authentication error?

Double-check your WordPress username and application password. Ensure the application password has the necessary permissions.

How do I contribute to the project?

Fork the repository, create a feature branch, make your changes, and submit a pull request.