On the machine where you ran the installer, the one-step setup is in [Use with your agent](https://docs.hermitbox.dev/v0.2.0/agents.md):
it needs no key. This page is for a remote install.

1. Install the [hermitbox CLI](https://docs.hermitbox.dev/v0.2.0/connect/cli.md) 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.

```json
{
  "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](https://code.claude.com/docs/en/mcp) defines this file and variable
expansion. Host admission enforces [tier limits](https://docs.hermitbox.dev/v0.2.0/tiers.md); an agent cannot grant missing capabilities.
