1.
Open Codex
2.
Paste this into your chat:
Install the HiRey MCP on this Mac by running exactly: curl -fsSL https://hi.hirey.ai/v1/install/codex.sh | bash. Do not look for or call the codex CLI. Do not open, search for, or install any plugin or marketplace. Do not inspect, print, or expose the API key. Success means the installer exits successfully or ~/.codex/config.toml already contains [mcp_servers.hi]. As soon as either success condition is true, stop immediately: do not inspect or test Hi tools in this task, because MCP tools load only when Codex starts. Tell me only to press Command-Q to fully quit Codex, reopen it, start a new task, and ask: "Call hi_agent_status and tell me whether HiRey is ready. Do not install or change anything."
3.
Follow the prompts