dirigera-mcp
Controls and monitors an IKEA DIRIGERA smart home hub over the local network: lists devices, rooms, device sets, scenes and the activity log, reads hub status and device details, controls individual devices, whole rooms and device sets, identifies devices, triggers and undoes scenes, and renames devices or moves them between rooms.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dirigera-mcp turn on the living room lights"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dirigera-mcp
An MCP server for the IKEA DIRIGERA smart home hub. It talks to the hub on your local network through a Python client generated from dirigera-openapi.
Setup
Get a token, and press the action button on the bottom of the hub when asked:
uv run dirigera-mcp pair 192.168.1.100The token is valid for ten years and gives full access to the hub, so treat it like a password. Add the server to Claude Code:
claude mcp add dirigera \
--env DIRIGERA_HOST=192.168.1.100 \
--env DIRIGERA_TOKEN="$TOKEN" \
-- uv run --directory /path/to/dirigera-mcp dirigera-mcpUse an existing token
Set DIRIGERA_TOKEN to the token, or point --config at a file like the one
made by dirigera-rs or dirigera-tui:
ip-address = "192.168.1.100" # or host
token = "..."claude mcp add dirigera -- uv run --directory /path/to/dirigera-mcp \
dirigera-mcp --config /path/to/config.tomlWith --config, the host and token in the environment are ignored.
Started in a terminal, such as with just run, the server prints the matching
claude mcp add command.
Variable | Required | Description |
| Without | IP address or hostname of the hub |
| Without | Token from |
| No | PEM file with the CA or hub certificate |
The hub's certificate is signed by a private IKEA CA. Without DIRIGERA_CA_CERT
it isn't verified, so someone on your network could impersonate the hub.
Related MCP server: mcp-server-tuya
Tools
Read:
list_devices,get_device,list_rooms,list_device_sets,list_scenes,get_scene,get_hub_status,get_activity_logControl:
control_device,control_room,control_device_set,identify_device,trigger_scene,undo_sceneOrganize:
rename_device,create_room,move_devices_to_room
Deleting things, editing scenes, users, firmware, and the Matter, Thread and HomeKit settings are left out on purpose. Pairing codes, serial numbers and coordinates are removed from device and hub details.
The hub accepts changes before they have happened, so a successful call means accepted rather than done.
Development
just update-spec # download the latest published spec
just generate # regenerate src/dirigera_mcp/client, never edit it by hand
just run # run the server, takes the same arguments
just format # format and fix lint errors
just check # check formatting, lint, types and testsAvailable Tools
17 toolscontrol_deviceCIdempotent
Control one device.
Inputs: changes (required), device_id (required), transition_milliseconds. Returns: object
control_device_setCIdempotent
Control every device of one type in a device set.
Inputs: changes (required), device_type (required), device_set_id (required), transition_milliseconds. Returns: object
control_roomCIdempotent
Control every device of one type in a room.
Inputs: changes (required), room_id (required), device_type (required), transition_milliseconds. Returns: object
create_roomC
Create a room. Icons look like rooms_sofa, colors like ikea_green_no_65.
Inputs: name (required), icon, color. Returns: object
get_activity_logCRead-only
Get the open, close and water leak events the hub returns by default.
Inputs: limit, device_id. Returns: result
get_deviceBRead-only
Get all details of a device, including which attributes it accepts.
Inputs: device_id (required). Returns: object
get_hub_statusARead-only
Get the hub's own status and firmware version.
Inputs: no named parameters. Returns: object
get_sceneCRead-only
Get what a scene does and what triggers it.
Inputs: scene_id (required). Returns: object
identify_deviceA
Make a device blink or beep to find it. Zero seconds stops it.
Inputs: device_id (required), seconds. Returns: result
list_devicesCRead-only
List devices and sensors with their current state.
Inputs: room_id, device_type. Returns: result
list_device_setsARead-only
List device sets, called groups in the IKEA app.
Inputs: no named parameters. Returns: result
list_roomsCRead-only
List rooms.
Inputs: no named parameters. Returns: result
list_scenesBRead-only
List scenes and automations.
Inputs: no named parameters. Returns: result
move_devices_to_roomCIdempotent
Move devices into a room.
Inputs: room_id (required), device_ids (required). Returns: result
rename_deviceCIdempotent
Rename a device.
Inputs: name (required), device_id (required). Returns: result
trigger_sceneC
Run a scene now.
Inputs: scene_id (required). Returns: result
undo_sceneB
Undo a recent run of a scene. Has no effect if it can't be undone.
Inputs: scene_id (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Each tool targets a distinct resource and action, and most boundaries are clear (get_device vs list_devices, trigger_scene vs undo_scene). The only mild overlap is among control_device, control_room, and control_device_set, which all say 'control every device of one type' but differ by container (device/room/set); descriptions resolve this adequately.
All 17 tools follow a consistent snake_case verb_noun pattern (get_*, list_*, control_*, create_*, move_*, trigger_*, undo_*, rename_*, identify_*). No camelCase or vague standalone verbs appear.
17 tools is slightly above the ideal 3-15 range but reasonable for a smart-home hub covering devices, rooms, device sets, scenes, and hub status. Each tool maps to a concrete operation with little redundancy.
Read and control coverage is strong (devices, rooms, sets, scenes, activity log, hub status), but lifecycle gaps exist: create_room has no delete_room or rename_room, and there is no create/delete scene or create/delete device set. Agents can work around some of this but room and scene CRUD is incomplete.
Maintenance
Related MCP Connectors
Control and query Heiman smart home devices: lights, AC, curtains, climate, logs and scenes.
Control your existing Philips lights, Sonos speakers, Roborock vacuums and other supported devices through Port OS cloud. Give ChatGPT, Claude and other MCP-compatible assistants access to the devices you connect. Turn off the living room lights, play music on your speakers, adjust the thermostat, run a vacuum in a room, check a camera snapshot or find a connected tracker. Available actions depend on your linked provider accounts and each device’s supported capabilities. Port OS runs in the cloud; no local server is required. You choose the account, device and capability permissions each assistant receives. Device operations require user OAuth; public tool discovery does not grant device access. Port OS is in alpha. Setup: https://portoperatingsystem.com/docs/getting-started/ Support: https://portoperatingsystem.com/contact/
Yeelight device discovery, state, control, and scene execution.
Query and update your synced HomeHero home inventory, locations, and upkeep tasks. Requires Sync.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to interact with Homey home automation systems for managing flows, devices, and zones. Perfect for bulk automation tasks like batch renaming flows, organizing them into folders, and managing devices across zones through natural language.-
- AlicenseAqualityDmaintenanceEnables AI assistants to control Tuya/Smart Life smart home devices via tools like on/off, brightness, color, and custom commands.101MIT
- AlicenseAqualityBmaintenanceEnables natural language control of Homey Pro smart home systems, including devices, flows, zones, energy monitoring, weather, alarms, and system management, with 43 tools and troubleshooting prompts.50MIT
- AlicenseAqualityDmaintenanceEnables AI agents to control Homey smart home devices, trigger flows, and query zones via the Homey API.19ISC