Connect Codex
-
Put your API key in an environment variable, for example in your shell profile:
export HARMONY_API_KEY="harmony_pk_..." -
Add the Harmony server:
codex mcp add harmony --url https://api.harmony.ai/api/mcp \--bearer-token-env-var HARMONY_API_KEY -
Start Codex and ask: "List my Harmony workflows."
Codex saves the server in ~/.codex/config.toml and reads the key from HARMONY_API_KEY, so start Codex from a shell where it's set. If your Account is in the EU, use https://api.eu.harmony.ai/api/mcp.