原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Hive heating

作者:mattoddie版本 0.3.1i★ –i在你的电脑上运行
注册名称io.github.mattoddie/hive-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:HIVE_USERNAME, HIVE_PASSWORD

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: MCP_TRANSPORT, HIVE_USERNAME, HIVE_PASSWORD, HIVE_ALLOW_LOGIN_TOOLS, HIVE_ALLOW_WRITES, HIVE_MAX_TEMP, HIVE_TOOLSETS, HIVE_AUDIT_LOG

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

下载作者的 .mcpb 文件

链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。

在终端中运行这条命令

claude mcp add hive --env MCP_TRANSPORT=your-value --env HIVE_USERNAME=your-value --env HIVE_PASSWORD=your-value --env HIVE_ALLOW_LOGIN_TOOLS=your-value --env HIVE_ALLOW_WRITES=your-value --env HIVE_MAX_TEMP=your-value --env HIVE_TOOLSETS=your-value --env HIVE_AUDIT_LOG=your-value -- docker run -i --rm -e MCP_TRANSPORT -e HIVE_USERNAME -e HIVE_PASSWORD -e HIVE_ALLOW_LOGIN_TOOLS -e HIVE_ALLOW_WRITES -e HIVE_MAX_TEMP -e HIVE_TOOLSETS -e HIVE_AUDIT_LOG ghcr.io/mattoddie/hive-mcp:0.3.1

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "hive": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "HIVE_USERNAME",
        "-e",
        "HIVE_PASSWORD",
        "-e",
        "HIVE_ALLOW_LOGIN_TOOLS",
        "-e",
        "HIVE_ALLOW_WRITES",
        "-e",
        "HIVE_MAX_TEMP",
        "-e",
        "HIVE_TOOLSETS",
        "-e",
        "HIVE_AUDIT_LOG",
        "ghcr.io/mattoddie/hive-mcp:0.3.1"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "HIVE_USERNAME": "your-value",
        "HIVE_PASSWORD": "your-value",
        "HIVE_ALLOW_LOGIN_TOOLS": "your-value",
        "HIVE_ALLOW_WRITES": "your-value",
        "HIVE_MAX_TEMP": "your-value",
        "HIVE_TOOLSETS": "your-value",
        "HIVE_AUDIT_LOG": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "hive": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "HIVE_USERNAME",
        "-e",
        "HIVE_PASSWORD",
        "-e",
        "HIVE_ALLOW_LOGIN_TOOLS",
        "-e",
        "HIVE_ALLOW_WRITES",
        "-e",
        "HIVE_MAX_TEMP",
        "-e",
        "HIVE_TOOLSETS",
        "-e",
        "HIVE_AUDIT_LOG",
        "ghcr.io/mattoddie/hive-mcp:0.3.1"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "HIVE_USERNAME": "your-value",
        "HIVE_PASSWORD": "your-value",
        "HIVE_ALLOW_LOGIN_TOOLS": "your-value",
        "HIVE_ALLOW_WRITES": "your-value",
        "HIVE_MAX_TEMP": "your-value",
        "HIVE_TOOLSETS": "your-value",
        "HIVE_AUDIT_LOG": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • MCP_TRANSPORT env
    Serve MCP over stdio (the image defaults to HTTP).
  • HIVE_USERNAME 必填 env
    The email address you log in to the Hive app with.
  • HIVE_PASSWORD 机密 必填 env
    Your Hive password, used to log in and to log in again by itself as a remembered device.
  • HIVE_ALLOW_LOGIN_TOOLS env
    Let the assistant log in for you with an SMS code (hive_auth_start and hive_auth_complete).
  • HIVE_ALLOW_WRITES env
    Allow changes to your home: heating, boosts, hot water, holiday mode, plugs and lights. Off means read-only.
  • HIVE_MAX_TEMP env
    The highest heating target the assistant may set, in °C: 5 to 32 in steps of 0.5.
  • HIVE_TOOLSETS env
    Optional comma-separated toolsets to expose fewer tools, e.g. home,heating,hotwater. Empty means all but raw.
  • HIVE_AUDIT_LOG env
    Optional audit log of every change and login: stderr, or a file on the volume such as /data/audit.jsonl.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 mattoddie 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18431 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18431 个服务器的 72% 更新
  • 基础检查结果等于或优于此分类中其他 18431 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Hive heating 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:HIVE_USERNAME, HIVE_PASSWORD

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.1)于16天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker, MCPB。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Filesystem MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 2113天前更新
安装

