MainWP

io.github.mainwp/mainwp-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mainwp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mainwp/mcp@1.5.1"
      ],
      "env": {
        "MAINWP_URL": "<your MAINWP_URL>",
        "MAINWP_USER": "<your MAINWP_USER>",
        "MAINWP_APP_PASSWORD": "<your MAINWP_APP_PASSWORD>"
      }
    }
  }
}
Environment variables
  • MAINWP_URLrequiredAddress of your MainWP Dashboard, such as https://dashboard.example.com
  • MAINWP_USERrequiredWordPress username of the Dashboard administrator (the login name, not the display name)
  • MAINWP_APP_PASSWORDrequiredsecretWordPress Application Password for that user, not their login password

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.5.1
Registry
active
Published
10/13/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that MainWP is listed here — it’s also the link we check for a free listing.

MainWP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-mainwp-mainwp-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="MainWP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![MainWP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-mainwp-mainwp-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.