Catalogue, accords mets-vins et points de vente des vins d'Occitanie de Maison CHAPE.
MainWP MCP Server
Published by mainwpManage WordPress sites in MainWP from AI tools, with approval before destructive changes by default.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 1.7.0
- SOURCE CHECKED
- Nov 29, 2026
Quick answers
How do I add MainWP MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'MAINWP_URL=<your-mainwp-url>' --env 'MAINWP_USER=<your-mainwp-user>' --env 'MAINWP_APP_PASSWORD=<your-mainwp-app-password>' --transport stdio mainwp -- npx -y @mainwp/mcpReplace the <your-…> placeholder with your own MAINWP_URL and MAINWP_USER and MAINWP_APP_PASSWORD.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"mainwp": {
"command": "npx",
"args": [
"-y",
"@mainwp/mcp"
],
"env": {
"MAINWP_URL": "<your-mainwp-url>",
"MAINWP_USER": "<your-mainwp-user>",
"MAINWP_APP_PASSWORD": "<your-mainwp-app-password>"
}
}
}
}Replace the <your-…> placeholder with your own MAINWP_URL and MAINWP_USER and MAINWP_APP_PASSWORD.
CodexCommand
Run this in your terminal:
codex mcp add mainwp --env 'MAINWP_URL=<your-mainwp-url>' --env 'MAINWP_USER=<your-mainwp-user>' --env 'MAINWP_APP_PASSWORD=<your-mainwp-app-password>' -- npx -y @mainwp/mcpReplace the <your-…> placeholder with your own MAINWP_URL and MAINWP_USER and MAINWP_APP_PASSWORD.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"mainwp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mainwp/mcp"
],
"env": {
"MAINWP_URL": "<your-mainwp-url>",
"MAINWP_USER": "<your-mainwp-user>",
"MAINWP_APP_PASSWORD": "<your-mainwp-app-password>"
}
}
}
}Replace the <your-…> placeholder with your own MAINWP_URL and MAINWP_USER and MAINWP_APP_PASSWORD.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"mainwp": {
"command": "npx",
"args": [
"-y",
"@mainwp/mcp"
],
"env": {
"MAINWP_URL": "<your-mainwp-url>",
"MAINWP_USER": "<your-mainwp-user>",
"MAINWP_APP_PASSWORD": "<your-mainwp-app-password>"
}
}
}
}Replace the <your-…> placeholder with your own MAINWP_URL and MAINWP_USER and MAINWP_APP_PASSWORD.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use MainWP MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does MainWP MCP Server need an API key?
To run it on your computer, set MAINWP_URL, MAINWP_USER and MAINWP_APP_PASSWORD first, with values from the publisher.
Is MainWP MCP Server official?
It's published by mainwp. The Official MCP Registry accepts names under io.github.mainwp only from the GitHub account or organisation mainwp. We last checked its listing on Nov 29, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @mainwp/mcp@1.7.0