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

Connect agents over MCP

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

Any MCP client can 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 your agent up without a key.

  1. Install the Hermitbox CLI on the machine running your agent.
  2. Launch the agent with HERMITBOX_API_URL and HERMITBOX_API_KEY in its private environment.
  3. Merge this into the project’s .mcp.json and restart the agent. Ask it for the project’s defaults, a sandbox, echo hello in it and cleanup. Use an image only when the default tier is container.
json
{
  "mcpServers": {
    "hermitbox": {
      "type": "stdio",
      "command": "hermitbox",
      "args": ["mcp"],
      "env": {
        "HERMITBOX_API_URL": "${HERMITBOX_API_URL}",
        "HERMITBOX_API_KEY": "${HERMITBOX_API_KEY}"
      }
    }
  }
}

Each agent reads its own file, with its own variable syntax: see Claude Code, Cursor, Codex or VS Code and Copilot. A named isolation or capability the host lacks is refused. See MCP tools and transports and tier boundaries.

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