Skip to content

Connect Codex

On the machine where you ran the installer, the one-step setup is in Use with your agent: it needs no key. This page is for a remote install.

  1. Install the hermitbox CLI on the machine running Codex.
  2. Start Codex with HERMITBOX_API_URL and HERMITBOX_API_KEY in its private environment.
  3. Merge this into ~/.codex/config.toml, restart, and ask for project defaults, a sandbox, hello and cleanup. Supply an image only for a container default.
[mcp_servers.hermitbox]
command = "hermitbox"
args = ["mcp"]
env_vars = ["HERMITBOX_API_URL", "HERMITBOX_API_KEY"]

The Codex reference also documents project .codex/config.toml in trusted projects. env_vars passes named values without storing the key. Host policy and tier limits remain in force.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
agents can read every page: llms.txt · llms-full.txt