woocommerce-mcp

v0.1.1
io.github.wppoland/woocommerce-mcp Checked 3 days ago Published 4 months ago

Read-only MCP server for WordPress + WooCommerce products, orders, sales, and posts.

This server failed our last smoke test; it may not start.

Values you need

VariableWhat it is
WP_URLrequired Base URL of the WordPress / WooCommerce store (HTTPS)
WC_CONSUMER_KEYoptional secret WooCommerce REST API consumer key (Read permission)
WC_CONSUMER_SECREToptional secret WooCommerce REST API consumer secret (Read permission)

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add woocommerce-mcp -e 'WP_URL=<WP_URL>' -- npx -y @wppoland/woocommerce-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "woocommerce-mcp": {
      "args": [
        "-y",
        "@wppoland/woocommerce-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "WP_URL": "<WP_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "woocommerce-mcp": {
      "args": [
        "-y",
        "@wppoland/woocommerce-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "WP_URL": "<WP_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "WP_URL",
      "id": "wp-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "woocommerce-mcp": {
      "args": [
        "-y",
        "@wppoland/woocommerce-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "WP_URL": "${input:wp-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.woocommerce-mcp]
command = "npx"
args = ["-y", "@wppoland/woocommerce-mcp@0.1.1"]
env = { "WP_URL" = "<WP_URL>" }

For AI agents

  1. Ask the user for: WP_URL. 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