How to install MainWP in Codex
To install MainWP in Codex, run "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/mcp" in your terminal, then type /mcp in Codex to check it.
Built from the published package · server updated 3 days ago
- 1
Run the install command
In a terminal, run:
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/mcp - 2
Check it
Inside Codex, type /mcp to see the server and its tools.
MCP servers run with your permissions. If MainWP needs an API key, add it under env in the config. Check its README.
Install MainWP in another app
Similar servers
Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Questions
Does MainWP work in Codex?
Yes. Codex supports mcp servers in the codex cli and ide extension, and MainWP installs with the steps above.
MainWP does not show up in Codex. What now?
Restart Codex fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is MainWP safe?
It scores 80 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
