MCP server
MainWP
io.github.mainwp/mainwp-mcp
Checked 25 Oct 2026, 21:11 UTC · Still published on its registry; checked against OSV.dev; never run by us
Manage WordPress sites in MainWP from AI tools, with approval before destructive changes by default.
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 25 Oct 2026, 21:11 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add mainwp-mcp --env MAINWP_URL=YOUR_VALUE --env MAINWP_USER=YOUR_VALUE --env MAINWP_APP_PASSWORD=YOUR_VALUE -- npx -y @mainwp/mcp@1.5.1
Claude Desktop
{"mcpServers":{"mainwp-mcp":{"command":"npx","args":["-y","@mainwp/mcp@1.5.1"],"env":{"MAINWP_URL":"YOUR_VALUE","MAINWP_USER":"YOUR_VALUE","MAINWP_APP_PASSWORD":"YOUR_VALUE"}}}}
Codex (config.toml)
[mcp_servers.mainwp-mcp]
command = "npx"
args = ["-y","@mainwp/mcp@1.5.1"]
env = { MAINWP_URL = "YOUR_VALUE", MAINWP_USER = "YOUR_VALUE", MAINWP_APP_PASSWORD = "YOUR_VALUE" }
Gemini CLI
{"mcpServers":{"mainwp-mcp":{"command":"npx","args":["-y","@mainwp/mcp@1.5.1"],"env":{"MAINWP_URL":"YOUR_VALUE","MAINWP_USER":"YOUR_VALUE","MAINWP_APP_PASSWORD":"YOUR_VALUE"}}}}
Cursor
{"mcpServers":{"mainwp-mcp":{"command":"npx","args":["-y","@mainwp/mcp@1.5.1"],"env":{"MAINWP_URL":"YOUR_VALUE","MAINWP_USER":"YOUR_VALUE","MAINWP_APP_PASSWORD":"YOUR_VALUE"}}}}
VS Code
{"servers":{"mainwp-mcp":{"type":"stdio","command":"npx","args":["-y","@mainwp/mcp@1.5.1"],"env":{"MAINWP_URL":"YOUR_VALUE","MAINWP_USER":"YOUR_VALUE","MAINWP_APP_PASSWORD":"YOUR_VALUE"}}}}
Runs on your computer with your permissions: check the package and its source before installing. Replace YOUR_VALUE with your own MAINWP_URL, MAINWP_USER, MAINWP_APP_PASSWORD.
Browse
Related MCP servers
- WebinarIgnition
Webinar leads, registrants and revenue from WordPress and WooCommerce, in the chat. - BorealHost
Agent-native web hosting — deploy sites, manage DNS, register domains, scale infrastructure - Relvato
Website monitoring: uptime, checkout, SEO (Search Console, Bing), security, speed, DNS, compliance. - AuditAE SEO MCP
SEO MCP: Search Console, GA4, SERP and domain data, rank tracking, AI citations and site fixes. - OnPage.dev
Free SEO MCP that closes the loop: find, fix, ship as a PR or to a CMS, prove. 37 tools, no key. - OSIR Domain Registrar
Register, renew, transfer, and manage domains, DNS, VPS, and email with 106 tools. By OSIR. - Agendaforge
Event management for organizers: events, sessions, speakers, agendas, forms, approval-gated writes. - Site Passport
Live-checks whether a WordPress site is ready to be safely operated by AI agents.
Badge for your README
[](https://aptlynx.net/servers/io.github.mainwp/mainwp-mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents