Nanoleaf MCP Server is an MCP server that connects Model Context Protocol clients directly to Nanoleaf smart lighting setups over a local network. Built for smart home enthusiasts and developers using AI-enabled terminals like Warp, it enables natural language and tool-based control over smart panels such as Nanoleaf Canvas, Light Panels, and Hexagons. Users can discover compatible devices on their local subnet, request pairing authorization tokens, and query current hardware state. Once configured, the server allows automated adjustment of light panel properties including power status, brightness levels, and custom color settings defined by hue and saturation. It also exposes tools to list available dynamic lighting scenes and activate specific preset animations, such as Northern Lights or Cyberpunk, directly from an LLM prompt. By packaging the Nanoleaf v1 API into a Dockerized MCP environment, this server provides a bridge between local IoT devices and AI assistants without relying on third-party cloud bridges.
Category: Cloud & Infrastructure
Tags: iot, lighting, nanoleaf, smart-home
bash git clone https://github.com/srnetadmin/nanoleaf-mcp-server cd nanoleaf-mcp-server docker build -t nanoleaf-mcp-server-nanoleaf-mcp-server . 2. Put your Nanoleaf device into pairing mode by holding its power button for 5-7 seconds, then request an authentication token: bash curl -X POST http://<DEVICE_IP>:16021/api/v1/new 3. Add the server to your Warp MCP configuration: json { "mcpServers": { "nanoleaf": { "command": "docker", "args": [ "run", "--rm", "-i", "--network=host", "-e", "NANOLEAF_IP=<DEVICE_IP>", "-e", "NANOLEAF_AUTH_TOKEN=<AUTH_TOKEN>", "-e", "NANOLEAF_PORT=16021", "-e", "NANOLEAF_PROTOCOL=http", "nanoleaf-mcp-server-nanoleaf-mcp-server" ], "env": {} } } }Part of MCP Servers
Nanoleaf MCP Server enables AI clients to manage Nanoleaf smart lights. It provides tools to scan local networks, request pairing tokens, turn panels on or off, adjust brightness, set color hues and saturation, and switch between dynamic lighting effects.
You install the server by cloning its GitHub repository and building the provided Docker container. You can also run the included automated setup script, which builds the image, scans your network for devices, acquires an authorization token, and configures the environment.
Nanoleaf MCP Server is explicitly documented and tested for integration with Warp terminal, but it works with any Model Context Protocol compliant client capable of running local Docker commands over standard input and output.
Yes, Nanoleaf MCP Server is open-source software released under the MIT License, and the source code is hosted on GitHub.