@mainwp/mcp

Level CLocal

Official MainWP MCP server: manage your WordPress sites from Claude, Cursor, Codex, and other AI tools, with previews and approval before destructive changes

⭐ 0Office & ProductivityJavaScriptRepo ↗Updated 2026-10-13

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "npm-mainwp-mcp": {
      "command": "npx",
      "args": [
        "@mainwp/mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://www.npmjs.com/package/@mainwp/mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "npm-mainwp-mcp": {
      "command": "npx",
      "args": [
        "@mainwp/mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers