Integration

Codex

Available today

Use project-scoped Codex MCP and hook config to bring Bash-side actions under the same approval and receipt model.

  • Writes `.codex/config.toml` with the MandateOS MCP entry
  • Adds Bash PreToolUse guardrails in `.codex/hooks.json`
  • Blocks conservatively when approval is still required
Install command
npx --yes --package @mandate-os/mcp@latest mandate-os-codex-install install \
  --workspace "/absolute/path/to/your/repo"
  • Reads `MANDATE_OS_BASE_URL`, `MANDATE_OS_AGENT_TOKEN`, and optional `MANDATE_OS_MCP_DEFAULT_MANDATE_ID` from your shell, then forwards the runtime values through Codex `env_vars`.
  • Status check: `npx --yes --package @mandate-os/mcp@latest mandate-os-codex-install status --workspace "/absolute/path/to/your/repo"`