Claude Code CLI
Install the plugin from your terminal, with an agent skill and workflow commands.
Claude Desktop
Install the MCP Bundle through the Desktop app’s extension dialog.
npx -y @mainwp/mcp with your Dashboard URL, WordPress username, and Application Password. Use them for another AI client or when you prefer a manual server connection.
If you keep credentials in a central ~/.config/mainwp-mcp/settings.json instead (see Configuration Reference), omit the env block in any of these examples.
In MainWP Dashboard 6.3, open AI > MainWP MCP for guided setup. The Application Password success dialog also offers a Connect an AI tool panel with prefilled Claude Code, Cursor, and VS Code configurations. Copy the format for your client while the password is visible; see Application Passwords.
- Claude Desktop
- Claude Code CLI
- Cursor
- VS Code Copilot
- OpenAI Codex
- ZenCoder
- Other MCP hosts
For extension installation, use Install in Claude Desktop. The instructions below are the manual config-file alternative.Edit the Claude Desktop configuration file:Replace the URL with your Dashboard address, the username with the WordPress user that owns the Application Password, and the password with the one WordPress generated. Spaces in the password are fine either way, WordPress accepts it with or without them.Restart Claude Desktop after saving.
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
mcpServers block (create the file if it does not exist):Managing multiple Dashboards
Give each Dashboard its own folder with its ownsettings.json, then point each server entry at the right folder with cwd:
./settings.json from its working directory first, so each entry picks up its own credentials. Details in the Configuration Reference.