wordpress-mcp-server
About
interact with your WordPress site (s) using this MCP WordPress Server 100% created with Cline. If you use Cline you can have it evaluate the code by pointing it to the repository and asking if the code is safe to use. See the READ.me for a detailed overview. Enjoy!
Details
- Author
- stefans71
- Repository
- stefans71/wordpress-mcp-server
- GitHub stars
- 45
- Downloads
- 3
- License
- MIT License
- Categories
- Cloud Service, Other, Developer Tools, Productivity
Jump to
Setting up with Highlight
Follow these steps to add this server as a custom Highlight plugin:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
wordpress-mcp-serverCommand (node, npx, python, etc.)nodeArguments-
Argument 1
path/to/build/index.js
Environment-
WORDPRESS_PASSWORD
your-app-password -
WORDPRESS_SITE_URL
https://your-wordpress-site.com -
WORDPRESS_USERNAME
your-username
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Add the server to your MCP settings file with environment variables for WordPress credentials:
{
"mcpServers": {
"wordpress": {
"command": "node",
"args": ["path/to/build/index.js"],
"env": {
"WORDPRESS_SITE_URL": "https://your-wordpress-site.com",
"WORDPRESS_USERNAME": "your-username",
"WORDPRESS_PASSWORD": "your-app-password"
}
}
}
}
The environment variables are:
- WORDPRESS_SITE_URL: Your WordPress site URL
- WORDPRESS_USERNAME: WordPress username
- WORDPRESS_PASSWORD: WordPress application password
You can also provide these credentials in the request parameters if you prefer not to use environment variables.
create_post
Creates a new WordPress post. Parameters: siteUrl (optional), username (optional), password (optional), title (required), content (required), status (optional, default: 'draft')
get_posts
Retrieves WordPress posts. Parameters: siteUrl (optional), username (optional), password (optional), perPage (optional, default: 10), page (optional, default: 1)
update_post
Updates an existing WordPress post. Parameters: siteUrl (optional), username (optional), password (optional), postId (required), title (optional), content (optional), status (optional)
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"wordpress-mcp-server": {
"env": {
"WORDPRESS_PASSWORD": "your-app-password",
"WORDPRESS_SITE_URL": "https://your-wordpress-site.com",
"WORDPRESS_USERNAME": "your-username"
},
"args": [
"path/to/build/index.js"
],
"command": "node"
}
}
}
Linux
{
"env": {
"WORDPRESS_PASSWORD": "your-app-password",
"WORDPRESS_SITE_URL": "https://your-wordpress-site.com",
"WORDPRESS_USERNAME": "your-username"
},
"args": [
"path/to/build/index.js"
],
"command": "node"
}
Macos
{
"env": {
"WORDPRESS_PASSWORD": "your-app-password",
"WORDPRESS_SITE_URL": "https://your-wordpress-site.com",
"WORDPRESS_USERNAME": "your-username"
},
"args": [
"path/to/build/index.js"
],
"command": "node"
}
Windows
{
"env": {
"WORDPRESS_PASSWORD": "your-app-password",
"WORDPRESS_SITE_URL": "https://your-wordpress-site.com",
"WORDPRESS_USERNAME": "your-username"
},
"args": [
"path/to/build/index.js"
],
"command": "node"
}
An MCP server for interacting with WordPress sites via the REST API, allowing you to manage posts, pages, and media.
A Model Context Protocol (MCP) server for WordPress integration, compatible with Windows, macOS, and Linux.
This MCP server enables interaction with WordPress sites through the WordPress REST API. It provides tools for creating, retrieving, and updating posts using JSON-RPC 2.0 protocol.
- Clone the repository
- Install dependencies:
Add the server to your MCP settings file with environment variables for WordPress credentials:
{ "mcpServers": { "wordpress": { "command": "node", "args": ["path/to/build/index.js"], "env": { "WORDPRESS_SITE_URL": "https://your-wordpress-site.com", "WORDPRESS_USERNAME": "your-username", "WORDPRESS_PASSWORD": "your-app-password" } } } }
- WORDPRESS_SITE_URL: Your WordPress site URL
- WORDPRESS_USERNAME: WordPress username
- WORDPRESS_PASSWORD: WordPress application password
You can also provide these credentials in the request parameters if you prefer not to use environment variables.
- siteUrl: (optional if set in env) WordPress site URL
- username: (optional if set in env) WordPress username
- password: (optional if set in env) WordPress application password
- title: Post title
- content: Post content
- status: (optional) 'draft' | 'publish' | 'private' (default: 'draft')
- siteUrl: (optional if set in env) WordPress site URL
- username: (optional if set in env) WordPress username
- password: (optional if set in env) WordPress application password
- perPage: (optional) Number of posts per page (default: 10)
- page: (optional) Page number (default: 1)
- siteUrl: (optional if set in env) WordPress site URL
- username: (optional if set in env) WordPress username
- password: (optional if set in env) WordPress application password
- postId: ID of the post to update
- title: (optional) New post title
- content: (optional) New post content
- status: (optional) 'draft' | 'publish' | 'private'
For security, it's recommended to use WordPress application passwords instead of your main account password. You can generate an application password in your WordPress dashboard under Users → Security → Application Passwords.
{ "jsonrpc": "2.0", "id": 1, "method": "create_post", "params": { "title": "My New Post", "content": "Hello World!", "status": "draft" } }
{ "jsonrpc": "2.0", "id": 1, "method": "create_post", "params": { "siteUrl": "https://your-wordpress-site.com", "username": "your-username", "password": "your-app-password", "title": "My New Post", "content": "Hello World!", "status": "draft" } }
- Node.js 20.0.0 or higher
- WordPress site with REST API enabled
- WordPress application password for authentication
MIT License - See LICENSE file for details
Publish complete websites directly from any AI client via API — no hosting setup, CMS, or configuration required.
A WordPress plugin that transforms a WordPress site into an MCP server, allowing direct access to its content.
Interact with and manage your Ghost CMS blog, including posts, users, and members, through an LLM interface.
Official remote MCP server for Lolipop Rental Server by GMO Pepabo. Manage domains, subdomains, free SSL, and WordPress via natural language.
An MCP server for interacting with the Prismic headless CMS.
An MCP server for WordPress plugin audits
Manage and utilize website content within the DevHub CMS platform
A free WordPress plugin that turns your site into a governed MCP server: 153 abilities that are all off until you switch them on, bound to a least-privilege WordPress user, with every call audited.
Interact with ApostropheCMS, a Node.js-based content management system, to manage content snippets.
Connects Claude to WordPress sites to create posts and manage sites using the WordPress REST API.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





