Homey MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Homey MCP Serverturn off the kitchen lights"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Homey MCP Server
A comprehensive Model Context Protocol (MCP) server for Homey smart home automation systems, providing seamless integration with Claude AI assistants.
๐ Overview
The Homey MCP Server enables Claude AI to interact directly with your Homey Pro smart home system, offering real-time device control, automation management, and advanced analytics through natural language conversations.
Key Capabilities:
๐ฑ Device Control: Control lights, thermostats, sensors, and smart appliances
๐ Flow Management: Trigger and manage Homey automation flows
๐ Advanced Analytics: Historical data analysis, energy monitoring, and usage patterns
๐ก๏ธ Climate Intelligence: Temperature and humidity monitoring across zones
โก Energy Insights: Power consumption tracking and optimization recommendations
๐ Live Monitoring: Real-time dashboard metrics and system status
Related MCP server: MCP Server for Homey API
๐ Quick Start
Prerequisites
Homey Pro device with local API access enabled
Python 3.11+ with uv package manager
Claude Desktop application
Valid Homey Personal Access Token
Platform Support: macOS, Windows, Linux
Installation
Clone and Setup
git clone <repository-url> cd mcp-homey make install # Make the script executable (macOS/Linux only) chmod +x start_homey_mcp.shGet Homey Token
Navigate to Homey Developer Portal
Go to Settings โ Advanced โ API Keys
Create new API Key with all available scopes
Configure Claude Desktop
โ ๏ธ IMPORTANT: Replace all paths with YOUR actual paths
๐ macOS/Linux
Add to
~/Library/Application Support/Claude/claude_desktop_config.json:{ "mcpServers": { "homey": { "command": "/path/to/your/uv/binary", "args": ["run", "--directory", "/path/to/your/mcp-homey", "python", "src/homey_mcp/__main__.py"], "env": { "HOMEY_LOCAL_ADDRESS": "YOUR_HOMEY_IP_ADDRESS", "HOMEY_LOCAL_TOKEN": "your-token-here", "OFFLINE_MODE": "false", "DEMO_MODE": "false" } } } }Find your uv path with:
which uv # Usually: /Users/yourname/.local/bin/uv # or: /usr/local/bin/uv # or: /opt/homebrew/bin/uvExample with real paths:
{ "mcpServers": { "homey": { "command": "/Users/yourname/.local/bin/uv", "args": ["run", "--directory", "/Users/yourname/Projects/mcp-homey", "python", "src/homey_mcp/__main__.py"], "env": { "HOMEY_LOCAL_ADDRESS": "YOUR_HOMEY_IP_ADDRESS", "HOMEY_LOCAL_TOKEN": "your-personal-access-token", "OFFLINE_MODE": "false", "DEMO_MODE": "false" } } } }๐ช Windows
Add to
%APPDATA%\Claude\claude_desktop_config.json:{ "mcpServers": { "homey": { "command": "uv", "args": ["run", "--directory", "C:\\path\\to\\mcp-homey", "python", "src/homey_mcp/__main__.py"], "env": { "HOMEY_LOCAL_ADDRESS": "YOUR_HOMEY_IP_ADDRESS", "HOMEY_LOCAL_TOKEN": "your-token-here", "OFFLINE_MODE": "false", "DEMO_MODE": "false" } } } }Find your uv path with:
where uv # Usually: C:\Users\yourname\.local\bin\uv.exe # or: C:\Program Files\uv\uv.exeExample with real paths:
{ "mcpServers": { "homey": { "command": "C:\\Users\\yourname\\.local\\bin\\uv.exe", "args": ["run", "--directory", "C:\\Users\\yourname\\Projects\\mcp-homey", "python", "src/homey_mcp/__main__.py"], "env": { "HOMEY_LOCAL_ADDRESS": "YOUR_HOMEY_IP_ADDRESS", "HOMEY_LOCAL_TOKEN": "your-personal-access-token", "OFFLINE_MODE": "false", "DEMO_MODE": "false" } } } }Windows Notes:
Install uv first:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Use full Windows paths with double backslashes:
C:\\Users\\Name\\Projects\\mcp-homeyRestart PowerShell after installing uv
Use
where uvto find the exact uv.exe path
Find Your Paths
Before configuring Claude, find the correct paths for your system:
macOS/Linux:
# Find uv location which uv # Find project directory cd path/to/mcp-homey && pwd # Example output: # /Users/yourname/.local/bin/uv # /Users/yourname/Projects/mcp-homeyWindows:
# Find uv location where uv # Find project directory cd path\to\mcp-homey; pwd # Example output: # C:\Users\yourname\.local\bin\uv.exe # C:\Users\yourname\Projects\mcp-homeyRestart Claude Desktop and test!
โ๏ธ Operating Modes
Switch modes by editing your Claude Desktop config and restarting Claude:
๐ Normal Mode (Real Homey)
"env": {
"HOMEY_LOCAL_ADDRESS": "YOUR_HOMEY_IP_ADDRESS",
"HOMEY_LOCAL_TOKEN": "your-actual-token",
"OFFLINE_MODE": "false",
"DEMO_MODE": "false"
}๐งช Demo Mode (Testing without Homey)
"env": {
"OFFLINE_MODE": "true",
"DEMO_MODE": "true"
}Demo includes: Multi-room setup, various device types, sensors, flows, and analytics data
๐ง Development Mode
"env": {
"OFFLINE_MODE": "true",
"DEMO_MODE": "false"
}Offline but minimal demo data
๐ ๏ธ Available Tools (17 total)
๐ฑ Device Control (7 tools)
get_devices โข control_device โข get_device_status โข get_zones โข find_devices_by_zone โข control_lights_in_zone โข get_sensor_readings
๐ Flow Management (7 tools)
get_flows โข get_flow โข trigger_flow โข get_device_flow_capabilities โข get_flow_folders โข get_flow_cards โข run_flow_card_action
๐ Insights & Analytics (3 tools)
get_device_insights โข get_energy_data โข get_live_insights
๐ฌ Usage Examples
"What devices do I have?"
"What zones are available?"
"Turn on the kitchen lights at 75%"
"Set thermostat to 22 degrees"
"Start the evening routine"
"Show my energy usage this month"
"Export temperature data to CSV"๐ง Development & Debugging
๐ macOS/Linux
# Manual testing
export OFFLINE_MODE="true" DEMO_MODE="true"
./start_homey_mcp.sh
# Development commands
make install test lint format
python test_capabilities.py
python test_insights.py
# Debugging
tail -f homey_mcp_debug.log
make inspector # Web UI at localhost:5173๐ช Windows
# Manual testing
$env:OFFLINE_MODE="true"; $env:DEMO_MODE="true"
uv run python src/homey_mcp/__main__.py
# Development commands
uv sync
uv run pytest
uv run python test_capabilities.py
uv run python test_insights.py
# Debugging
Get-Content homey_mcp_debug.log -Wait # Like tail -f๐ Troubleshooting
๐ช Windows-specific
โ "uv not found" โ Install uv: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
โ Path issues โ Use full Windows paths with double backslashes: C:\\Users\\Name\\Projects\\mcp-homey
โ PowerShell execution policy โ Run Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
โ Wrong uv path โ Use where uv to find exact path, then use full path like C:\\Users\\yourname\\.local\\bin\\uv.exe
๐ macOS/Linux
โ "uv not found" โ Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh and restart terminal
โ "command not found" โ Use full path to uv binary: /Users/yourname/.local/bin/uv
โ Permission denied โ Make sure uv is executable: chmod +x /path/to/uv
โ Wrong paths โ Use which uv and pwd to get correct absolute paths
๐ All Platforms
โ Missing scopes โ Create API key with ALL scopes at my.homey.app
โ Connection timeout โ Verify Homey IP and network connectivity
โ Unauthorized โ Check token validity and expiration
Built with โค๏ธ for the Homey community
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/maerestijnde/mcp-homey'
If you have feedback or need assistance with the MCP directory API, please join our Discord server