HomeAssistant-Light-MCP
Verified Safeby Koneisto
Overview
Controls Home Assistant lights with detailed color and state management, and creates/manages scenes, complementing the official Home Assistant MCP with advanced light features.
Installation
npx -y ha-mcp-serverEnvironment Variables
- HA_URL
- HA_TOKEN
Security Notes
The server design emphasizes safety: it strictly controls only lights, not critical systems. It communicates via stdio, limiting network exposure. Critical light-changing operations require explicit 'user_confirmed=true'. Home Assistant credentials are loaded from environment variables or a local config file, not hardcoded. Local scene backups are maintained, and multi-instance changes are handled with a merge strategy. No 'eval' or malicious patterns were identified.
Similar Servers
ha-mcp
Provides AI agents with complete control over Home Assistant via REST and WebSocket APIs, offering a comprehensive suite of tools for smart home management, automation, and debugging.
advanced-homeassistant-mcp
A powerful, secure, and extensible Model Context Protocol (MCP) server that enables AI assistants like Claude, GPT, and Cursor to seamlessly interact with Home Assistant. Control your lights, climate, automations, and more through natural language commands.
openhab-mcp
This project provides an MCP (Model Context Protocol) server to enable AI assistants like Claude and Cline to interact with and manage a real openHAB smart home system via its REST API.
hue
Controls Philips Hue lights and smart home devices via CLI or as a Model Context Protocol (MCP) server for AI agents.