Skip to main content

MainWP

io.github.mainwp/mainwp-mcp

v1.7.0Updated Nov 25, 2026stdio · npm

Manage WordPress sites in MainWP from AI tools, with approval before destructive changes by default.

Install

Needs 1 secret. Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add mainwp-mcp -e 'MAINWP_URL=<your-mainwp-url>' -e 'MAINWP_USER=<your-mainwp-user>' -e 'MAINWP_APP_PASSWORD=<your-mainwp-app-password>' -- npx -y @mainwp/[email protected]

Configuration

3 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • MAINWP_APP_PASSWORD
    Env var· required· secret
    WordPress Application Password for that user, not their login password
  • MAINWP_URL
    Env var· required
    Address of your MainWP Dashboard, such as https://dashboard.example.com
  • MAINWP_USER
    Env var· required
    WordPress username of the Dashboard administrator (the login name, not the display name)

Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.