Codex logo

Codex Integration

Codex + WordPress, terminal speed with production guardrails

Codex is excellent for focused terminal workflows. Respira makes those workflows safe for live WordPress operations through duplicate-first editing and approval checkpoints.

Setup

CLI method and config.toml method

  1. Run the codex mcp add command below.
  2. Or paste the TOML block into your Codex config.
  3. Set your real WordPress URL and Respira API key.
  4. Run a read-only prompt first, then duplicate-first edits.
codex mcp add respira-wordpress \
  --env WORDPRESS_URL=https://yoursite.com \
  --env WORDPRESS_API_KEY=respira_your_api_key \
  -- npx -y @respira/wordpress-mcp-server
[mcp_servers.respira-wordpress]
command = "npx"
args = ["-y", "@respira/wordpress-mcp-server"]

[mcp_servers.respira-wordpress.env]
WORDPRESS_URL = "https://yoursite.com"
WORDPRESS_API_KEY = "respira_your_api_key"

Health check

Run setup and test commands

npx @respira/wordpress-mcp-server --setup
npx @respira/wordpress-mcp-server --test

Prompt starter

First prompts to run

  1. "Read page structure and summarize opportunities. No edits."
  2. "Duplicate target page and update only hero CTA copy."
  3. "Validate duplicate and generate approval + rollback note."

Recommended for teams

Codex works especially well for technical teams that want scripted, reproducible WordPress operations while keeping a strict approval gate before publication.