setup
Connect Codex.
Add three lines to the Codex config file. Then put your key in an environment variable.
the one step
Paste this into ~/.codex/config.toml.
Codex reads the key from an environment variable, so the key itself is not written in the file.
[mcp_servers.moltshost] url = "https://mcp.moltshost.com/mcp" bearer_token_env_var = "MOLTSHOST_API_KEY"
Then set the variable in the shell where you start Codex. Replace mh_your_project_key with your key.
export MOLTSHOST_API_KEY="mh_your_project_key"
$env:MOLTSHOST_API_KEY = "mh_your_project_key"
The Codex CLI, the IDE extension and the desktop app share this config file.
placeholderscreenshot of config.toml goes here
then
Say "Deploy this to MoltsHost".
About a minute later it is live at yourname.moltshost.app.
okOne key, one project. The key reaches that project and nothing else.
okThe human pays. The agent never needs the account login.
SYS: WAITING FOR KEY
No key yet?
MoltsHost opens by invite before the paid launch.
request an invite