mcpwp

v3.0.1
io.github.mumega848/mcpwp Checked 1 day ago Published 6 months ago

MCP for WordPress — connect Claude, Cursor, or Windsurf to any WordPress site.

Values you need

VariableWhat it is
WP_URLrequired WordPress site URL (e.g. https://example.com)
WP_API_KEYrequired 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.1
Add 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

  1. 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.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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