miot-mcp
v2.1.0Mijia smart device MCP server, providing device discovery, property read/write, action invoke and other functions
Starts only with mcp<2 (written for an older SDK); the install commands pin it.
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add miot-mcp -- uvx --with 'mcp<2' miot-mcp==2.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"miot-mcp": {
"args": [
"--with",
"mcp<2",
"miot-mcp==2.1.0"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"miot-mcp": {
"args": [
"--with",
"mcp<2",
"miot-mcp==2.1.0"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"miot-mcp": {
"args": [
"--with",
"mcp<2",
"miot-mcp==2.1.0"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.miot-mcp]
command = "uvx"
args = ["--with", "mcp<2", "miot-mcp==2.1.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_service_status, reconnect_service, prepare_login, clear_saved_login, list_homes, refresh_devices, get_tool_catalog, get_home_overview, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json