Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Check and control Hive smart heating: thermostats, radiator valves, hot water and holiday mode
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
MCP_TRANSPORT, HIVE_USERNAME, HIVE_PASSWORD, HIVE_ALLOW_LOGIN_TOOLS, HIVE_ALLOW_WRITES, HIVE_MAX_TEMP, HIVE_TOOLSETS, HIVE_AUDIT_LOG标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,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/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"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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 envHIVE_ALLOW_LOGIN_TOOLS envHIVE_ALLOW_WRITES envHIVE_MAX_TEMP envHIVE_TOOLSETS envHIVE_AUDIT_LOG env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 mattoddie 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Filesystem MCP server for AI assistants.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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:
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.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.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.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
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.
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).
| Toolset | What's covered |
|---|---|
home | Login, a one-call overview of the home, the list of Hive devices with batteries and signal, and holiday mode |
heating | Heating zones and radiator valve (TRV) zones: temperatures, modes and schedules; set the temperature or mode, boost and cancel a boost |
hotwater | Hot water: status and schedule; switch it on, off or back to its schedule, boost and cancel a boost |
devices | Smart plugs, lights and sensors: on or off, power use, brightness, colour temperature, open or closed |
raw | An 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.
The docs are also published at [hive-mcp.mattoddie.dev/docs](https://hive-mcp.mattoddie.dev/docs/), with search.
| 🚀 Getting started | Step-by-step setup, including the one-time SMS login |
| 🔌 Connecting MCP clients | Claude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode |
| ⚙️ Configuration | Every environment variable, how login and remembered devices work, Docker secrets, toolsets |
| 🐳 Deployment | Compose, image tags, upgrades, TLS reverse proxy, hardening, running without Docker |
| 💬 Using hive-mcp | Example conversations, prompts, how changes and boosts work |
| 🧰 Tool reference | Every tool and prompt, generated from the code |
| 🛡️ Security | Threat model, what the token file holds, safe write setups |
| 📡 Compatibility | Supported Hive devices, discontinued products, and how the unofficial API is used |
| 🩹 Troubleshooting | Login and SMS problems, common errors and how to fix them |
| 🛠️ Development | Architecture, the mock Hive, adding a tool, testing |
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.
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.*