Basic information
About LIFX API MCP Server
🤖💡 MCP Server for LIFX API
LIFX API MCP Server is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by furey. It exposes 1 tool, including Prompts. Supported transport: stdio. Runtime: node. License: MIT. The repository has 3 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"lifx-api-mcp-server": {
"command": "npx",
"args": [
"-y",
"lifx-api-mcp-server@latest"
]
}
}
}
{
"mcpServers": {
"lifx-api-mcp-server": {
"command": "npx",
"args": [
"-y",
"lifx-api-mcp-server@latest"
]
}
}
}
{
"servers": {
"lifx-api-mcp-server": {
"command": "npx",
"args": [
"-y",
"lifx-api-mcp-server@latest"
]
}
}
}
LIFX API MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"lifx-api-mcp-server": {
"command": "npx",
"args": [
"-y",
"lifx-api-mcp-server@latest"
]
}
}
}
LIFX API MCP Server tools
- Prompts — effect-creator, troubleshooter, selector-helper
Overview
What is LIFX API MCP Server?
LIFX API MCP Server is a local Model Context Protocol (MCP) server that provides access to LIFX smart devices using natural language via LLMs. It allows users to list lights, set states, activate scenes, and trigger effects through the LIFX HTTP API.
How to use LIFX API MCP Server?
Obtain a LIFX API token from the LIFX Cloud settings page. Install the server via npx (npx -y lifx-api-mcp-server@latest) or Docker (docker run --rm -i --network=host furey/lifx-api-mcp-server). Configure the token using a config file (~/.lifx-api-mcp-server.jsonc), environment variable (CONFIG_API_TOKEN), or command-line argument. Set up an MCP client (e.g., Claude Desktop) and control lights using natural language. Use resources like lifx://lights and prompts like effect-creator.
Key features of LIFX API MCP Server
- 18 tools for LIFX device control and scene management
- Live resources: light list, light state, and scenes
- Prompts: effect-creator, troubleshooter, selector-helper
- Config file customization with component disabling
- Supports Docker, NPX, and source-based installation
- Uses standard LIFX selectors and color strings
Use cases of LIFX API MCP Server
- Control LIFX lights using natural language through an LLM client.
- Automate scene activation or light effects without manual scripting.
- Diagnose connectivity issues for specific lights with the troubleshooter prompt.
- Build custom light states and cycles for home automation.
- Integrate LIFX control into AI-driven workflows and assistants.
Frequently asked questions
1 What are the runtime requirements?
Node.js v18+ (for NPX/source install) or Docker (for Docker install). A LIFX API token is required.
2 How do I configure the API token?
Set it via the config file (apiToken field in ~/.lifx-api-mcp-server.jsonc), environment variable (CONFIG_API_TOKEN), or command-line argument (least recommended). Priority follows that order.
3 Does the server store any data?
No. The server does not store or cache information permanently; all device data remains in the LIFX cloud.
4 What transport does the server use?
It uses stdio transport, as shown in the startup log output ("Creating stdio transport").
5 Can I disable specific tools, resources, or prompts?
Yes. Use the disabled or enabled keys in the config file to selectively disable or limit components.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In