wordpress-mcp
MCP server by cvrt-jh Community
Manages WordPress sites from an AI assistant through MCP. It covers posts, pages, users, plugins, themes and site settings, and trims verbose REST API responses to shorten output. It is for site owners and developers who run one or more WordPress sites.
Install wordpress-mcp
Built from the published package, never by AI.
claude mcp add wordpress-mcp -e WORDPRESS_SITE_URL=YOUR_WORDPRESS_SITE_URL -e WORDPRESS_USERNAME=YOUR_WORDPRESS_USERNAME -e WORDPRESS_PASSWORD=YOUR_WORDPRESS_PASSWORD -- npx -y @cavort-it-systems/wordpress-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"wordpress-mcp": {
"env": {
"WORDPRESS_PASSWORD": "YOUR_WORDPRESS_PASSWORD",
"WORDPRESS_SITE_URL": "YOUR_WORDPRESS_SITE_URL",
"WORDPRESS_USERNAME": "YOUR_WORDPRESS_USERNAME"
},
"args": [
"-y",
"@cavort-it-systems/wordpress-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"wordpress-mcp": {
"env": {
"WORDPRESS_PASSWORD": "YOUR_WORDPRESS_PASSWORD",
"WORDPRESS_SITE_URL": "YOUR_WORDPRESS_SITE_URL",
"WORDPRESS_USERNAME": "YOUR_WORDPRESS_USERNAME"
},
"args": [
"-y",
"@cavort-it-systems/wordpress-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"wordpress-mcp": {
"env": {
"WORDPRESS_PASSWORD": "YOUR_WORDPRESS_PASSWORD",
"WORDPRESS_SITE_URL": "YOUR_WORDPRESS_SITE_URL",
"WORDPRESS_USERNAME": "YOUR_WORDPRESS_USERNAME"
},
"args": [
"-y",
"@cavort-it-systems/wordpress-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add wordpress-mcp --env WORDPRESS_SITE_URL=YOUR_WORDPRESS_SITE_URL --env WORDPRESS_USERNAME=YOUR_WORDPRESS_USERNAME --env WORDPRESS_PASSWORD=YOUR_WORDPRESS_PASSWORD -- npx -y @cavort-it-systems/wordpress-mcp{
"mcpServers": {
"wordpress-mcp": {
"env": {
"WORDPRESS_PASSWORD": "YOUR_WORDPRESS_PASSWORD",
"WORDPRESS_SITE_URL": "YOUR_WORDPRESS_SITE_URL",
"WORDPRESS_USERNAME": "YOUR_WORDPRESS_USERNAME"
},
"args": [
"-y",
"@cavort-it-systems/wordpress-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add wordpress-mcp npx -y @cavort-it-systems/wordpress-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the wordpress-mcp block.
About
wordpress-mcp is a lightweight MCP server for WordPress site management. It connects to one or more WordPress sites through the REST API, using the sites listed in a single WORDPRESS_SITES environment variable. Every tool except list_sites takes a site argument that names the target site id.
The server slims REST API responses. According to the source, it removes internal fields such as guid and _links, drops theme and plugin metadata, strips HTML from excerpts and returns compact single-line JSON. The README reports reductions of about 95 to 96 percent for post lists, single posts and plugin lists. Standard WordPress tools work on any site. Extended tools need the cvrt-mcp-endpoints plugin, and the ACF and WooCommerce module needs wp-pilot-pro. It suits people who want an assistant to manage WordPress content and admin tasks with less token use.
Written from the project's README and checked against it.
Tools it gives your assistant
list_sitesLists configured site ids and URLs. Passwords are never returned.wp_list_postsLists posts with filters, in slimmed form.wp_create_postCreates a new post on a configured site.wp_update_postUpdates an existing post.wp_list_pluginsLists installed plugins.wp_activate_pluginActivates a plugin using its file path, such as akismet/akismet.php.wp_list_usersLists users on a site.mcp_install_pluginInstalls a plugin from WordPress.org. Requires cvrt-mcp-endpoints.mcp_get_healthReturns the site health score. Requires cvrt-mcp-endpoints.mcp_search_replaceRuns a search and replace in the database. Requires cvrt-mcp-endpoints.
What you need
- npm or npx to install and run the server
- A WordPress site with Application Passwords (WordPress 5.6+)
- WordPress username and application password for each site
- cvrt-mcp-endpoints plugin for the extended mcp_ tools
- wp-pilot-pro and ACF for the ACF module
| Setting | Needed | What it is |
|---|---|---|
WORDPRESS_Environment variable, secret | Required | JSON array of sites: [{"id","url","username","password"}] (password = WordPress Application Password) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- List all configured WordPress sites with list_sites
- Create a draft post on my boardcouture site with this text
- Show me which plugins are installed and activate akismet/akismet.php
Good to know
- The 42 tool figure in the declared description covers only the standard WordPress REST API tools. The source lists 314 tools in total.
- Version 3.0 is a breaking change. The old single-site variables WORDPRESS_SITE_URL, WORDPRESS_USERNAME and WORDPRESS_PASSWORD are no longer read.
- Extended tools require the cvrt-mcp-endpoints plugin to be installed and activated.
- The ACF module requires wp-pilot-pro and ACF.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to wordpress-mcp
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
wordpress-mcp: common questions
How many tools does wordpress-mcp have?
The source lists 314 tools in total. The standard WordPress REST API section has 42 tools, and extended and module tools are listed separately.
How does it reduce response size?
It removes internal fields such as guid and _links, drops theme and plugin metadata, strips HTML from excerpts and returns compact JSON. The README reports reductions of about 95 to 96 percent for listed examples.
Does it support more than one WordPress site?
Yes. One server instance manages any number of sites defined in the WORDPRESS_SITES environment variable, and each tool call names the site it targets.
How do I install wordpress-mcp?
In Claude Code run claude mcp add wordpress-mcp -e WORDPRESS_SITE_URL=YOUR_WORDPRESS_SITE_URL -e WORDPRESS_USERNAME=YOUR_WORDPRESS_USERNAME -e WORDPRESS_PASSWORD=YOUR_WORDPRESS_PASSWORD -- npx -y @cavort-it-systems/wordpress-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is wordpress-mcp the official server?
wordpress-mcp is a community project by cvrt-jh, not verified by a company domain.
Is wordpress-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is wordpress-mcp safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to wordpress-mcp?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does wordpress-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
