LIFX

by lenvolk

Not rated
GitHub

About

Control LIFX smart lights through the LIFX HTTP API.

Details

Author
lenvolk
Categories
Other, Developer Tools

Setup

Install LIFX in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/lenvolk/mcp-lifx

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server that provides tools for controlling LIFX smart lights through the LIFX HTTP API.

This MCP server exposes the following LIFX API functionality as tools:

- πŸ”list_lights- Get all lights or filter by selector
- ⚑set_state- Control power, color, brightness of lights
- πŸ”„toggle_power- Toggle lights on/off
- 🫁breathe_effect- Create breathing light effects
- πŸ’«pulse_effect- Create pulsing light effects
- 🎬list_scenes- List all saved scenes
- ▢️activate_scene- Activate a specific scene
- βœ…validate_color- Validate color string formats
- ⏹️effects_off- Turn off any running effects

NEW! This server includes an interactive web-based UI that provides:

- Visual controls for all your LIFX lights
- Real-time power, color, and brightness adjustments
- One-click color presets
- Visual effects (breathe & pulse) controls
- Theme-aware design that adapts to your client

SeeMCP_APP_GUIDE.mdfor details on using the interactive UI.
- LIFX API Token: Get your token from
LIFX Cloud Settings
- Node.js: Version 16 or higher
- VS CodewithGitHub Copilotextension

git clone https://github.com/lenvolk/mcp-lifx.git cd mcp-lifx

The LIFX MCP server works seamlessly with VS Code's GitHub Copilot:
- Ensure the server is built:npm run build
- Set yourLIFX_API_TOKENenvironment variable
- The server will be automatically discovered by VS Code's MCP integration
- Open GitHub Copilot Chat and interact with your lights

- "List all my LIFX lights"
- "Open LIFX control" - launches the interactive UI with visual controls
- "Show LIFX app" - alternative way to open the control interface
- "Turn on the kitchen lights"
- "Set living room lights to blue"
- "Launch LIFX dashboard" - opens the visual control panel

Once connected to an MCP client, you can use commands like:

- "List all my LIFX lights"
- "Turn on the kitchen lights"
- "Set living room lights to blue"
- "Start a breathe effect on all lights with red color"
- "Show me all my saved scenes"
- "Activate the movie night scene"

Launch the visual control interface with any of these prompts:

- "Open LIFX control" - Primary command to launch the UI
- "Show LIFX app" - Alternative prompt
- "Launch LIFX interface" - Opens the interactive controls
- "Open LIFX dashboard" - Displays the visual UI
- "Show me LIFX controls" - Launches the control panel
- "Open the LIFX control panel" - Starts the interactive interface
- "I want to control my LIFX lights visually" - Opens the UI
- "Show LIFX remote" - Alternative way to access controls

The interactive UI provides visual controls for power, brightness, colors, and effects without needing text commands. SeeMCP_APP_GUIDE.mdfor details.

Use selectors to target specific lights:

- all- All lights
- label:Kitchen- Lights labeled "Kitchen"
- group:Living Room- Lights in "Living Room" group
- location:Home- Lights at "Home" location
- id:d073d5000000- Specific light by ID

The server supports various color formats:

- Named colors:red,blue,green,purple, etc.
- RGB:rgb:255,0,0(red)
- HSB:hue:120 saturation:1.0 brightness:0.5
- Kelvin:kelvin:3500(warm white)

mcp-lifx/ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ index.ts # Main MCP server implementation β”‚ β”œβ”€β”€ mcp-app.tsx # React MCP app UI β”‚ └── mcp-app.html # HTML entry point for app β”œβ”€β”€ build/ β”‚ β”œβ”€β”€ index.js # Compiled server β”‚ └── src/ β”‚ └── mcp-app.html # Bundled single-file app UI β”œβ”€β”€ LIFX.md # LIFX API documentation β”œβ”€β”€ MCP_APP_GUIDE.md # Interactive UI usage guide β”œβ”€β”€ mcp.md # MCP tutorial reference β”œβ”€β”€ vite.config.ts # Vite build configuration β”œβ”€β”€ package.json # Project configuration β”œβ”€β”€ tsconfig.json # TypeScript configuration └── README.md # This file

- npm run build- Build both the MCP app UI and server
- npm run build:app- Build only the React UI
- npm run build:server- Build only the TypeScript server
- npm start- Run the compiled server
- npm run serve- Run server in development mode (with tsx)
- npm run dev- Build and run in one command
- npm run clean- Remove build directory
- npm run rebuild- Clean and rebuild everything

All LIFX API endpoints and parameters are documented inLIFX.md.
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request

For issues with this MCP server, please open an issue on GitHub. For LIFX API issues, refer to theofficial LIFX API documentation.

Note: This is an unofficial LIFX MCP server. LIFX is a trademark of LIFX Pty Ltd.

Chia Health MCP Server β€” Patient workflow integration for a licensed US telehealth platform. Browse GLP-1 medications (semaglutide, tirzepatide), peptide therapies (sermorelin, NAD+, glutathione), and longevity treatments. Check eligibility, complete intake, sign consents, and manage treatment plans. 30 tools, HIPAA-compliant. All prescriptions evaluated by licensed US healthcare providers and delivered from FDA-regulated pharmacies across 50 states + DC.

Broker + MCP server for last-bidder-wins games on Solana β€” agents register, auto-fund a Privy wallet, and bid via streamable HTTP

AI-powered no-code app builder with 17 MCP tools β€” create projects, generate pages from natural language, AI text/image generation (GPT, Claude, Gemini, 14+ models), page CRUD, workflow execution, publish & version control. SSE transport, API key auth.

An mcp server for your food ordering needs.

Agent-to-Agent handoff certification for multi-agent systems β€” validates context preservation, verifies agent capabilities before handoff, logs transfer chains, and ensures no data loss in agent orchestration.

Unified MCP & skill management gateway with progressive disclosure. Manages multiple MCP servers as Agent Apps, loading tool schemas on demand for 99% context token savings. Shared across Claude Code, Codex, OpenCode and more.

A collection of Model Context Protocol (MCP) servers for various tasks and integrations, supporting both Python and Node.js environments.

Open-souSecurely feeds real security refreshed rules into Cursor, Claude Code, and Windsurf β€” zero config, no API key.

Health intelligence MCP β€” access biomarkers, biological age, and personalized longevity action plans from your Aniva profile.

Real-time stock heatmaps and investment tools delivered as interactive React components.

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.