Add the server
[mcp_servers.contenthero] block to ~/.codex/config.toml. You can also add it by hand:
Authorize
Verify
Start Codex and ask it to read your ContentHero balance. It callsget_balance and returns your credits.
Native remote MCP needs a current Codex CLI. If
codex mcp add --url or codex mcp login is not recognized, update Codex. As a fallback for older builds, bridge over stdio: set the server command to npx with args ["-y", "mcp-remote", "https://mcp.contenthero.ai"].