MainWP MCP: WordPress sites from an agent

MainWP MCP Server

MainWP's official MCP server: an agent watches a network of WordPress sites, applies plugin and theme updates and prepares reports

  • 32 ★ on the repository
  • Last commit
MCP serverOfficial

Broad access

Why this level

  • An agent updates, activates and deletes plugins, themes and sites across all connected sites
  • The Application Password opens the Dashboard with agency client data
All reasons and checks

mainwp/mainwp-mcp

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/mainwp-mcp-server

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • An agent updates, activates and deletes plugins, themes and sites across all connected sites
  • The Application Password opens the Dashboard with agency client data

This is third-party code. Review the repository files before installing.

What it does

The server connects an agent to MainWP Dashboard, a self-hosted panel for managing many WordPress sites. It runs on your computer next to the AI client and installs nothing on the Dashboard or child sites. Sign-in uses a WordPress Application Password that can be revoked at any time. There are about seventy tools, and the number depends on the Dashboard version. The agent lists, syncs, adds and removes child sites, checks connectivity, sees pending core, plugin, theme and translation updates across the network and applies them. It activates, deactivates and deletes plugins and themes and manages clients and tags. For Dashboard 6.3 and newer there are notes, skills and memories about the agency, clients and sites that the agent reads before working. Ready workflows build a network summary, a site report, a security audit and an update plan. For Claude Code there is a plugin with a skill and ten /mainwp commands.

Who it is for. Agencies and freelancers who run dozens of WordPress sites in MainWP and want an agent to take over the routine of updates and checks.

Good fit when

  • You need to know which sites in the network have plugin updates pending
  • Before updating WooCommerce you want a plan and a view of what changes on each site
  • Some client sites dropped off and their connection to the Dashboard needs checking
  • The agency keeps client notes and the agent has to read them before any edits
  • Once a week you want a network summary and a security audit of the sites

Not a fit when

  • The sites are not managed through MainWP: the server works only with its Dashboard
  • The Dashboard is not reachable over HTTPS: a secure address is needed to connect
  • The agent cannot be trusted with deletion: turn on safe mode, which blocks destructive operations
  • The Dashboard is older than 6.0: the server does not support it

Example request

Show which network sites have pending plugin updates and draft a WooCommerce update plan without deleting anything.

MCP

Transport
stdio
Authentication
API key

Environment variables

MAINWP_URL required
MainWP Dashboard address over HTTPS
MAINWP_USER required
Dashboard user name
MAINWP_APP_PASSWORD required, secret
WordPress Application Password, revocable

Limitations

You need Node.js 20.19 or newer and MainWP Dashboard 6.0 or later, reachable over HTTPS. Some tools need a newer Dashboard, and the Quickstart lists which. The Application Password is created in the Dashboard user profile, and a dedicated administrator account for API access is better.

By default deleting a site, plugin or theme shows a preview and runs after approval, and on Dashboard 6.3 and newer updates work the same way. Safe mode blocks such operations outright, and allow and block lists of tools hide the rest from the agent.

How to disable. Remove the server with claude mcp remove mainwp. Revoke the Application Password in the Dashboard user profile under Application Passwords.

FAQ

How do I connect MainWP MCP to Claude Code?

Install the plugin: /plugin marketplace add mainwp/mainwp-mcp, then /plugin install mainwp@mainwp-mcp. It installs the server, an agent skill and ten /mainwp commands. Credentials come from the environment.

Do I need to install anything on the sites?

No. The server runs on your computer and talks only to the Dashboard, and nothing new is installed on the Dashboard or child sites. Access goes through a WordPress Application Password.

Can the agent delete a site or plugin?

Only after your approval. By default deletion shows a preview, and safe mode blocks such operations outright. You can also hide risky tools with allow and block lists.

How many tools does the server have?

About seventy, and the exact number depends on the Dashboard version. They cover sites, updates, plugins and themes, clients and tags, notes and ready report workflows. The full list is on docs.mainwp.com.

Which Dashboard version is needed?

Version 6 or later, reachable over HTTPS. Agency notes, skills and memories and update approval are available on 6.3 and newer. The tools by version are listed in the Quickstart.

Discussion

No questions or reviews yet.

A free WordPress plugin with an MCP server of 200+ tools: Claude, ChatGPT and Cursor manage your site, WooCommerce and menus

MCP serverBroad access71Repository stars

A WordPress plugin with a built-in MCP server: 58 operations on posts, media, users, plugins and menus of the site

MCP serverBroad access172Repository stars
Official

SeldonFrame MCP server and plugin: an agent builds a client site, booking flow, CRM and AI agent from one request

MCP serverBroad access70Repository stars
Official

The MCP plugin connects agents to an AdminForth business app with user permissions and attribution for changes.

MCP serverExtended access392Repository stars
Official

Zapier's official MCP plugin: the agent gets actions across thousands of apps through your Zapier account

PluginBroad access458Repository stars

A Node.js MCP server through which an agent controls Home Assistant devices and edits its automations

MCP serverBroad access574Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
MainWP MCP: WordPress sites from an agent (this card)yesAPI key32
MCP WordPress ServernoAPI key114manages one WordPress site over REST, while this server works with a network of sites through MainWP Dashboard
Agent Skills for WordPressno2,354skills for WordPress development with no network management

README in short

The README presents the server as official, shows example requests and describes control: approval for changes, safe mode and tool lists. Then come features, requirements, three setup steps, the Claude Code plugin and documentation links.

README badge

Report a problem