MCPSERV.CLUB
Yeelight

Yeelight MCP Server

MCP Server

AI‑friendly lighting control via Model Context Protocol

Stale(55)
3stars
0views
Updated 24 days ago

About

The Yeelight MCP Server provides a unified, protocol‑compliant interface for AI assistants and agents to control Yeelight Pro smart devices—switching, dimming, coloring, querying status, and triggering scenes—either locally or through Yeelight’s cloud.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Yeelight Pro APP View Home ID

The Yeelight MCP Server bridges the gap between conversational AI assistants and the growing ecosystem of Yeelight Pro smart lighting devices. By exposing a Model Context Protocol (MCP)‑compliant API, the server lets agents such as Claude Desktop, Cursor, or LangChain talk to lights, curtains, and multi‑channel fixtures using natural language. This eliminates the need for custom SDKs or device‑specific logic, enabling developers to focus on higher‑level user experience while the server handles discovery, authentication, and command translation.

At its core, the service offers a unified set of capabilities: device control, status querying, and scene execution. Developers can issue simple commands—“turn on the living room light,” “set brightness to 70%,” or “activate evening scene”—and the server translates these into appropriate Yeelight API calls. The status‑query interface returns real‑time data such as switch state, brightness level, color temperature, and online status, allowing agents to confirm actions or adapt subsequent prompts based on the current device state. Scene mode execution supports pre‑configured lighting arrangements, making it straightforward to orchestrate multi‑device ambience with a single request.

The server’s architecture is intentionally flexible. It can run locally on an intranet, giving enterprises full control over data and privacy, or it can connect to Yeelight’s official cloud platform for remote, cross‑network access. This dual deployment model accommodates a wide range of security requirements and network topologies. Additionally, the MCP implementation follows strict interface definitions and standardized response structures, ensuring smooth integration with popular agent frameworks such as Claude, Cursor, or LangChain without additional glue code.

Real‑world scenarios that benefit from this MCP server include smart home assistants that manage lighting through voice or chat, automated routines triggered by other IoT events (e.g., turning on lights when a door sensor opens), and enterprise environments where lighting schedules must be controlled centrally. By exposing these functions through a simple, protocol‑based API, developers can quickly prototype conversational workflows that feel natural to users while leveraging the full power of Yeelight’s Pro device lineup.