Skip to content
docs
type to search↑↓ move↵ openesc close
v0.2.4github

Connect Codex

1 min readv0.2.4this page as markdown
let your agent do it
Connect Codex to my remote Hermitbox install through hermitbox mcp.
Paste it into your agent. It follows this page as Markdown: codex.md

Give Codex the Hermitbox tools for a remote install through hermitbox mcp over stdio. On the machine where you ran the installer, use the keyless setup in Use Hermitbox with your agent instead.

  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.
toml
[mcp_servers.hermitbox]
command = "hermitbox"
args = ["mcp"]
env_vars = ["HERMITBOX_API_URL", "HERMITBOX_API_KEY"]

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

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
Linux (x86_64 or aarch64), no root, no Docker. Agents can read every page: llms.txt · llms-full.txt
the floor · nothing below this line