Manage your whole WordPress network from Claude, Cursor, Codex, or VS Code through one local connection.
Website ·
MainWP AI ·
Documentation ·
Quickstart ·
Prompt Cookbook ·
Video ·
Community ·
Discord ·
Support
Official MainWP MCP Server
The MainWP MCP Server (@mainwp/mcp) connects Claude Code, Claude Desktop, Cursor, OpenAI Codex, VS Code Copilot, and other MCP-compatible AI tools to your self-hosted MainWP Dashboard. It is built for WordPress professionals and agencies who maintain client sites. One local connection reaches every WordPress site you manage, so you can ask in plain English:
"Which sites have pending plugin updates?"
"Update WooCommerce everywhere it's behind."
"Which client sites are disconnected right now?"
"Check what we know about this client's sites before you plan updates."
It runs locally on your computer beside your AI tool and connects straight to your Dashboard over HTTPS, with no MainWP service in between. Your client sites keep running the MainWP Child plugin they already have, with no extra plugins to install.
Stay in control of every change
Move faster across client sites while keeping every change under your control:
- Previews and approval by default. Updates, plugin and theme changes, and deletions show a preview first and run after you approve. Each approval covers that exact change and expires after five minutes. With pre-update backups turned on in MainWP Built-In Backups, update previews include each site's backup check.
- Safe mode for testing and onboarding. Safe mode blocks destructive tools while site syncing and update previews keep working, so new team members and new clients can explore freely.
- Allow and block lists. Choose which tools your assistant can see and call, including a ready-made read-only list in Restrict Available Tools.
- Knowledge before planning. The server tells your assistant to load your Agency, Client, and Site Knowledge before it plans work, keeping update windows and held plugins in view.
- Your credentials, your permissions. The server signs in with a revocable WordPress Application Password and connects straight from your computer to your MainWP Dashboard over HTTPS. Every call runs under that WordPress user's permissions, including Team Control (MainWP Pro) roles granted
Use MainWP abilities and MCP.
Full confirmation and security details: Safety & Permissions.
What you can do
Your assistant gets over 100 tools from the free MainWP Core, plus tools from over 15 MainWP add-ons, discovered automatically when the add-on is active: