mcp-server-yeelight-lan

marques576/mcp-server-yeelight-lan

3.2

If you are the rightful owner of mcp-server-yeelight-lan and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server to control your Yeelight lights using local LAN control.

Tools
  1. turn on/off

    Control the power state of the lights.

  2. brightness

    Adjust the brightness level of the lights.

  3. color

    Change the color of the lights.

  4. temperature

    Modify the color temperature of the lights.

  5. auto discovery

    Automatically detect and manage Yeelight devices on the network.

Yeelight MCP Server using local LAN control

An MCP server to control your yeelight lights.

Demo

Enable LAN controll on Yellight devices

  • 01 Select the light you would like to share. Slide to the left and click on the share icon.

  • 02 Select a device.

  • 03 Click "More" icon and choose "LAN control".

  • 04 Enable LAN control.

Getting started

Start by building the docker image

docker build -t mcp-server-docker .

Then add the MCP configuration to your MCP client

"mcpServers": {
    "mcp-server-yeelight-lan": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/var/run/docker.sock:/var/run/docker.sock",
        "mcp-server-yeelight-lan:latest"
      ]
    }
  }

Tested MCP Clientes

  • Oterm

LLMs tested

  • llama3.2:3b
  • llama3.2:1b
  • qwen2.5:32b-instruct

Tools

  • turn on/off
  • brightness
  • color
  • temperature
  • auto discovery