OpenAI Codex
You need your Kelda Kraft MCP address from Settings, AI assistants. It ends in /mcp.
Add the server to ~/.codex/config.toml:
[mcp_servers.kelda-kraft]url = "https://app.keldakraft.no/mcp"Then sign in:
codex mcp login kelda-kraftA browser opens at the Kelda Kraft sign-in. Sign in, choose the organization, and approve. Codex stores and renews the sign-in.
Connect once for each organization, with a different server name for each.
If the sign-in does not work
Section titled “If the sign-in does not work”Sign-in for MCP servers in Codex depends on your Codex version. Run codex mcp --help to see whether login exists. If it does not, update Codex. There is no way to paste a long-lived key instead: Kelda Kraft does not issue one, on purpose.
Check it works
Section titled “Check it works”Ask: “Which plants does my organization have?”