wpagent-mcp
v1.1.4Manage WordPress & WooCommerce from any MCP client — 58 tools over a signed REST API.
Values you need
| Variable | What it is | |
|---|---|---|
WP_SITE_URL | required | Base URL of your WordPress site, no trailing slash |
WP_API_KEY_ID | required | API key id shown by the WpAgent plugin |
WP_API_SECRET | required secret | API key secret, displayed once at generation |
WP_SITE_LABEL | optional | Friendly name for the site; defaults to the hostname |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add wpagent-mcp -e 'WP_API_KEY_ID=<WP_API_KEY_ID>' -e 'WP_API_SECRET=<WP_API_SECRET>' -e 'WP_SITE_URL=<WP_SITE_URL>' -- npx -y wpagent-mcp@1.1.4Add to
claude_desktop_config.json{
"mcpServers": {
"wpagent-mcp": {
"args": [
"-y",
"wpagent-mcp@1.1.4"
],
"command": "npx",
"env": {
"WP_API_KEY_ID": "<WP_API_KEY_ID>",
"WP_API_SECRET": "<WP_API_SECRET>",
"WP_SITE_URL": "<WP_SITE_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"wpagent-mcp": {
"args": [
"-y",
"wpagent-mcp@1.1.4"
],
"command": "npx",
"env": {
"WP_API_KEY_ID": "<WP_API_KEY_ID>",
"WP_API_SECRET": "<WP_API_SECRET>",
"WP_SITE_URL": "<WP_SITE_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "WP_API_KEY_ID",
"id": "wp-api-key-id",
"password": true,
"type": "promptString"
},
{
"description": "WP_API_SECRET",
"id": "wp-api-secret",
"password": true,
"type": "promptString"
},
{
"description": "WP_SITE_URL",
"id": "wp-site-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"wpagent-mcp": {
"args": [
"-y",
"wpagent-mcp@1.1.4"
],
"command": "npx",
"env": {
"WP_API_KEY_ID": "${input:wp-api-key-id}",
"WP_API_SECRET": "${input:wp-api-secret}",
"WP_SITE_URL": "${input:wp-site-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.wpagent-mcp]
command = "npx"
args = ["-y", "wpagent-mcp@1.1.4"]
env = { "WP_API_KEY_ID" = "<WP_API_KEY_ID>", "WP_API_SECRET" = "<WP_API_SECRET>", "WP_SITE_URL" = "<WP_SITE_URL>" }For AI agents
- Ask the user for: WP_SITE_URL, WP_API_KEY_ID, WP_API_SECRET. 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.
- Verify: the server should expose these tools: wp_site_info, wp_site_health, wp_list_plugins, wp_search_plugins, wp_install_plugin, wp_activate_plugin, wp_deactivate_plugin, wp_delete_plugin, ….
- 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