Connect Claude Code
let your agent do it
Connect Claude Code to my remote Hermitbox install through hermitbox mcp.
Paste it into your agent. It follows this page as Markdown: claude.md
Claude Code gets tools to create sandboxes, run commands in them, and snapshot, fork, sleep and
delete them, on a Hermitbox install on another machine, through hermitbox mcp over stdio.
On the machine where you ran the installer, skip this page: Connect your agent sets Claude Code up without a key.
- Install the Hermitbox CLI where Claude Code runs.
- Start Claude Code with
HERMITBOX_API_URLandHERMITBOX_API_KEYin its private environment. - Merge this into the project’s
.mcp.jsonand restart Claude Code. Ask it for the project’s defaults, a sandbox,echo helloin it and cleanup. A container default needs an image; process and Wasm defaults must leave it out.
{
"mcpServers": {
"hermitbox": {
"type": "stdio",
"command": "hermitbox",
"args": ["mcp"],
"env": {
"HERMITBOX_API_URL": "${HERMITBOX_API_URL}",
"HERMITBOX_API_KEY": "${HERMITBOX_API_KEY}"
}
}
}
}The file names the two variables, never their values; Claude Code’s reference defines it and its variable expansion. Host admission enforces tier limits, so an agent can’t grant a capability the host lacks.
run it yourself
$curl -fsSL https://hbx.sh | shor ask your agent
Install Hermitbox and set it up for me
or add to your agent
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