Yeelight IoT MCP Server logo

Yeelight IoT MCP Server

Connects MCP clients to Yeelight Pro homes for discovery, live state, device control, and scene execution.

Install Yeelight IoT MCP Server

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://api.yeelight.com/apis/mcp_server/v1/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

Yeelight IoT MCP Server MCP server exposes Yeelight Pro home topology, live-state access, device controls, and scene execution through MCP. It uses Streamable HTTP, either through Yeelight's hosted endpoint or a locally deployed service that still calls Yeelight cloud APIs. Read operations discover homes, areas, rooms, devices, groups, and scenes, while control operations support dry-run previews and explicit confirmation. Choose it for existing integrations or focused workflows that depend on direct control_node or execute_scene access.

Use cases

  • Discover Yeelight Pro homes, rooms, devices, groups, and scenes
  • Inspect current device capabilities before issuing a control
  • Preview and confirm Yeelight device property changes
  • Execute confirmed Yeelight scenes
  • Develop focused Yeelight cloud MCP integrations

Key features

  • Yeelight Pro topology and live-state discovery
  • Cursor pagination for collection queries
  • Room-filtered device and group listing
  • Dry-run device and scene operations
  • Explicit side-effect confirmation
  • Streamable HTTP transport

Tools8

What Yeelight IoT MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~102 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 46d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10Stargazers on the source repository.
Last commit4mo agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Yeelight IoT MCP Server works

What Yeelight IoT MCP Server MCP server does

Yeelight IoT MCP Server provides an MCP interface to Yeelight Pro homes. It covers home and topology discovery, including areas, rooms, devices, groups, and scenes, and exposes current information needed to identify targets before issuing a control request. The service is the focused live-state and control component of Yeelight's cloud MCP suite.

The repository is intended for specialized integrations and development work involving direct control or scene execution. For a first-time setup, the project documentation recommends using the unified Yeelight MCP setup, which configures this service together with Yeelight Metadata MCP.

How it works

The service communicates over Streamable HTTP. Clients can use the hosted endpoint at https://api.yeelight.com/apis/mcp_server/v1/mcp, or operators can run the application locally with Uvicorn and connect through a local /mcp URL. Both deployment modes use Yeelight cloud APIs; local hosting does not provide an offline gateway.

Requests require an Authorization header. The hosted service also accepts optional region and house-selection headers. If those values are omitted, the service can derive the region from the token and select a Pro home according to its documented defaults.

Read tools support cursor pagination where applicable. Control requests are designed as a two-step workflow: identify the current target, generate a dry-run plan, review it, and then submit a confirmed live operation. Yeelight IoT MCP Server requires both dryRun=false and confirmSideEffect=true before a control or scene request can cause changes.

Setup and configuration

Local deployment requires Python 3.10 or newer and uv. The documented workflow clones the repository, installs dependencies with uv sync, sets a local runtime environment, disables Nacos registration, and starts uvicorn on 127.0.0.1:9000.

The hosted configuration needs the MCP URL and an Authorization header. The recommended beginner path uses Yeelight Home to complete QR-based sign-in and configure an MCP client. That setup can provision the Metadata and IoT services together without placing the authorization value directly in the AI client's configuration.

Available local configuration includes the API base URL, fallback region, bind host, MCP path, HTTP timeout, runtime environment, and Nacos registration setting. The service does not read an operator's CLI Profile, and every request must include an explicit Authorization header.

Tools and capabilities

Yeelight IoT MCP Server exposes eight tools:

  • get_currnet_house_info reads the selected house. The spelling is intentionally retained for compatibility.
  • get_areas, get_rooms, and get_scenes return cursor-paginated collections.
  • get_devices lists devices, optionally restricted to a room.
  • get_groups lists groups, optionally restricted to a room.
  • control_node previews or executes a node property command.
  • execute_scene previews or executes a scene.

The first six tools are read-only. The final two default to dry-run behavior and provide redacted control plans before execution. Callers should resolve names to current identifiers and inspect supported properties before attempting a write.

Limitations and notes

A Yeelight Authorization token is required. Region and house ID are optional, but omitting them invokes the service's selection behavior. The rs control property is blocked by the current safety policy. Failed writes or scene executions should not be retried blindly.

The service is specifically focused on live state, topology, device control, and scene execution. Broader workflows such as account management, automations, favorites, maintenance, and other guarded management operations belong to Yeelight Metadata MCP rather than this server.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Yeelight IoT MCP Server

Yeelight IoT MCP Server is an MCP server that connects MCP clients to Yeelight Pro homes through Yeelight cloud APIs. It provides topology discovery tools for homes, areas, rooms, devices, groups, and scenes, plus control_node for device properties and execute_scene for scene execution with dry-run safeguards.

Use Yeelight Home's MCP setup for the recommended installation, or clone the repository and run it locally with Python 3.10 or newer, uv, and Uvicorn. The documented local workflow also requires an Authorization header for every request.

Yes, Cursor is shown in the documented Yeelight Home setup flow. You can configure Cursor with the hosted Streamable HTTP endpoint and an Authorization header, or point it to a locally deployed `/mcp` URL.

Device controls and scene execution default to dry-run mode. A live operation requires both `dryRun=false` and `confirmSideEffect=true`, and callers should review the generated plan before executing it.

No. Local deployment still uses Yeelight cloud APIs, so running the server on your machine does not create an offline gateway.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewYeelight IoT MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/yeelight-iot-mcp-server?style=directory)](https://allmcps.com/mcp/yeelight-iot-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/yeelight-iot-mcp-server"><img src="https://allmcps.com/api/badge/yeelight-iot-mcp-server?style=directory" alt="Yeelight IoT MCP Server on AllMCPs" /></a>