Homey Pro App exposing an MCP server over HTTP, enabling AI assistants like Claude to control your smart home.
git clone https://github.com/verdier/homey-mcp-server.git
cd homey-mcp-server
npm install
npm run install-homeyYou need a Homey Bearer Token for secure API access:
- Login to my.homey.app
- Go to Settings → API Key
- Create a new API key with at least the
homey.appscope
Note: Claude Desktop does not currently support HTTP-based MCP servers directly. We use
mcp-remoteas a bridge to connect to this HTTP server.
Add to your configuration file with your Bearer token:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"homey": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://YOUR_HOMEY_IP/api/app/com.verdier.mcp-server/mcp",
"--allow-http",
"--header",
"Authorization:Bearer YOUR_HOMEY_TOKEN"
]
}
}
}Important: After updating the configuration:
- Completely quit and reopen Claude Desktop for changes to take effect.
- macOS users: On first launch, you may be prompted to allow Claude Desktop to find and communicate with devices on your local network. You must allow this permission and then restart Claude for the connection to work.
Create .vscode/mcp.json in your workspace:
{
"servers": {
"homey": {
"type": "http",
"url": "http://YOUR_HOMEY_IP/api/app/com.verdier.mcp-server/mcp",
"headers": {
"Authorization": "Bearer YOUR_HOMEY_TOKEN"
}
}
}
}Note: Replace YOUR_HOMEY_IP with your Homey's actual IP address and YOUR_HOMEY_TOKEN with your extracted Bearer token.
Ask your AI: "Turn on the living room lights" or "What's the temperature in the bedroom?"
- Homey Pro with local network access (Homey Cloud not supported)
- Node.js 16+ and Homey CLI:
npm install -g homey - Homey Bearer Token for authentication
- Device Control: List, control, and query all Homey devices
- Zone Management: Filter devices by room/zone
- Flow Automation: List and view automation flow details
- Natural Language: Use conversational commands with AI assistants
- Flow Triggering: The
trigger_flowtool is currently not operational due to Homey API cross app limitations.
Verify your installation with your Bearer token:
# Test MCP protocol
curl -X POST \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"initialize","id":1}' \
"http://YOUR_HOMEY_IP/api/app/com.verdier.mcp-server/mcp"- Verify your Homey IP address is correct
- Ensure Homey Pro is on the same local network