miot-mcp

v2.1.0
miot-mcp Checked 9 hours ago Published 15 days ago

Mijia smart device MCP server, providing device discovery, property read/write, action invoke and other functions

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

get_service_status

Return service status, authentication status, and local file locations.

reconnect_service

Reconnect to Mijia cloud, optionally clearing saved login first.

ParameterTypeDescription
force_reauthboolean

prepare_login

Prepare QR login artifacts and optionally force a fresh QR login flow.

ParameterTypeDescription
force_reauthboolean
reopen_qrboolean

clear_saved_login

Clear saved login credentials so the next connection triggers QR login.

list_homes

List all homes and rooms in a user-friendly structure.

ParameterTypeDescription
refreshboolean

refresh_devices

Refresh homes, devices, and room mappings from Mijia cloud.

get_tool_catalog

Return the recommended everyday tools, advanced tools, and workflow.

get_home_overview

Return a room-first overview of homes and devices for everyday browsing.

ParameterTypeDescription
home_namestring
refreshboolean
roomstring

list_devices

List devices by friendly filters like name, room, home, or model.

ParameterTypeDescription
device_typestring
homestring
online_onlyboolean
querystring
refreshboolean
roomstring
verboseboolean

get_device

Resolve one device and return its summary, capabilities, and common state.

ParameterTypeDescription
device_idstring
device_namestring
device_typestring
homestring
refreshboolean
roomstring
verboseboolean

get_device_status

Return the current state and recommended next actions for one device.

ParameterTypeDescription
device_idstring
device_namestring
device_typestring
homestring
refreshboolean
roomstring

get_device_capabilities

Resolve one device and return its standard capability schema for stable client-side routing.

ParameterTypeDescription
device_idstring
device_namestring
device_typestring
homestring
refreshboolean
roomstring
verboseboolean

control_device

Control a device through capability operations like turn_on, set_brightness, set_target_temperature, set_property, or run_action.

ParameterTypeDescription
operation *string
action_namestring
device_idstring
device_namestring
homestring
property_namestring
refreshboolean
roomstring
value

turn_on_device

Turn on a device.

ParameterTypeDescription
device_idstring
device_namestring
homestring
roomstring

turn_off_device

Turn off a device.

ParameterTypeDescription
device_idstring
device_namestring
homestring
roomstring

set_brightness

Set device brightness.

ParameterTypeDescription
device_idstring
device_namestring
homestring
roomstring
valueinteger

set_color_temperature

Set device color temperature.

ParameterTypeDescription
device_idstring
device_namestring
homestring
roomstring
valueinteger

set_target_temperature

Set target temperature on any target-temperature-capable device.

ParameterTypeDescription
device_idstring
device_namestring
homestring
roomstring
valueinteger

set_hvac_mode

Set mode on a mode-capable device such as an air conditioner, fan, or purifier.

ParameterTypeDescription
device_idstring
device_namestring
homestring
roomstring
value

set_fan_speed

Set fan speed on any fan-speed-capable device such as a fan, air conditioner, or purifier.

ParameterTypeDescription
device_idstring
device_namestring
homestring
roomstring
value

set_cover_position

Set position for any cover-capable device such as a curtain or blind.

ParameterTypeDescription
device_idstring
device_namestring
homestring
roomstring
valueinteger

list_scenes

List scenes globally or within a specific home.

ParameterTypeDescription
home_idstring
home_namestring

execute_scene

Execute a scene by friendly name or scene id.

ParameterTypeDescription
home_idstring
home_namestring
scene_idstring
scene_namestring

get_consumable_items

Get consumable items globally or for a specific home.

ParameterTypeDescription
home_idstring
home_namestring

control_by_intent

Route a natural-language-like smart-home request to the best product tool.

ParameterTypeDescription
query *string
homestring
prefer_device_typestring
roomstring

ping

Test server connectivity.

ParameterTypeDescription
messagestring