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
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
MCP_TRANSPORT, HIVE_USERNAME, HIVE_PASSWORD, HIVE_ALLOW_LOGIN_TOOLS, HIVE_ALLOW_WRITES, HIVE_MAX_TEMP, HIVE_TOOLSETS, HIVE_AUDIT_LOGค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้
พิมพ์คำสั่งนี้ใน Terminal
claude mcp add hive --env MCP_TRANSPORT='ใส่ค่าของคุณ' --env HIVE_USERNAME='ใส่ค่าของคุณ' --env HIVE_PASSWORD='ใส่ค่าของคุณ' --env HIVE_ALLOW_LOGIN_TOOLS='ใส่ค่าของคุณ' --env HIVE_ALLOW_WRITES='ใส่ค่าของคุณ' --env HIVE_MAX_TEMP='ใส่ค่าของคุณ' --env HIVE_TOOLSETS='ใส่ค่าของคุณ' --env HIVE_AUDIT_LOG='ใส่ค่าของคุณ' -- 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": "ใส่ค่าของคุณ",
"HIVE_USERNAME": "ใส่ค่าของคุณ",
"HIVE_PASSWORD": "ใส่ค่าของคุณ",
"HIVE_ALLOW_LOGIN_TOOLS": "ใส่ค่าของคุณ",
"HIVE_ALLOW_WRITES": "ใส่ค่าของคุณ",
"HIVE_MAX_TEMP": "ใส่ค่าของคุณ",
"HIVE_TOOLSETS": "ใส่ค่าของคุณ",
"HIVE_AUDIT_LOG": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .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": "ใส่ค่าของคุณ",
"HIVE_USERNAME": "ใส่ค่าของคุณ",
"HIVE_PASSWORD": "ใส่ค่าของคุณ",
"HIVE_ALLOW_LOGIN_TOOLS": "ใส่ค่าของคุณ",
"HIVE_ALLOW_WRITES": "ใส่ค่าของคุณ",
"HIVE_MAX_TEMP": "ใส่ค่าของคุณ",
"HIVE_TOOLSETS": "ใส่ค่าของคุณ",
"HIVE_AUDIT_LOG": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MCP_TRANSPORT envHIVE_ALLOW_LOGIN_TOOLS envHIVE_ALLOW_WRITES envHIVE_MAX_TEMP envHIVE_TOOLSETS envHIVE_AUDIT_LOG envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub mattoddie ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: HIVE_USERNAME, HIVE_PASSWORD
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.1) เข้า registry 16 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker, MCPB ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, OpenTakeoff
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Construction takeoff for AI agents: load plans, set scale, measure, count, export with provenance.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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.*