
Homey-Wan-Kenobi MCP
io.github.Ringosystems由 GitHub 帳號 Ringosystems 發布v2.2.0更新於 Oct 25, 2026
MCP server for Homey Pro: 60 tools for devices, flows, energy, and Z-Wave/Zigbee diagnostics.
概覽
針對 Homey Pro 的自架 MCP 伺服器,讓助理控制裝置、撰寫流程、讀取能耗與感測器歷史,並執行 Z-Wave/Zigbee 診斷。
- 可以做什麼
- 列出、搜尋、檢視並控制裝置及其能力;重新命名、移動裝置,管理區域並建立區域與氛圍。列出、觸發、啟用、建立、更新和刪除標準流程與進階流程,並查詢流程卡片結構以從零建立自動化。讀取邏輯變數、已安裝應用程式、鬧鐘、通知、天氣、在家狀態和位置,並可設定變數、鬧鐘、在家狀態和通知。查詢即時功率、日/週/月/年能耗報告和歷史洞察資料。執行 Z-Wave 與 Zigbee 網路診斷並提供修復建議,分析應用程式記憶體與使用情況,處理備份、更新、記憶體與儲存資訊、LED 環和重新開機等系統操作。還可直接呼叫任意 Homey Web API 端點。
- 適用情境
- 當你在本機網路執行 Homey Pro,希望助理控制裝置、建立或拆除自動化、分析能耗與感測器歷史,或排查 Z-Wave/Zigbee 網路問題時使用。適合偏好自架而非 Athom 雲端官方連接器的進階使用者。
- 執行需求
- 本機程序(Node.js 20 或更新版本,或已發佈的 Docker 映像),並能透過網路存取 Homey Pro 本機 API。需將 HOMEY_ADDRESS 設為 Homey 基礎位址,將 HOMEY_TOKEN 設為在 my.homey.app 建立的本機 API 金鑰;也可改用 Homey CLI 登入,OAuth 權杖會存放在本機 CLI 設定檔中。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Homey-Wan-Kenobi MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Homey-Wan-Kenobi MCP
[CI] [Docker Pulls] [License: MIT]
MCP server for controlling Homey Pro smart home systems through the Model Context Protocol.
The name nods to Obi-Wan Kenobi, your home's only hope for natural-language control.
60 tools and 3 knowledge prompts for device control, flow authoring, automation, monitoring, troubleshooting, network diagnostics, and self-hosted deployment.
Why Homey-Wan-Kenobi
Athom ships an official Homey MCP Server: a cloud-brokered remote connector you add to a paid Claude or ChatGPT plan and sign into with your Homey account. It covers device status and control, renaming and moving devices, creating, updating and starting Flows and Advanced Flows, and setting Moods.
This server differs in two ways. It is self-hosted, so you run it yourself over stdio or streamable-HTTP with no third-party broker and no paid AI-plan requirement. And it adds operational depth for power users that is not part of the official server's described capabilities.
The table reflects Athom's publicly described capabilities as of June 2026. Athom does not publish a formal tool list, so the right-hand gaps are inferred from their documentation, not stated by Athom.
The depth, in practice
- Network diagnostics that the official server does not describe.
diagnose_zwave_networkanddiagnose_zigbee_networkread controller health, grade each node by last-seen age (battery-sleep aware), group transmit failures, correlate them with unavailable devices, and return severity-ranked remediations.get_zwave_logexposes the raw network log. - Energy and Insights analysis. Live power by zone and device, day/week/month/year energy reports, and timestamped historical sensor and meter data, so the model can answer "what is using power right now" or "how has the bedroom temperature trended this week".
- App memory and usage analysis.
analyze_app_usagecross-references every app against RAM, device counts and flow references to flag safe removal candidates and estimate savings. Read-only and advisory. - Build automations from scratch. A flow-card discovery engine (
list_flow_cards,get_flow_card) returns each card's full argument schema, and full standard and Advanced Flow CRUD (including delete) lets an AI author and tear down the whole cards graph by UUID. - Infrastructure operations from one interface. Backups, reboot, update checks, memory and storage usage, drivers, LED ring, session and location info.
- A future-proof escape hatch.
homey_api_callreaches any Homey Web API endpoint directly, so new firmware features work without waiting for a tool update.
It runs on a hardened, non-root node:22-alpine image whose every build and release is gated on a Trivy scan, and it is published to Docker Hub, GHCR and the public MCP Registry. See the tool reference below for the full list.
When the official server is the better fit
This server is local-first and self-hosted, which is both its strength and its trade-off. The official Homey MCP is the easier choice when you want:
- Zero setup and managed hosting. Add one URL and sign in with your Homey account. There is no container to run, expose, or maintain, and there is a one-click ChatGPT app.
- Secure remote access from anywhere. Athom brokers the connection through its cloud, so it works away from home without exposing anything on your LAN. This server's HTTP mode is intended for a trusted local network; remote use is your own VPN or authenticated reverse proxy.
- Every Homey model. The official endpoint reaches Homey Cloud, Pro, Pro mini and Self-Hosted Server, including cloud-only setups that have no local API. This server targets a Homey reachable over its local API or your Athom token, so it is happiest with a Homey Pro.
- First-party support. It is maintained by Athom, kept in step with firmware, and officially tested with Claude and the ChatGPT app. This project is independent and best-effort.
The two are complementary. Many people use the official connector for quick remote control and this server for the deep local diagnostics, energy analysis, and infrastructure work. Athom does not publish a formal tool list, so the official server may also include capabilities not reflected above.
Quick Start
Authenticate with your Homey:
Add to your MCP client config (Kiro, Claude Desktop, Cline, etc.):
Authentication
The server supports two authentication methods:
Homey CLI (recommended) runs npx homey login and npx homey select. The server reads the stored OAuth token from ~/.athom-cli/settings.json automatically.
Local API Key is created at my.homey.app. Set environment variables:
The local API key method is the recommended choice when running self-hosted in a container, since it does not depend on a mounted CLI settings file.
Self-Hosted (Docker / HTTP)
The image is published at ringosystems/homey-wan-kenobi (mirrored to ghcr.io/ringosystems/homey-wan-kenobi), and the server is listed in the MCP Registry as io.github.Ringosystems/homey-wan-kenobi-mcp. It is built on node:22-alpine, runs as a non-root user, and ships no baked-in secrets. See SECURITY.md for the audit details.
It defaults to the stdio transport so an MCP client can launch it directly, and exposes a long-lived streamable-HTTP service (via supergateway at /mcp, health at /healthz) when you set MCP_TRANSPORT=streamable-http.
Fastest: one command (prebuilt image)
No clone or build. Pull two things and start it:
The service is then at http://<host>:8000/mcp (health at /healthz). On Unraid, add the template by URL instead: Docker, Add Container, paste https://raw.githubusercontent.com/Ringosystems/Homey-Wan-Kenobi-MCP/main/deploy/unraid/homey-wan-kenobi.xml into the Template field. The image is multi-arch, so it runs on x86 and ARM (Apple Silicon, Raspberry Pi) hosts.
The
/mcpendpoint has no built-in authentication. Keep it on a trusted LAN or behind a reverse proxy that adds TLS and auth.
Run as an MCP client (stdio)
Run as an HTTP service
Docker Compose
Supply your Homey credentials via a .env file next to docker-compose.yml:
The provided docker-compose.yml references the published image (with build: . as a local-build fallback) and applies container hardening (read-only root filesystem, dropped Linux capabilities, no-new-privileges, and memory/PID limits):
Build locally
Connecting a client
Point an MCP client at the streamable-HTTP endpoint:
Check health with curl http://your-host:8000/healthz.
Tools
Devices
Device & Zone Management
Zones
Flows
Flow Authoring
Flow Card Discovery
Logic & Apps
Insights & Energy
Weather, Presence & Location
Alarms & Moods
Notifications
Network Diagnostics
App Usage Analysis
System & Infrastructure
Advanced
Prompts
Built-in knowledge prompts accessible via the MCP prompts API:
Development
Tech Stack
- TypeScript + Node.js (>=20)
- homey-api v3, the official Homey Web API client
- @modelcontextprotocol/sdk v1.29, MCP server (
registerToolwithToolAnnotations) - zod for parameter validation
- supergateway for the self-hosted streamable-HTTP transport
Security
The dependency tree, base image, and container configuration are audited with Trivy and npm audit. The published image runs as a non-root user on node:22-alpine with no baked-in secrets, and the production dependencies ship with 0 high or critical advisories. See SECURITY.md for the full audit, accepted residual risks, and how to reproduce the scans.
License
Release process, one-time setup, and Unraid Community Applications submission are documented in PUBLISHING.md; notable changes in CHANGELOG.md.
來源:README.md,提交 3919a20
工具
0版本歷史
1- v2.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分