MCP server · Audited from source
MiOT MCP server
by javen-yan/miot-mcpMIT licenceAudited 7 Oct 2026 · source 67015f774b20
Is it safe? Yes — SAFE, grade B (89/100). It exposes 26 tools: 16 read, 8 write and 2 destructive. The audit recorded 2 findings (0 critical, 0 high, 1 medium, 1 low). Maintainer's description: 基于 MijiaAPI 的米家设备智能控制代理,提供标准化的 MCP 服务,支持动态设备发现、属性读写和动作调用
Cite
Cite this page
ModelsAtlas. “MiOT MCP server (javen-yan/miot-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/javen-yan/miot
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
2 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkNone observedNothing seen in the source
- ShellDeclared2 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS 1 finding |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
javen-yanUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
miot-mcp, no version recorded - LicenceMITFrom the repository, as read at the audited commit.
- Last push54 days agoActivity of the repository when we read it.
- Source commit read67015f774b20The audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory26 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (2)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
clear_saved_login, prepare_login
- Why
- 2 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWSupply chainsupply.unpinned · requirements.txt
mcp, mijiaAPI, Pillow, qrcode, setuptools
- Why
- 5 requirement(s) not pinned with ==
- Fix
- pin exact versions
Tools it exposes
26 declared in source · 2 destructive
2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
clear_saved_login | destructive | Clear saved login credentials so the next connection triggers QR login. |
prepare_login | destructive | Prepare QR login artifacts and optionally force a fresh QR login flow. |
control_device | write | Control a device through capability operations like turn_on, set_brightness, set_target_temperature, or run_action. |
execute_scene | write | Execute a scene by friendly name or scene id. |
set_brightness | write | Set device brightness. |
set_color_temperature | write | Set device color temperature. |
set_cover_position | write | Set position for any cover-capable device such as a curtain or blind. |
set_fan_speed | write | Set fan speed on any fan-speed-capable device such as a fan, air conditioner, or purifier. |
set_hvac_mode | write | Set mode on a mode-capable device such as an air conditioner, fan, or purifier. |
set_target_temperature | write | Set target temperature on any target-temperature-capable device. |
control_by_intent | read | Route a natural-language-like smart-home request to the best product tool. |
get_consumable_items | read | Get consumable items globally or for a specific home. |
get_device | read | Resolve one device and return its summary, capabilities, and common state. |
get_device_capabilities | read | Resolve one device and return its standard capability schema for stable client-side routing. |
get_device_status | read | Return the current state and recommended next actions for one device. |
get_home_overview | read | Return a room-first overview of homes and devices for everyday browsing. |
get_service_status | read | Return service status, authentication status, and local file locations. |
get_tool_catalog | read | Return the recommended everyday tools, advanced tools, and workflow. |
list_devices | read | List devices by friendly filters like name, room, home, or model. |
list_homes | read | List all homes and rooms in a user-friendly structure. |
list_scenes | read | List scenes globally or within a specific home. |
ping | read | Test server connectivity. |
reconnect_service | read | Reconnect to Mijia cloud, optionally clearing saved login first. |
refresh_devices | read | Refresh homes, devices, and room mappings from Mijia cloud. |
turn_off_device | read | Turn off a device. |
turn_on_device | read | Turn on a device. |
Install
audited commit 67015f7
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 67015f7 only.
claude mcp add miot-mcp --env MIJIA_PASSWORD=${MIJIA_PASSWORD} -- uvx miot-mcp{
"mcpServers": {
"miot-mcp": {
"command": "uvx",
"args": [
"miot-mcp"
],
"env": {
"MIJIA_PASSWORD": "${MIJIA_PASSWORD}"
}
}
}
}The command does not pin a version; the audit covers commit 67015f774b20. Transport: stdio. Reads this environment variable: MIJIA_PASSWORD. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
67015f774b20
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/javen-yan/miot/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about MiOT MCP server
What is the MiOT MCP server?
What tools does MiOT expose?
Is MiOT safe to connect to an agent?
What credentials does MiOT need?
How does MiOT run?
How current is this page?
Sources
- javen-yan/miot-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 67015f774b20Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the MiOT MCP server?
- What tools does MiOT expose?
- Is MiOT safe to connect to an agent?