Install MainWP in Claude Code
claude mcp add mainwp -e MAINWP_URL=... -e MAINWP_USER=... -e MAINWP_APP_PASSWORD=... -- npx -y @mainwp/mcp{
"mcpServers": {
"mainwp": {
"command": "npx",
"args": [
"-y",
"@mainwp/mcp"
],
"env": {
"MAINWP_URL": "...",
"MAINWP_USER": "...",
"MAINWP_APP_PASSWORD": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the MainWP MCP server do?
Manage WordPress sites in MainWP from AI tools, with approval before destructive changes by default.
Is the MainWP MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does MainWP run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add MainWP to Claude Code?
Run: claude mcp add mainwp -e MAINWP_URL=... -e MAINWP_USER=... -e MAINWP_APP_PASSWORD=... -- npx -y @mainwp/mcp
More other tools & integrations MCP servers
View allMiro
olgasafonova/miro-mcp-server
Control Miro whiteboards with AI. 110 tools for boards, diagrams, mindmaps, comments, SVG.
Env Contract
mrfentmen/env-contract-mcp
Local value-free environment contract and configuration drift inspection. Tools include inspect...
Ncloud
sjk4425/ncloud-mcp-server
MCP server for Naver Cloud Platform (Ncloud) — Public, Government and Financial zones
Notion
Badhansen/notion-mcp
Manage personal todo lists via Notion's API.
prismAId
open-and-sustainable/prismaid
MCP server for prismAId AI-assisted systematic reviews and protocol conformance checking.
Datetime
ZeparHyfar/mcp-datetime
Date and time functions in various formats.