mcp-hue

v0.3.0
mcp-hue Checked 1 day ago Published 5 months ago

Philips Hue MCP server via remote OAuth API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_lights

List all lights with their ids, names, archetype, and capabilities. Each light's `capabilities` reports what commands are valid for it, so you can avoid issuing unsupported ones: `dimmable` (set_light_brightness), `color` with `gamut_type` (set_light_color — false on white-only/"yellow tinted" bulbs), `color_temperature` {supported, mirek_min, mirek_max} (set_light_temperature), and `effects` (the exact effect names set_light_effect accepts on this bulb).

list_rooms_groups

List all rooms/groups with their ids and names.

get_light_state

Get the on/off state and brightness of a specific light.

ParameterTypeDescription
light_id *string

turn_light_on_off

Turn a single light on or off. Optional duration_ms fades the transition.

ParameterTypeDescription
light_id *string
on *boolean
duration_ms

set_light_brightness

Set a single light's brightness (0–100). Optional duration_ms fades the transition.

ParameterTypeDescription
brightness *number
light_id *string
duration_ms

list_groups

List all rooms and groups with their ids, names, grouped_light_id, and type (room or bridge_home).

turn_group_on_off

Turn a room or group of lights on or off. Optional duration_ms fades the transition.

ParameterTypeDescription
grouped_light_id *string
on *boolean
duration_ms

set_group_brightness

Set the brightness of a room or group (0-100). Optional duration_ms fades the transition.

ParameterTypeDescription
brightness *number
grouped_light_id *string
duration_ms

set_light_color

Set a light's color via CIE xy coordinates (x and y each 0.0–1.0). Optional duration_ms fades the transition.

ParameterTypeDescription
light_id *string
xy *object
duration_ms

set_light_temperature

Set a light's color temperature in mirek (153=cool 6500K, 500=warm 2000K); clamped to 153–500. Optional duration_ms fades.

ParameterTypeDescription
light_id *string
mirek *integer
duration_ms

set_group_color

Set a group's color via CIE xy coordinates (x and y each 0.0–1.0). Optional duration_ms fades the transition.

ParameterTypeDescription
grouped_light_id *string
xy *object
duration_ms

set_group_temperature

Set a group's color temperature in mirek (153=cool 6500K, 500=warm 2000K); clamped to 153–500. Optional duration_ms fades.

ParameterTypeDescription
grouped_light_id *string
mirek *integer
duration_ms

set_light_effect

Set a light's effect (candle|fire|sparkle|prism|opal|glisten|no_effect).

ParameterTypeDescription
effect *string
light_id *string

set_light_timed_effect

Set a timed effect (sunrise|sunset) with duration in ms (max 21600000 = 6h).

ParameterTypeDescription
duration_ms *integer
effect *string
light_id *string

list_scenes

List all scenes with their ids, names, and group references.

get_scene

Get the details of a specific scene.

ParameterTypeDescription
scene_id *string

recall_scene

Activate (recall) a scene. action: active|dynamic_palette|static. Optional fade duration in ms.

ParameterTypeDescription
scene_id *string
actionstring
duration_ms

list_sensors

List all sensor services (motion, temperature, light_level, contact) with their ids, names, and types.

get_motion

Get the current motion reading from a motion sensor. Returns {motion: bool}.

ParameterTypeDescription
motion_id *string

get_temperature

Get the current temperature reading in Celsius from a temperature sensor.

ParameterTypeDescription
temperature_id *string

get_light_level

Get the current ambient light level (lux, log-scaled) from a light level sensor.

ParameterTypeDescription
light_level_id *string

get_contact

Get the current state of a contact sensor. Returns {state: 'contact'|'no_contact'}.

ParameterTypeDescription
contact_id *string

create_scene_from_current

Snapshot the current light state of a room/zone into a new named scene. group_rtype: 'room' or 'zone'. Returns the created scene reference.

ParameterTypeDescription
group_id *string
group_rtype *string
name *string

create_scene

Create a scene from explicit per-light actions. group_rtype: 'room' or 'zone'. Each action: {target: {rid, rtype: 'light'}, action: {on, dimming, color, color_temperature}}.

ParameterTypeDescription
actions *array
group_id *string
group_rtype *string
name *string

update_scene

Update a scene's name and/or actions. At least one of name or actions must be provided.

ParameterTypeDescription
scene_id *string
actions
name

delete_scene

Permanently delete a scene from the bridge.

ParameterTypeDescription
scene_id *string

list_smart_scenes

List all smart scenes (day-cycles) with their ids, names, and state.

create_smart_scene

Author a 24h day-cycle the bridge runs itself. week_timeslots is a list of {timeslots: [{start_time: {kind: 'time', time: {hour, minute, second}} | {kind: 'sunset'}, target: {rid: <scene id>, rtype: 'scene'}}], recurrence: ['monday', ...]}.

ParameterTypeDescription
group_id *string
name *string
week_timeslots *array
group_rtypestring
transition_duration_msinteger

set_smart_scene_active

Activate or deactivate a smart scene (arms/disarms the day-cycle).

ParameterTypeDescription
active *boolean
smart_scene_id *string

delete_smart_scene

Delete a smart scene.

ParameterTypeDescription
smart_scene_id *string

list_behavior_scripts

List automation scripts the bridge offers, each with {id, name, category, configuration_schema}. Use the schema to build a create_behavior_instance config.

list_behavior_instances

List configured automations with {id, name, script_id, enabled, status, last_error}.

get_behavior_instance

Get one automation's state incl. status (initializing|running|disabled|errored) and last_error.

ParameterTypeDescription
instance_id *string

create_behavior_instance

Author any automation the bridge offers. Validates configuration against the script's configuration_schema and rejects a non-conforming config before posting.

ParameterTypeDescription
configuration *object
name *string
script_id *string

update_behavior_instance

Replace an automation's configuration.

ParameterTypeDescription
configuration *object
instance_id *string

set_behavior_instance_enabled

Enable or disable an automation (controls whether it runs).

ParameterTypeDescription
enabled *boolean
instance_id *string

delete_behavior_instance

Delete an automation.

ParameterTypeDescription
instance_id *string