Hive heating
v0.7.1Check and control Hive smart heating: thermostats, radiator valves, hot water and holiday mode
Values you need
| Variable | What it is | |
|---|---|---|
MCP_TRANSPORT | optional | Serve MCP over stdio (the image defaults to HTTP). |
HIVE_USERNAME | required | The email address you log in to the Hive app with. |
HIVE_PASSWORD | required secret | Your Hive password, used to log in and to log in again by itself as a remembered device. |
HIVE_ALLOW_LOGIN_TOOLS | optional | Let the assistant log in for you with an SMS code (hive_start_auth and hive_complete_auth). Default: true |
HIVE_ALLOW_WRITES | optional | Allow changes to your home: heating, boosts, hot water, holiday mode, plugs and lights. Off means read-only. Default: false |
HIVE_MAX_TEMP | optional | The highest heating target the assistant may set, in °C: 5 to 32 in steps of 0.5. Default: 25 |
HIVE_TOOLSETS | optional | Optional comma-separated toolsets to expose fewer tools, e.g. home,heating,hotwater. Empty means all but raw. |
HIVE_AUDIT_LOG | optional | Optional audit log of every change and login: stderr, or a file on the volume such as /data/audit.jsonl. |
Docker
Requires Docker
Run in a terminal
claude mcp add hive-mcp -e 'HIVE_PASSWORD=<HIVE_PASSWORD>' -e 'HIVE_USERNAME=<HIVE_USERNAME>' -- docker run -i --rm -e HIVE_PASSWORD -e HIVE_USERNAME ghcr.io/mattoddie/hive-mcp:0.7.1Add to
claude_desktop_config.json{
"mcpServers": {
"hive-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"HIVE_PASSWORD",
"-e",
"HIVE_USERNAME",
"ghcr.io/mattoddie/hive-mcp:0.7.1"
],
"command": "docker",
"env": {
"HIVE_PASSWORD": "<HIVE_PASSWORD>",
"HIVE_USERNAME": "<HIVE_USERNAME>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"hive-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"HIVE_PASSWORD",
"-e",
"HIVE_USERNAME",
"ghcr.io/mattoddie/hive-mcp:0.7.1"
],
"command": "docker",
"env": {
"HIVE_PASSWORD": "<HIVE_PASSWORD>",
"HIVE_USERNAME": "<HIVE_USERNAME>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "HIVE_PASSWORD",
"id": "hive-password",
"password": true,
"type": "promptString"
},
{
"description": "HIVE_USERNAME",
"id": "hive-username",
"password": true,
"type": "promptString"
}
],
"servers": {
"hive-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"HIVE_PASSWORD",
"-e",
"HIVE_USERNAME",
"ghcr.io/mattoddie/hive-mcp:0.7.1"
],
"command": "docker",
"env": {
"HIVE_PASSWORD": "${input:hive-password}",
"HIVE_USERNAME": "${input:hive-username}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.hive-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "HIVE_PASSWORD", "-e", "HIVE_USERNAME", "ghcr.io/mattoddie/hive-mcp:0.7.1"]
env = { "HIVE_PASSWORD" = "<HIVE_PASSWORD>", "HIVE_USERNAME" = "<HIVE_USERNAME>" }For AI agents
- Ask the user for: HIVE_USERNAME, HIVE_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json