Changelog
All notable changes to this project are documented here. The format is based on Keep a Changelog, and the project follows Semantic Versioning.
For hive-mcp, the “public API” is the set of tool names, their arguments, the prompts and the configuration variables. Renaming or removing any of these is a breaking change.
0.7.1 - 2026-11-27
Section titled “0.7.1 - 2026-11-27”A maintenance release with an updated Docker base image. hive-mcp still has 29 tools (12 read, 15 write and 2 login) and 5 prompts.
Changed
Section titled “Changed”- The Docker image is built on the latest
gcr.io/distroless/static-debian13base image.
0.7.0 - 2026-11-17
Section titled “0.7.0 - 2026-11-17”This release renames the auth tools verb-first, matching crunch-mcp. hive-mcp has 29 tools (12 read, 15 write and 2 login) and 5 prompts. Read the Breaking entries before upgrading.
Changed
Section titled “Changed”- Breaking: the login tools are named verb-first like the rest:
hive_auth_startis nowhive_start_auth,hive_auth_completeis nowhive_complete_authandhive_auth_statusis nowhive_get_auth_status. The old names are gone.
0.6.0 - 2026-11-17
Section titled “0.6.0 - 2026-11-17”This release changes list and dry-run output to match the other mattoddie MCP servers ahead of 1.0. hive-mcp has 29 tools (12 read, 15 write and 2 login) and 5 prompts. Read the Breaking entries before upgrading.
Breaking changes
Section titled “Breaking changes”- List output is
{total, returned, items}, as in the other mattoddie MCP servers:hive_list_devices(wasdevices),hive_list_actions(wasactions),hive_get_heatingandhive_list_trvs(werezones), andhive_list_smart_devices(was separateplugs,lightsandsensorslists; each item now has akindofplug,lightorsensor). dry_run: truereturns{dry_run, would_send: {method, path, query, body}, current, changes, note}for the first request the call would send, as the other mattoddie MCP servers do, instead of a list of every request.currentis the state the request would change andchangeslists each field that would change (changedwithfromandto, andadded). When a call would send more than one request, the note says how many more would follow. A call that would send nothing returnswould_send: nullwith itsresult.
0.5.0 - 2026-11-15
Section titled “0.5.0 - 2026-11-15”This release adds schedule editing, heat on demand, bulb colours, Hive actions and dry runs, and follows a code review. hive-mcp now has 29 tools (12 read, 15 write and 2 login) and 5 prompts. Read Breaking changes before upgrading.
Breaking changes
Section titled “Breaking changes”- The prompts are offered only when the tools they use are:
warm_up,hot_water_nowandgoing_awayneed writes enabled, and a prompt is left out when its toolset is turned off.
hive_set_heating_schedule(heating zones and TRV zones) andhive_set_hot_water_schedulechange the weekly schedule. Give periods indaysfor only the days that change, keyed by day or byweekdays,weekendorevery_day; the rest of the week is kept. Each day takes one to six periods, temperatures are checked againstHIVE_MAX_TEMP, and the result shows the schedule Hive then has. Both needHIVE_ALLOW_WRITES.hive_set_heat_on_demandturns heat on demand on or off for a heating zone, so radiator valves can (or can’t) turn the boiler on when their rooms need heat. It needsHIVE_ALLOW_WRITES.hive_set_lightsets the colour of colour bulbs with the newhue(0–359) andsaturation(0–100) arguments, withbrightnessas the colour’s brightness.hive_list_actionslists the Hive actions (automations from the Hive app) with what starts each one and what it does, andhive_set_actionturns one on or off (withHIVE_ALLOW_WRITES).- Every tool that changes something takes
dry_run: true: the call is validated as usual, and the exact requests it would send to Hive are returned instead of sent. See Previewing a change. - With writes on, the
schedule_reviewprompt offers to apply the changes you agree to.
Changed
Section titled “Changed”hive_set_holiday_modeandhive_set_heating_modeare annotated as destructive, since they can turn the heating down or off, andhive_set_holiday_modeis no longer marked idempotent, since its start defaults to now.- Building from source needs Go 1.26 or later.
- Times are no longer shown in UTC on Windows. The time zone database is now built in, since Windows has none, and a time zone that can’t be loaded is logged instead of silently replaced.
- A reading of the home that was under way when a change was made, or that was made in the few seconds after it, is no longer cached, so tools don’t show the state from before the change for up to
HIVE_CACHE_SECONDS. - When another process (such as
hive-mcp login) saves a new login while the server is refreshing its tokens, the server keeps the new login instead of overwriting it with the old one. hive_set_lightwith both a brightness and a colour temperature reports what changed when only the first change goes through, instead of just the error.- Holiday mode’s 60-day limit counts calendar days in the home’s time zone, so 60 days across the October clock change is no longer refused.
hive_api_requestrefuses paths with control characters, percent signs left after decoding (double encoding) or a trailing/..- The docs now say the raw API tool skips
HIVE_MAX_TEMPand the holiday limit, and describe correctly when the client refreshes the login and retries.
0.4.0 - 2026-11-15
Section titled “0.4.0 - 2026-11-15”- When Hive boosts a thermostat because radiator valves are calling for heat (heat on demand),
hive_get_overviewandhive_get_heatingsay so withboost_reasonand list the rooms asking for heat inheat_requested_by, so it isn’t mistaken for a boost someone started.
0.3.2 - 2026-11-13
Section titled “0.3.2 - 2026-11-13”- Each release now has plain binaries for macOS, Linux and Windows on
amd64andarm64, with aSHA256SUMSfile and build provenance attestations, so you can run hive-mcp without Docker. See Running without Docker.
- Smart meters are no longer reported as offline. Hive reads them through the smart meter network rather than the hub, so it always marks them offline, and
hive_get_overviewlisted them under “needs attention” even when their readings were coming through.hive_list_devicesnow shows them with aconnectionnote instead of an online status.
Security
Section titled “Security”- Built with Go 1.27.4, which fixes an HTTP/1 server crash in the standard library’s
net/http(GO-2026-6859).
0.3.1 - 2026-10-22
Section titled “0.3.1 - 2026-10-22”- hive-mcp is published to the official MCP Registry as
io.github.mattoddie/hive-mcp, with the Docker image (run in stdio mode) and the MCP Bundles. Each stable release publishes the new version automatically. See From the MCP Registry.
0.3.0 - 2026-10-22
Section titled “0.3.0 - 2026-10-22”- Claude Desktop extension. Each release has an MCP Bundle (
.mcpb) for macOS, Windows and Linux on x64 and Arm. Open it to install hive-mcp in Claude Desktop with a settings form, without Docker. Logging in from Claude is on by default in the extension, so the one-time SMS login needs no terminal. See Claude Desktop. HIVE_AUDIT_LOGrecords every call of a write tool, a login tool or a non-GEThive_api_requestas a JSON line in a file (created with mode0600) or on standard error: the time, tool, arguments (with the SMS code and any secrets redacted) and outcome. Failed and refused calls are logged too. See Audit log.- A variable set to exactly
${user_config.<key>}, as Claude Desktop passes an extension setting left empty, counts as unset. - Configuration lists the size of the tool list for each toolset combination.
Security
Section titled “Security”- Built with Go 1.27.3, which fixes a
crypto/x509vulnerability in the standard library (GO-2026-6809).
0.2.0 - 2026-10-20
Section titled “0.2.0 - 2026-10-20”This release follows a security review. Read Breaking changes before upgrading.
Breaking changes
Section titled “Breaking changes”HIVE_TOOLSETS=all(the default) no longer includes therawtoolset (hive_api_request). List it by name to keep it, for exampleHIVE_TOOLSETS=all,raw.HIVE_API_URL,HIVE_SSO_URLandHIVE_COGNITO_URLmust behttps://unless they point at a loopback address.MCP_AUTH_TOKENmust be at least 16 characters, andMCP_ALLOW_UNAUTHENTICATED=truenow also needsMCP_ALLOWED_HOSTS. The server refuses to start otherwise.- With
MCP_ALLOWED_HOSTSset, browser requests whoseOriginisn’t on the list are refused. An entry without a port matches only the default port (80 or 443) in anOrigin, so listhost:portfor a page on another port. /mcponly acceptsPOSTwith a JSON body (other methods get405, bodies over 1 MiB413).hive_auth_startandhive_auth_completeare only registered with the newHIVE_ALLOW_LOGIN_TOOLS=true. They log in with the password and can make Hive text an SMS code, so a model calling them in a loop could text you repeatedly or get the account locked.hive-mcp loginin a terminal works as before.- Heating targets above 25 °C are refused unless you raise the new
HIVE_MAX_TEMP(it was 32 °C). hive_set_heating_modewithmode: manual,hive_set_heating_temperaturewithmode: manual(or on a zone already in manual) andhive_set_hot_water_modewithmode: onneed the newconfirm: trueargument, because those settings last indefinitely.hive_set_holiday_moderefuses an end more than 60 days after the start.
Security
Section titled “Security”hive_auth_start(andhive-mcp login) won’t ask Hive for another SMS code within a minute of the last one, or try again within five minutes of a login Hive refused. Five wrong codes end a pending login.hive-mcp logoutnow also revokes the refresh token with Cognito’sRevokeToken, and renews an expired access token first so it can still ask Hive to forget the remembered device. Before, it only forgot the device if the access token hadn’t expired.- A running server treats a deleted token file as logged out and drops the tokens and device it holds in memory. Before, a refresh could write the deleted file back.
- Heating targets are capped by the new
HIVE_MAX_TEMP(default 25 °C; Hive allows up to 32) for every mode, boost and holiday mode. Holiday mode can last at most 60 days. - The HTTP server checks
OriginagainstMCP_ALLOWED_HOSTS(rejectingnulland empty origins), logs a warning when running unauthenticated, and sets read and idle timeouts. hive-mcp healthcheckchecks the configuredMCP_HTTP_HOSTand port (includingMCP_HTTP_PORT_FILE) instead of always127.0.0.1andMCP_HTTP_PORT.HIVE_API_URL,HIVE_SSO_URLandHIVE_COGNITO_URLmust usehttps://(plainhttp://only to a loopback address) and can’t contain credentials. Requests to Hive and Cognito never follow redirects, which could otherwise carry tokens to another host.- Only a
401from Hive refreshes the login (a403did too). APOSTis retried only after a429, never after a502or503. Responses over 64 MiB fail with a clear error instead of being truncated. - The token file is saved through a uniquely named temporary file (
os.CreateTemp), synced before the rename. It used to be<file>.<pid>.tmp, which two containers (both PID 1) sharing a volume could write at the same time. - The image creates
/datawith mode0700, as the docs said; it was0755. - Raw output (
raw: trueandhive_api_request) redacts the account’s user profile (name, email, phone, address, postcode), keeping only fields like its ID, time zone and temperature unit.hive_auth_status,hive_auth_startandhive_auth_completemask the email address and leave out the token file’s path.hive-mcp statusin a terminal still shows both. - Build with Go 1.27.2 (
toolchain go1.27.2,golang:1.27in the Dockerfile), and pin the Docker base images (golang,distroless/static-debian13) by digest; Dependabot keeps the digests current. - CI runs
govulncheck(pinned to v1.9.0).
0.1.1 - 2026-10-16
Section titled “0.1.1 - 2026-10-16”Security
Section titled “Security”- Update
golang.org/x/systo v0.44.0 for GO-2026-5024. The advisory is Windows-only and not reachable from this code, so the Linux images weren’t affected. - Build with Go 1.26.9 (
toolchain go1.26.9), which fixes standard-library advisories innet/http,mime/multipartandcrypto/tls.
0.1.0 - 2026-10-15
Section titled “0.1.0 - 2026-10-15”First release, not yet tested against a live Hive account. Hive’s API is unofficial, so expect rough edges, and please report anything Hive rejects.
- Unofficial MCP server for Hive (British Gas) smart heating with 24 tools in 5 toolsets: home, heating, hotwater, devices and raw.
- Read tools for a one-call home overview, heating zones and radiator valve (TRV) zones, heating and hot water schedules (with what’s scheduled now and next), the device list with batteries, signal and online status, plugs, lights and sensors, and holiday mode.
- Write tools, behind
HIVE_ALLOW_WRITES, to set a zone’s temperature and mode (schedule, manual or off), boost and cancel a heating boost, switch the hot water on, off or to its schedule, boost and cancel a hot water boost, set and cancel holiday mode, switch plugs, and switch lights with brightness and colour temperature. Heating targets are validated to 5–32 °C in steps of 0.5. - Five built-in prompts:
home_check,warm_up,hot_water_now,going_awayandschedule_review. - Login through AWS Cognito with SRP, implemented with the standard library and checked against test vectors from pyhiveapi’s own code:
hive-mcp loginasks for the SMS code once and registers the server as a remembered device, so later logins (REFRESH_TOKEN_AUTH, then device SRP) never need a code. The Cognito pool is read from Hive’s sign-in page, as pyhiveapi does. The same login is available from the chat withhive_auth_startandhive_auth_complete. hive-mcp logout, which asks Hive to forget the remembered device and deletes the token file.- The login, including the remembered device’s secret, is saved atomically to
HIVE_TOKEN_FILE(mode0600), and a running server picks up a new login written by another process. The server never triggers an SMS code by itself and backs off after a failed automatic login. - A short cache of Hive’s whole-home reading (
HIVE_CACHE_SECONDS, default 30), cleared by every change, plus retries when Hive rate-limits. - Tools are annotated as read-only, destructive or open-world, and
HIVE_TOOLSETSlimits the tools exposed. - Streamable HTTP (stateless) and stdio transports, with bearer-token auth and a
Hostheader allow-list for HTTP. serve,login,logout,status,healthcheckandversioncommands._FILEvariants of every variable for Docker secrets.- Multi-arch distroless Docker image (
linux/amd64,linux/arm64) published to GHCR on each release, with SBOM and provenance attestation. - A mock Hive for tests (sign-in page, a Cognito that checks SRP proofs, SMS codes and remembered devices, and the API), and documentation including a tool reference generated from the code.