lifx-api-mcp-server

lifx-api-mcp-server

1

The LIFX API MCP Server is an MCP server that enables users to control LIFX smart lights through natural language commands. It provides a variety of tools and features for managing light states, scenes, and effects using the LIFX API. The server can be configured and run locally, supporting multiple installation methods, including NPX and Docker.

LIFX API MCP Server

LIFX API MCP Server is a local Model Context Protocol (MCP) server offering natural language access to LIFX devices via LLMs for actions like listing lights, changing states, and activating scenes using the LIFX HTTP API. It includes contextual tools and prompts.

Features

  • Tools: List lights, set state, toggle power, various effects, list scenes, cycle lights, validate color, and control LIFX Clean devices.
  • Resources: Access live data for lights and scenes.
  • Prompts: Includes tools for creating effects, troubleshooting, and constructing selectors.
  • Configuration: Customize the server using config files or environment variables. Supports Docker and Node.js installations.

Installation

The server can be installed using NPX, Docker Hub, Node.js, or Docker from the source.

Data Protection

Ensure the security of your LIFX API token, and be aware of the data shared with LLM providers.

Tutorial

Walkthroughs for checking available lights, activating scenes, creating effects, and more.