Filesystem MCP

作者:j0hanz

Filesystem MCP server for AI assistants.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

hive-mcp

Talk to your heating.

An open-source Model Context Protocol server for Hive, British Gas's smart heating. It lets Claude and other AI assistants check your Hive thermostats, radiator valves, hot water, plugs and lights, and, if you allow it, boost the heating, set temperatures, switch the hot water on and set holiday mode, all from one small Docker container.

[hive-mcp.mattoddie.dev](https://hive-mcp.mattoddie.dev)

Quick start · Documentation · Tool reference · Contributing


[!IMPORTANT]

hive-mcp is an unofficial project. It isn't made, endorsed or supported by Hive, British Gas or Centrica. Hive has no public API: hive-mcp uses the same undocumented API as the Hive app and the Home Assistant integration, which Hive can change at any time.

"It's freezing in here. Can you warm the house up?"

*The living room is 17.5 °C and the heating is on its schedule, which has it at 16 °C until 17:00. I can boost it to 21 °C for an hour, after which it goes back to the schedule. Shall I?*

"Yes, and put the hot water on too, I want a bath."

*Done: the heating is boosting to 21 °C until 15:40, and the hot water is boosting for 30 minutes. By the way, the bedroom radiator valve's battery is down to 20%.*

Ask about your home in plain English. The assistant picks from 24 tools to look things up and, if you allow it, make changes. Some examples:

  • 🌡️ *"How warm is each room, and is the heating on?"*
  • 🔥 *"Boost the heating to 21 for an hour."*
  • 🛁 *"I want a bath in half an hour. Is the hot water on?"*
  • 🧳 *"We're away from Saturday until the 28th. Set holiday mode."*
  • 🔋 *"Do any of my Hive devices need new batteries?"*
  • 💡 *"Turn the living room light down to 30% and switch the lamp plug off."*

Highlights

  • 🐳 Docker-first and tiny. One image (ghcr.io/mattoddie/hive-mcp) for linux/amd64 and linux/arm64, about 20 MB. It's a single static Go binary on a distroless base, with no shell or package manager, running as a non-root user. It serves Streamable HTTP for a long-running service, or stdio for docker run -i. You can also run the binary on its own. For Claude Desktop there's also a one-click extension bundle (.mcpb) that needs no Docker.
  • 🛡️ Safe by default. The server is read-only unless you turn on writes. Tools that aren't allowed aren't registered at all, and every change is checked first: heating targets must be 5–25 °C in steps of 0.5 (raise the top with HIVE_MAX_TEMP), boosts are limited to six hours, holiday mode to 60 days, and settings that last indefinitely (manual heating, hot water on) need an explicit confirmation.
  • 📱 One SMS code, once. Hive logins need a code sent by text message. You enter it once with hive-mcp login, and the server registers itself as a *remembered device*, so it can log in again on its own without another code. Passwords, tokens and device secrets never appear in tool output or logs.
  • 🔐 Real Cognito SRP. It logs in the way the Hive app does (AWS Cognito with SRP, which never sends your password), checked against the exact maths of the client Home Assistant uses.
  • 🐢 Gentle on Hive. Readings are cached for 30 seconds, so a conversation doesn't hammer an API Hive never meant for us, and it backs off when rate-limited or when a login fails.
  • 🎛️ Tunable. Expose only the toolsets you need, which keeps the model's context small and focused.
  • 🧪 Tested. The test suite runs against a mock Hive, including a fake Cognito that really checks the SRP proofs, SMS codes and remembered devices.

Quick start

Using Claude Desktop? Skip Docker: download the extension bundle (.mcpb) for your computer from the latest release, open it to install, fill in your Hive email and password, and ask Claude to *"log in to Hive"*. See Claude Desktop.

hive-mcp is listed in the MCP Registry as io.github.mattoddie/hive-mcp, so clients that browse the registry can install it (the Docker image in stdio mode, or the bundle). See From the MCP Registry.

Otherwise, you need Docker, a Hive account that works in the Hive app, the phone that gets your Hive text messages, and an MCP client such as Claude Code.

1. Set up the server.

mkdir hive-mcp && cd hive-mcp

curl -fsSLO https://raw.githubusercontent.com/mattoddie/hive-mcp/main/compose.yaml curl -fsSL https://raw.githubusercontent.com/mattoddie/hive-mcp/main/example.env -o .env

Edit .env: set HIVE_USERNAME and HIVE_PASSWORD (your Hive app login)

and a random MCP_AUTH_TOKEN (e.g. openssl rand -hex 32)

2. Log in to Hive once and start the server.

docker compose run --rm hive-mcp login   # type in the code Hive texts you

docker compose up -d

3. Connect your assistant.

claude mcp add --transport http hive http://<docker-host>:8080/mcp \

--header "Authorization: Bearer "

Now ask *"How warm is the house?"* in Claude Code.

Using Claude Desktop, VS Code, Cursor or Codex? See Connecting MCP clients. Prefer not to run a service? Use stdio mode with docker run -i or the local binary.

Turning on changes

Out of the box the assistant can look but not touch. To let it change your heating, hot water, plugs and lights, add this to .env and restart:

HIVE_ALLOW_WRITES=true

HIVE_TOOLSETS=home,heating,hotwater # optional: expose fewer tools

docker compose up -d

Read Security before turning on writes. A heating system is a real thing in a real home. To keep a record of every change the assistant makes, set HIVE_AUDIT_LOG to a file path (see Audit log).

What it can do

ToolsetWhat's covered
homeLogin, a one-call overview of the home, the list of Hive devices with batteries and signal, and holiday mode
heatingHeating zones and radiator valve (TRV) zones: temperatures, modes and schedules; set the temperature or mode, boost and cancel a boost
hotwaterHot water: status and schedule; switch it on, off or back to its schedule, boost and cancel a boost
devicesSmart plugs, lights and sensors: on or off, power use, brightness, colour temperature, open or closed
rawAn escape hatch that calls any path of Hive's API. Off unless you list it (HIVE_TOOLSETS=all,raw)

See the [tool reference](docs/tools.md) for every tool and argument. Ready-made prompts like home_check, warm_up and going_away chain the tools together for common jobs. Changing schedules isn't supported yet; see Compatibility.

Documentation

The docs are also published at [hive-mcp.mattoddie.dev/docs](https://hive-mcp.mattoddie.dev/docs/), with search.

🚀 Getting startedStep-by-step setup, including the one-time SMS login
🔌 Connecting MCP clientsClaude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode
⚙️ ConfigurationEvery environment variable, how login and remembered devices work, Docker secrets, toolsets
🐳 DeploymentCompose, image tags, upgrades, TLS reverse proxy, hardening, running without Docker
💬 Using hive-mcpExample conversations, prompts, how changes and boosts work
🧰 Tool referenceEvery tool and prompt, generated from the code
🛡️ SecurityThreat model, what the token file holds, safe write setups
📡 CompatibilitySupported Hive devices, discontinued products, and how the unofficial API is used
🩹 TroubleshootingLogin and SMS problems, common errors and how to fix them
🛠️ DevelopmentArchitecture, the mock Hive, adding a tool, testing

Contributing

Contributions are very welcome, whether that's bug reports, notes on how Hive's API behaves, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.

License

MIT © Matt Oddie

*hive-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Hive, British Gas or Centrica plc. "Hive" and "British Gas" are trademarks of Centrica plc or its subsidiaries. hive-mcp builds on what the community learned writing pyhiveapi, the library behind the Home Assistant Hive integration.*

问 PopNx