mcpwp
v3.0.1MCP for WordPress — connect Claude, Cursor, or Windsurf to any WordPress site.
Values you need
| Variable | What it is | |
|---|---|---|
WP_URL | required | WordPress site URL (e.g. https://example.com) |
WP_API_KEY | required secret | MCPWP API key — generate in WP Admin → MCPWP → Setup |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcpwp -e 'WP_API_KEY=<WP_API_KEY>' -e 'WP_URL=<WP_URL>' -- npx -y @mcpwp.net/mcpwp@3.0.1Add to
claude_desktop_config.json{
"mcpServers": {
"mcpwp": {
"args": [
"-y",
"@mcpwp.net/mcpwp@3.0.1"
],
"command": "npx",
"env": {
"WP_API_KEY": "<WP_API_KEY>",
"WP_URL": "<WP_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcpwp": {
"args": [
"-y",
"@mcpwp.net/mcpwp@3.0.1"
],
"command": "npx",
"env": {
"WP_API_KEY": "<WP_API_KEY>",
"WP_URL": "<WP_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "WP_API_KEY",
"id": "wp-api-key",
"password": true,
"type": "promptString"
},
{
"description": "WP_URL",
"id": "wp-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcpwp": {
"args": [
"-y",
"@mcpwp.net/mcpwp@3.0.1"
],
"command": "npx",
"env": {
"WP_API_KEY": "${input:wp-api-key}",
"WP_URL": "${input:wp-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcpwp]
command = "npx"
args = ["-y", "@mcpwp.net/mcpwp@3.0.1"]
env = { "WP_API_KEY" = "<WP_API_KEY>", "WP_URL" = "<WP_URL>" }For AI agents
- Ask the user for: WP_URL, WP_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json