Manage WordPress sites in MainWP from AI tools, with approval before destructive changes by default.
Runs on your machine from its package; the steps are below.

Not assessed yet.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @mainwp/mcp
MCP client config
{
"mcpServers": {
"mainwp": {
"command": "npx",
"args": [
"-y",
"@mainwp/mcp"
]
}
}
}
Manage your whole WordPress network by talking to your AI assistant.
Website · Documentation · Quickstart · Prompt Cookbook · Video · Community · Discord · Support
The MainWP MCP Server connects Claude, Cursor, OpenAI Codex, VS Code Copilot, and other MCP-compatible AI tools to MainWP, the self-hosted dashboard for managing many WordPress sites, 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 update anything."
It runs on your own computer, next to your AI tool. Nothing new is installed on your Dashboard or your child sites.
How it all works: Safety & Permissions.
Around 70 tools in all, depending on your Dashboard version. See Tools & Resources.
Built for agencies and freelancers who manage many WordPress sites and want AI help with updates, maintenance, and client work.
1. Create an Application Password. In your MainWP Dashboard, go to Users > Profile > Application Passwords, add one named "MainWP MCP Server", and copy it. It is separate from your login password, and you can revoke it at any time. A dedicated administrator account for API access keeps the audit trail clean.
2. Add the server to your AI tool. For Claude Desktop and most other MCP clients:
{
"mcpServers": {
"mainwp": {
"command": "npx",
"args": ["-y", "@mainwp/mcp"],
"env": {
"MAINWP_URL": "https://your-dashboard.com",
"MAINWP_USER": "admin",
"MAINWP_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
}
}
}
}
3. Restart your AI tool and ask "List all my sites". A working setup returns your child sites by name and URL.
Config file locations for each client are in the client setup guide. Every setting is in the Configuration Reference.
Using Claude Code? The plugin installs the server, an agent skill, and ten /mainwp:* workflow commands:
/plugin marketplace add mainwp/mainwp-mcp
/plugin install mainwp@mainwp-mcp
Credentials still come from your environment. See Claude Code plugin.
Full documentation lives at docs.mainwp.com/mcp-server:
Bug reports and pull requests are welcome. Please report security issues privately as described in SECURITY.md.
npm ci # install dependencies
npm run dev # run in watch mode
npm run inspect # test with MCP Inspector
npm test # run tests
npm run lint # check code style
npm run format # fix formatting
CI runs lint, format check, type check, tests, and build on every pull request. When you change a configuration option, update the docs-site configuration reference in the same change. .agents/skills/mainwp-dashboard is the canonical copy of the agent skill; see docs/plugin.md.
GPL-3.0. See LICENSE.