MCP Server Studio

Wpagent MCP MCP server

Manage WordPress & WooCommerce from any MCP client — 58 tools over a signed REST API.

Registry name: dev.wpagent/wpagent-mcp

Publisher
wpagent.dev
Runs
Runs locally
Package
npm
Version
1.1.4
Category
Developer tools
Updated
2026-08-27

Source code on GitHub

Set up Wpagent MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "wpagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WP_SITE_URL": "<WP_SITE_URL>",
        "WP_API_KEY_ID": "<WP_API_KEY_ID>",
        "WP_API_SECRET": "<WP_API_SECRET>",
        "WP_SITE_LABEL": "<WP_SITE_LABEL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add wpagent-mcp -e WP_SITE_URL='<WP_SITE_URL>' -e WP_API_KEY_ID='<WP_API_KEY_ID>' -e WP_API_SECRET='<WP_API_SECRET>' -e WP_SITE_LABEL='<WP_SITE_LABEL>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "wpagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WP_SITE_URL": "<WP_SITE_URL>",
        "WP_API_KEY_ID": "<WP_API_KEY_ID>",
        "WP_API_SECRET": "<WP_API_SECRET>",
        "WP_SITE_LABEL": "<WP_SITE_LABEL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "wpagent-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WP_SITE_URL": "<WP_SITE_URL>",
        "WP_API_KEY_ID": "<WP_API_KEY_ID>",
        "WP_API_SECRET": "<WP_API_SECRET>",
        "WP_SITE_LABEL": "<WP_SITE_LABEL>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "wpagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WP_SITE_URL": "<WP_SITE_URL>",
        "WP_API_KEY_ID": "<WP_API_KEY_ID>",
        "WP_API_SECRET": "<WP_API_SECRET>",
        "WP_SITE_LABEL": "<WP_SITE_LABEL>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
WP_SITE_URLYesBase URL of your WordPress site, no trailing slash
WP_API_KEY_IDYesAPI key id shown by the WpAgent plugin
WP_API_SECRETYesAPI key secret, displayed once at generation
WP_SITE_LABELNoFriendly name for the site; defaults to the hostname

More developer tools MCP servers