Codex Integration
Set up SiteCMD with OpenAI Codex CLI to fix issues with full scan context.
Setup
The simplest path is to let the SiteCMD desktop app write the config for you: open SiteCMD, go to Integrations, and connect Codex. The app registers the MCP server and runs it bundled inside the app via your local Node, so there is nothing to install separately.
Codex also supports MCP servers via its configuration file. To wire it up by hand, point Codex at the bundled server script. On macOS:
{
"mcpServers": {
"sitecmd": {
"command": "node",
"args": ["/Applications/SiteCMD.app/Contents/Resources/sitecmd-mcp/sitecmd-mcp.mjs"]
}
}
}
What you get
Once connected, Codex can:
- Read scan results for any project in SiteCMD
- List open issues filtered by severity or category
- Get fix prompts with full context for each issue
- Check score trends to see if recent changes helped or hurt
- List all projects and their current health scores
- Get scan instructions for running a scan and comparing results when you need fresh data
Usage
After connecting, ask Codex to check your scan results:
codex "Check the latest SiteCMD scan for my-project and fix any critical issues"
Codex will read the scan data through MCP and apply fixes with context from SiteCMD’s Web Scan, Code Scan, update, and history data.