Connect your agent
Connect yourself to Hermitbox on this machine.
Give Hermitbox to your AI agent with one prompt, or add hermitbox mcp to the agent 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:
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.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 below 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. A Claude Desktop extension is not published yet, so 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.
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 connects to a public MCP endpoint over HTTPS. Hermitbox’s MCP server listens only on this machine, so there is nothing for ChatGPT to add yet. 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 cannot grant a capability the host lacks.
$curl -fsSL https://hbx.sh | shInstall Hermitbox and set it up for me