Skip to content

Connect Claude Code

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 where Claude Code runs.
  2. Start Claude Code with HERMITBOX_API_URL and HERMITBOX_API_KEY in its private environment.
  3. Merge this into project .mcp.json, restart, and ask for project defaults, a sandbox, hello and cleanup. Container defaults need an image; process and Wasm must omit it.
{
"mcpServers": {
"hermitbox": {
"type": "stdio", "command": "hermitbox", "args": ["mcp"],
"env": { "HERMITBOX_API_URL": "${HERMITBOX_API_URL}", "HERMITBOX_API_KEY": "${HERMITBOX_API_KEY}" }
}
}
}

Claude Code’s reference defines this file and variable expansion. Host admission enforces tier limits; an agent cannot grant missing capabilities.

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