SmartThingsMCP
JSON →A comprehensive FastMCP 2.0 server and client for interacting with SmartThings devices, locations, rooms, modes, scenes, and automation rules through the SmartThings API.
Install
pip install -r Tools · 37
- list_devices Get a list of all devices (supports filtering by capability, location, room, or device ID)
- get_device Get details of a specific device
- update_device Update a device's label
- delete_device Delete a device
- execute_command Execute a command on a device component
- get_device_status Get the current status of a device
- get_device_components Get all components of a device
- get_device_capabilities Get capabilities of a device component
- get_device_health Get the health/connectivity status of a device
- get_device_presentation Get the UI presentation details of a device
- list_locations Get a list of all locations
- get_location Get details of a specific location
- create_location Create a new location with coordinates and address information
- update_location Update location details (name, coordinates, address)
- delete_location Delete a location
- get_location_rooms Get all rooms in a location (convenience method)
- list_rooms Get all rooms in a location
- get_room Get details of a specific room
- create_room Create a new room in a location
- update_room Update a room's name
- delete_room Delete a room from a location
- list_modes Get all available modes for a location
- get_mode Get details of a specific mode
- get_current_mode Get the currently active mode for a location
- set_mode Change the current mode for a location
- list_scenes Get all scenes (optionally filtered by location)
- get_scene Get details of a specific scene
- execute_scene Execute/run a scene
- create_scene Create a new scene with actions and visual properties
- update_scene Update an existing scene (name, icon, colors, actions)
- delete_scene Delete a scene
- list_rules Get all automation rules (optionally filtered by location)
- get_rule Get details of a specific rule
- create_rule Create a new automation rule with conditions and actions
- update_rule Update an existing rule (name, triggers, actions, enabled state)
- delete_rule Delete an automation rule
- execute_rule Manually trigger execution of a rule
Environment variables
YOUR_TOKENDEVICE_IDSCENE_IDLOCATION_IDMODE_IDRULE_IDYOUR_VALID_TOKENSMARTTHINGS_TOKENMCP_SERVER_HOSTMCP_SERVER_PORT