Connect your agent
Connect yourself to Hermitbox on this machine.
Once your agent is connected, it can create sandboxes, run commands, read and write files,
snapshot, fork, sleep and wake them, and publish ports. Paste one prompt and the agent sets itself
up, or add hermitbox mcp to it yourself. On the machine where you ran the installer,
hermitbox mcp reads the saved credentials, so no key goes in any agent’s config.
Ask your agent
Any agent that can run commands on your machine can do the whole setup from this prompt. It installs Hermitbox, connects itself and proves it works:
Install Hermitbox on this machine and connect yourself to it.
Run `curl -fsSL https://hbx.sh | sh` as my ordinary user, never with sudo.
Then add `hermitbox mcp` to your MCP settings by its absolute path (~/.local/bin/hermitbox).
It reads the credentials the installer saved, so never copy a key into a config file or this chat.
For anything else, follow https://docs.hermitbox.dev/llms.txt.
Prove it works: create a sandbox, run `echo hello` in it, show me the output, then delete it.To add Hermitbox yourself, use your agent’s section below. The ordinary-user install puts the CLI
in ~/.local/bin/hermitbox, and a root install puts it in /usr/local/bin/hermitbox. Agents
started from a desktop might not have either on PATH, so each command names the full path.
Claude
Claude Code adds the server for your user with one command:
claude mcp add --transport stdio --scope user hermitbox -- ~/.local/bin/hermitbox mcpCheck it with claude mcp get hermitbox. There is no Claude Desktop extension yet; in Claude
Desktop, give Claude the prompt above. To reach a remote install, see
Claude.
Cursor
Open
Add to Cursor
and confirm in Cursor. Or add this server to ~/.cursor/mcp.json under mcpServers.hermitbox
yourself.
Cursor expands ${userHome} itself.
{ "command": "${userHome}/.local/bin/hermitbox", "args": ["mcp"] }To reach a remote install, see Cursor.
VS Code
VS Code adds the server to your user profile with one command:
code --add-mcp "{\"name\":\"hermitbox\",\"type\":\"stdio\",\"command\":\"$HOME/.local/bin/hermitbox\",\"args\":[\"mcp\"]}"Copilot’s agent mode lists the Hermitbox tools after a reload. To reach a remote install, see VS Code.
Codex
Codex adds the server with one command:
codex mcp add hermitbox -- ~/.local/bin/hermitbox mcpIt lands in ~/.codex/config.toml as [mcp_servers.hermitbox]. To reach a remote install, see
Codex.
ChatGPT
ChatGPT on the web can’t add Hermitbox yet. It connects to a public MCP endpoint over HTTPS, and Hermitbox’s MCP server listens only on this machine. Give the prompt to an agent that runs on your machine, or use Codex. See ChatGPT.
Any MCP client
Add a stdio server whose command is ~/.local/bin/hermitbox with the argument mcp. Each client
names its settings file and variable syntax differently. Any MCP client
shows the configuration for a remote install.
What the server offers
MCP tools lists the tools, the loopback HTTP transport and their limits. Host admission enforces tier limits, so an agent can’t grant a sandbox a capability the host lacks.
$curl -fsSL https://hbx.sh | shInstall Hermitbox and set it up for me