Homey MCP Server

Homey MCP Server

Enables natural language control of Homey Pro smart home systems, including devices, flows, zones, energy monitoring, weather, alarms, and system management, with 43 tools and troubleshooting prompts.

Category
访问服务器

README

Homey MCP Server

CI

MCP server for controlling Homey Pro smart home systems through the Model Context Protocol.

43 tools and 3 knowledge prompts for device control, automation, monitoring, troubleshooting, and more.

Quick Start

git clone https://github.com/homey-mcp/homey-mcp.git
cd homey-mcp
npm install
npm run build

Authenticate with your Homey:

npx homey login
npx homey select

Add to your MCP client config (Kiro, Claude Desktop, Cline, etc.):

{
  "mcpServers": {
    "homey": {
      "command": "node",
      "args": ["/path/to/homey-mcp/dist/index.js"]
    }
  }
}

Authentication

The server supports two authentication methods:

Homey CLI (recommended) — Run npx homey login and npx homey select. The server reads the stored OAuth token from ~/.athom-cli/settings.json automatically.

Local API Key — Create an API key at my.homey.app, then set environment variables:

export HOMEY_ADDRESS=http://192.168.1.x
export HOMEY_TOKEN=your-api-key

Tools

Devices

Tool Description
list_devices List devices, filter by zone or class
get_device Get device details with all capability values
search_devices Search by name, class, or capability
set_device_capability Control a device (on/off, dim, temperature, etc.)

Zones & Flows

Tool Description
list_zones List all zones (rooms/areas)
list_flows List simple and advanced flows
trigger_flow Run a flow
set_flow_enabled Enable or disable a flow

Logic & Apps

Tool Description
list_variables List logic variables
set_variable Set a variable value
list_apps List installed apps
restart_app Restart a Homey app
enable_app Enable or disable an app
uninstall_app Uninstall an app

Insights & Energy

Tool Description
list_insights List available insight logs
get_insight_entries Get historical sensor data
get_energy_live Live power consumption by zone/device
get_energy_report Energy report for day/week/month/year

Weather & Presence

Tool Description
get_weather Current weather at Homey's location
get_weather_hourly Hourly weather forecast
get_presence Home/away status for all users
set_presence Set your presence or sleep state
get_location Homey's configured location

Alarms & Moods

Tool Description
list_alarms List all alarms/timers
set_alarm Create or update an alarm
delete_alarm Delete an alarm
list_moods List moods (scenes) per zone
set_mood Activate a mood in a zone

Notifications & System

Tool Description
list_notifications List recent notifications
create_notification Send a notification
get_system_info System info (version, wifi, hostname)

Infrastructure & Protocols

Tool Description
list_drivers List all available device drivers
get_zwave_log Z-Wave network log for troubleshooting
get_backup_status Backup config and last backup time
create_backup Schedule a new backup
get_ledring LED ring screensaver options
set_ledring Set LED ring screensaver
get_updates Check for system updates
get_session Current API session info
reboot_homey Reboot the Homey Pro
get_memory_info Memory usage by app/component
get_storage_info Storage usage breakdown
set_system_name Set the Homey system name

Prompts

Built-in knowledge prompts accessible via the MCP prompts API:

Prompt Description
homey_best_practices Zone architecture, device naming, protocol tips, energy management, security
homey_troubleshooting Diagnosing offline devices, Z-Wave/Zigbee issues, flow debugging, performance
homey_flow_patterns Automation patterns, naming conventions, anti-patterns to avoid

Development

npm run dev        # Run with tsx (no build step)
npm run build      # Compile TypeScript
npm run lint       # ESLint
npm run typecheck  # TypeScript strict check
npm start          # Run compiled version

Tech Stack

  • TypeScript + Node.js (≥20)
  • homey-api v3 — Official Homey Web API client
  • @modelcontextprotocol/sdk v1.26 — MCP server (registerTool with ToolAnnotations)
  • zod — Parameter validation

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选