Listed from the MCP registry; nobody on Odel publishes it.
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.

At most: moves money, runs code or commands, deletes data, or sends messages for you.
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 from Claude, Cursor, Codex, or VS Code through one local connection.
Website · MainWP AI · Documentation · Quickstart · Prompt Cookbook · Video · Community · Discord · Support
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.
Move faster across client sites while keeping every change under your control:
Use MainWP abilities and MCP.Full confirmation and security details: Safety & Permissions.
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:
See Tools & Resources for tool naming and mainwp:// inspection resources.
MainWP gives you three free ways to work with AI on your sites. This package is the one that runs on your computer.
| Option | Best for | How it connects |
|---|---|---|
| Local server (this package) | Coding agents and desktop apps on your computer, private or VPN Dashboards, local safe mode, and the Claude Code plugin | Runs on your computer with a WordPress Application Password |
| Connect directly | claude.ai, ChatGPT, and other hosted apps, with no local install | OAuth 2.1 sign-in under AI > MainWP MCP > Connect an app (Remote connections) |
| MainWP Assistant | MainWP answers (with no AI key) and site checks inside your Dashboard | Assistant in your Dashboard sidebar (MainWP Assistant) |
In your MainWP Dashboard, open AI > MainWP MCP > Local server for guided setup that creates an Application Password and a ready-to-paste client config. To configure manually:
1. Create an Application Password. In your MainWP Dashboard, open API Access > Application Passwords (or Users > Profile > Application Passwords in WordPress admin), add one named "MainWP MCP Server", and copy it. A dedicated administrator account keeps your audit trail clean and lets you revoke access in one click.
2. Add the server to your AI client. For Claude Desktop, Cursor, and most 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 client and test. Ask "List all my sites". A working setup returns your child sites by name and URL.
Client-specific config paths live in Client setup. All environment variables and settings.json options live in the Configuration Reference.
Claude Code: the official plugin installs the MCP server, the mainwp-dashboard agent skill, and ten /mainwp:* workflow commands for setup, updates, maintenance checks, site reports, backups, security audits, and troubleshooting:
/plugin marketplace add mainwp/mainwp-mcp
/plugin install mainwp@mainwp-mcp
The plugin reads your credentials from your shell environment. See the Claude Code plugin guide.
Claude Desktop: install the mainwp-mcp.mcpb bundle from Claude Desktop Settings. You connect without editing claude_desktop_config.json, and your Application Password is stored in your operating system keychain.
Full guides live at docs.mainwp.com/mcp-server:
settings.json, and first-run chat setupBug reports and pull requests are welcome. Report security issues privately as described in SECURITY.md.
npm ci # install dependencies
npm run dev # run from source
npm run inspect # test with MCP Inspector
npm test # run tests
npm run lint # check code style
npm run format:check # check formatting
npm run format # fix formatting
CI runs format check, lint, typecheck, version check, plugin and skill sync checks, build, and tests on every pull request. When changing 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 (shared with Codex CLI and other agent-skills clients); see docs/plugin.md.
GPL-3.0. MainWP MCP, MainWP Dashboard, MainWP Child, and MainWP Control are open source under the GPL. See LICENSE.