LocalFree server, account needed

MainWP MCP server

mainwp/mainwp-mcp

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

31 GitHub stars7 forks

Install MainWP in Claude Code

Claude Code
claude mcp add mainwp -e MAINWP_URL=... -e MAINWP_USER=... -e MAINWP_APP_PASSWORD=... -- npx -y @mainwp/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "mainwp": {
      "command": "npx",
      "args": [
        "-y",
        "@mainwp/mcp"
      ],
      "env": {
        "MAINWP_URL": "...",
        "MAINWP_USER": "...",
        "MAINWP_APP_PASSWORD": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the MainWP MCP server do?

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

Is the MainWP MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does MainWP run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add MainWP to Claude Code?

Run: claude mcp add mainwp -e MAINWP_URL=... -e MAINWP_USER=... -e MAINWP_APP_PASSWORD=... -- npx -y @mainwp/mcp

More other tools & integrations MCP servers

View all