Homeassistant Light MCP
An MCP server for controlling Home Assistant lights and managing scenes, focusing on safely controlling lights (not involving potentially dangerous devices such as switches), providing detailed light status display, color control, scene creation and activation, etc. It particularly includes compatibility fixes for IKEA Tradfri devices.
rating : 2 points
downloads : 7.0K
What is the Home Assistant Light Control MCP?
This is a lighting control tool specifically designed for the Home Assistant smart home system. It uses the Model Context Protocol (MCP) to allow you to control all the lights in your home using natural language (such as Chinese or English). You can check the light status, adjust the brightness, change the color, create scenes, and even turn off all the lights with a single command.How to use this MCP server?
First, you need to configure the server connection information in your MCP client (such as Claude Desktop), including the Home Assistant address and access token. After the configuration is complete, you can directly control the lights through conversation, such as saying 'Turn on the living room lights' or 'Set the bedroom lights to warm white'.Applicable Scenarios
This tool is particularly suitable for the following scenarios: • Daily light control: Control the lights directly by speaking without opening the mobile app. • Scene management: Create lighting scenes such as 'Movie Night' and 'Reading Mode'. • Smart home integration: Work in conjunction with other smart devices. • Remote control: Control the home lights through a voice assistant.Main Features
View Light Status
Display detailed information about all lights, including on/off status, brightness percentage, RGB color values, color temperature, supported color modes, etc. Let you have a comprehensive understanding of the status of each light.
Precise Light Control
Supports multiple control methods: on/off control, brightness adjustment (0 - 100%), RGB color setting, color temperature adjustment (Kelvin value), and light effect switching.
Intelligent Scene Management
Create, save, activate, and manage lighting scenes. Supports two modes: exclusive mode (only controls the lights in the scene) and additive mode (does not affect other lights).
IKEA Tradfri Support
Specifically optimized to support IKEA Tradfri smart bulbs, solving compatibility issues when switching between color modes and color temperature modes.
Local Backup and Restoration
Automatically back up all scenes locally, supporting multi - instance synchronization and conflict resolution. If scenes are lost in Home Assistant, they can be restored from the backup.
Diagnosis and Repair
Provides lighting connection diagnosis, scene problem detection, and automatic repair functions to ensure the stable operation of the lighting system.
Advantages
Focus on light control: Specifically designed for lights, with more detailed and comprehensive functions.
Natural language interaction: Control through conversation without learning complex commands.
Safe design: Only controls lights, avoiding accidental operation of other important devices.
Offline backup: Scene data is backed up locally to prevent data loss.
Good compatibility: Specifically optimized to support common brands such as IKEA Tradfri.
Limitations
Limited to lights: Cannot control switches, sockets, and other devices.
Requires configuration: You need to set up the Home Assistant connection information first.
Depends on the network: Requires the Home Assistant server to run normally.
Learning cost: You need to understand basic concepts such as scene modes and color temperature.
How to Use
Install the MCP Server
Install globally via npm or run directly using npx. It is recommended to use the npx method without global installation.
Get the Home Assistant Access Token
In the Home Assistant web interface, go to the personal profile settings, create a long - term access token, and copy and save it.
Configure the MCP Client
Add the server configuration to the configuration file of Claude Desktop or other MCP clients, and set the Home Assistant address and token.
Start Using
Restart the MCP client, and then you can control the lights through natural language.
Usage Examples
Daily Light Control
Control the lights in each room of your home through simple conversations
Create a Home Theater Scene
Create a special lighting scene for watching movies to create a suitable atmosphere
Morning Wake - up Mode
Set up a morning lighting scene to simulate the gradual brightening of the sunrise
Turn Off All Lights with One Click
Quickly turn off all lights before leaving home or going to bed
Diagnose Lighting Problems
Diagnose and repair lighting problems when they occur
Frequently Asked Questions
What is the difference between this MCP server and the official Home Assistant MCP?
Why can it only control lights and not switches or other devices?
How to get the Home Assistant access token?
What is the difference between the exclusive and additive modes of a scene?
Why does my IKEA Tradfri bulb sometimes not respond to color changes?
Is the data safe? Will my information be uploaded?
What if the scenes in Home Assistant are lost?
What types of smart bulbs are supported?
Related Resources
GitHub Project Homepage
View the source code, submit issues, and contribute
npm Package Page
View the latest version and installation statistics
Home Assistant Official Website
Learn about the Home Assistant smart home platform
Model Context Protocol Documentation
Learn about the technical details of the MCP protocol
Claude Desktop Configuration Guide
Learn how to configure the MCP server for Claude Desktop

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
67.5K
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
20.8K
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
33.1K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
22.9K
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
29.6K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
61.6K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
21.4K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
44.9K
4.8 points
