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) on the machine running Cursor's MCP process.
2. Start Cursor with `HERMITBOX_API_URL` and `HERMITBOX_API_KEY` in its private environment.
3. Merge this into `.cursor/mcp.json`, restart, and ask for project defaults, a sandbox,
   hello and cleanup. Supply an image only for a container default.

```json
{
  "mcpServers": {
    "hermitbox": {
      "type": "stdio", "command": "hermitbox", "args": ["mcp"],
      "env": { "HERMITBOX_API_URL": "${env:HERMITBOX_API_URL}", "HERMITBOX_API_KEY": "${env:HERMITBOX_API_KEY}" }
    }
  }
}
```

[Cursor's reference](https://cursor.com/docs/mcp) owns this file and variable syntax. Keep
literal credentials out of it. Requests retain the host's [tier refusals](https://docs.hermitbox.dev/v0.2.0/tiers.md).
