Skip to content

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:

Terminal window
codex mcp login kelda-kraft

A 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.

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.

Ask: “Which plants does my organization have?”