Codex Integration
Set up SiteCMD with OpenAI Codex CLI to fix issues with full scan context.
Setup
Codex supports MCP servers via its configuration file. Add SiteCMD to your Codex config:
{
"mcpServers": {
"sitecmd": {
"command": "node",
"args": ["~/.sitecmd/mcp-server/index.js"]
}
}
}
What you get
Once connected, Codex can:
- Read scan results for any project in SiteCMD
- List issues filtered by severity, category, or status
- 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
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 full context from the 250+ checks that ran.