Hive heating

v0.7.1
io.github.mattoddie/hive-mcp Checked 23 hours ago Published 5 days ago

Check and control Hive smart heating: thermostats, radiator valves, hot water and holiday mode

Values you need

VariableWhat it is
MCP_TRANSPORToptional Serve MCP over stdio (the image defaults to HTTP).
HIVE_USERNAMErequired The email address you log in to the Hive app with.
HIVE_PASSWORDrequired secret Your Hive password, used to log in and to log in again by itself as a remembered device.
HIVE_ALLOW_LOGIN_TOOLSoptional Let the assistant log in for you with an SMS code (hive_start_auth and hive_complete_auth). Default: true
HIVE_ALLOW_WRITESoptional Allow changes to your home: heating, boosts, hot water, holiday mode, plugs and lights. Off means read-only. Default: false
HIVE_MAX_TEMPoptional The highest heating target the assistant may set, in °C: 5 to 32 in steps of 0.5. Default: 25
HIVE_TOOLSETSoptional Optional comma-separated toolsets to expose fewer tools, e.g. home,heating,hotwater. Empty means all but raw.
HIVE_AUDIT_LOGoptional 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.1
Add 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

  1. Ask the user for: HIVE_USERNAME, HIVE_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json