WordPress MCP Server
This MCP server let you automate interactions with Wordpress
Overview
WordPress MCP Server is a Model Context Protocol (MCP) server designed to automate interactions with WordPress sites via the WordPress REST API, allowing developers to manage content programmatically.
To use the WordPress MCP Server, first clone the repository, install dependencies using npm, build the server, and then configure your WordPress settings and the MCP server settings file to initiate actions like creating, retrieving, or updating posts.
- Create, retrieve, and update WordPress posts programmatically. - Pagination support for retrieving multiple posts. - Secure authentication using WordPress application passwords. - Detailed error handling and response messages for easier debugging.
- Automating content creation for blogs and websites.
- Integrating WordPress with AI assistants or other software applications for dynamic content management.
- Updating existing posts without manual intervention during content updates or migrations.
Add to your AI client
Use these steps to connect WordPress MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"wordpress-mcp-server-stefans71": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-wordpress-mcp-server-stefans71"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"wordpress-mcp-server-stefans71": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-wordpress-mcp-server-stefans71"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"wordpress-mcp-server-stefans71": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-wordpress-mcp-server-stefans71"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"wordpress-mcp-server-stefans71": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-wordpress-mcp-server-stefans71"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"wordpress-mcp-server-stefans71": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-wordpress-mcp-server-stefans71"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"wordpress-mcp-server-stefans71": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-wordpress-mcp-server-stefans71"
]
}
}
}FAQ
What prerequisites are needed to run WordPress MCP Server?
You need Node.js v18 or higher and a WordPress site with REST API enabled.
How do I authenticate with WordPress?
You will need to create an application password in your WordPress admin panel to authenticate API requests securely.
Can I contribute to the project?
Yes! Contributions are welcome; you can fork the repository and submit a pull request after making changes.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":483,"uuid":"8e7d66db-f022-40e7-868d-ec76bcfa37c0","name":"wordpress-mcp-server","title":"WordPress MCP Server","description":"This MCP server let you automate interactions with Wordpress","avatar_url":"https://avatars.githubusercontent.com/u/66725311?v=4","created_at":"2024-12-30T02:51:28.287Z","updated_at":"2025-01-05T02:54:32.259Z","status":"created","author_name":"stefans71","author_avatar_url":"https://avatars.githubusercontent.com/u/66725311?v=4","tags":"wordpress,automation,mcp-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/stefans71/wordpress-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/6cd0120cc4c5ac11d28b2c60f76033b52db98dac641de3b2644bb054b449d60c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]