New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mcp-philips-hue

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcp-philips-hue

MCP server for Philips Hue smart lighting control

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

mcp-philips-hue

An MCP (Model Context Protocol) server for controlling Philips Hue smart lights.

Features

  • get_lights - List all lights connected to your Hue Bridge
  • set_brightness - Adjust brightness (0-254) for individual or all lights
  • set_color - Change colors using hex codes, color names, or color temperature
  • toggle_light - Turn lights on or off

Prerequisites

  • Node.js 18+
  • Philips Hue Bridge on your local network
  • Hue API key (see setup below)

Getting Your Hue API Key

  • Find your bridge IP at https://discovery.meethue.com/
  • Navigate to http://<bridge-ip>/debug/clip.html
  • Press the link button on your Hue Bridge
  • Within 30 seconds, POST to /api with body: {"devicetype":"mcp-server#user"}
  • Copy the username from the response - this is your API key

Installation

npx mcp-philips-hue

From Source

git clone https://github.com/m2ai-mcp-servers/mcp-philips-hue.git
cd mcp-philips-hue
npm install
npm run build

Configuration

Environment Variables

export HUE_BRIDGE_IP=192.168.1.x
export HUE_API_KEY=your-api-key-here

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "philips-hue": {
      "command": "npx",
      "args": ["-y", "mcp-philips-hue"],
      "env": {
        "HUE_BRIDGE_IP": "192.168.1.x",
        "HUE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Usage Examples

List all lights

get_lights

Set brightness

set_brightness light_id="1" brightness=200
set_brightness light_id="all" brightness=100

Set color

# Using hex color
set_color light_id="1" color="#FF0000"

# Using color name
set_color light_id="1" color="blue"

# Using color temperature
set_color light_id="1" color="warm"
set_color light_id="all" color="2700K"

Toggle lights

toggle_light light_id="1" state=true
toggle_light light_id="all" state=false

Color Options

Named Colors

red, green, blue, yellow, orange, purple, pink, white, cyan, magenta

Color Temperature

  • warm (2200K)
  • soft (2500K)
  • neutral (3500K)
  • cool (5000K)
  • daylight (6500K)
  • Or specify Kelvin directly: 2700K, 4000K, etc.

Development

# Watch mode
npm run dev

# Run tests
npm test

# Build
npm run build

Testing

npm test

License

MIT

Built autonomously by GRIMLOCK - Autonomous MCP Server Factory

Keywords

mcp

FAQs

Package last updated on 19 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts