MCP server · Audited from source
Xiaoi MCP server
by xvhuan/xiaoiMIT licenceAudited 6 Oct 2026 · source db3cd6cd8f34
Is it safe? With care — CAUTION, grade B (88/100). It exposes 5 tools: 4 read, 1 write and 0 destructive. The audit recorded 6 findings (0 critical, 0 high, 5 medium, 1 low). Maintainer's description: 小爱音箱语音通知工具:提供 CLI/TUI/MCP/Webhook 一键播报与控制音量,支持 PM2 常驻部署,支持docker部署。
Cite
Cite this page
ModelsAtlas. “Xiaoi MCP server (xvhuan/xiaoi)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/xvhuan/xiaoi
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
6 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
- NetworkDeclared1 observation
- 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 | WARN 6 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
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
xvhuanUser accountAccount type recorded when we read the repository. - PackagePublished on npm
xiaoiiat version 1.0.10 - LicenceMITFrom the repository, as read at the audited commit.
- Last push8 months agoActivity of the repository when we read it.
- Source commit readdb3cd6cd8f34The audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory5 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 (6)
Sorted by severity
MEDIUMInformation disclosuredisclose.log_secret · bin/xiaoi.js:313
console.log(`🔐 已生成 webhook.token: ${config.webhook.token}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · docker-entrypoint.sh:139
console.log('║ Webhook Token: ' + (cfg.webhook.token ? cfg.webhook.token.substring(0, 8) + '...' : '无').padEnd(28) + '║');- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · lib/tui.js:636
print(`\n ${c.red}❌ 请先填写 userId 和 passToken(或 password)${c.reset}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · lib/tui.js:1746
print(`\n ${c.bold}🔐 Webhook Token${c.reset}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · lib/tui.js:1747
print(` ${c.dim}用于 Webhook 鉴权:Authorization: Bearer <token> 或 X-Xiaoi-Token${c.reset}`);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@mi-gpt/next, @modelcontextprotocol/sdk, zod
- Why
- 3 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
5 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
set_volume | write | 设置小爱音箱的音量。 |
do_action | read | 向小爱音箱发送 MiOT 指令。 |
get_property | read | 读取小爱音箱 MiOT 属性值。 |
notify | read | 向小爱音箱发送语音通知。适用于任务完成通知、提醒、警告等场景。音箱会用 TTS 播报传入的文字内容。 |
play_audio | read | 让小爱音箱播放指定的音频链接。 |
Install
Package version 1.0.10 · audited commit db3cd6c
Read the findings first. The most severe is Information disclosure (medium) at bin/xiaoi.js.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.10. The audit covers commit db3cd6c only.
claude mcp add xiaoii --env XIAOI_WEBHOOK_TOKEN=${XIAOI_WEBHOOK_TOKEN} -- npx -y [email protected]{
"mcpServers": {
"xiaoii": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"XIAOI_WEBHOOK_TOKEN": "${XIAOI_WEBHOOK_TOKEN}"
}
}
}
}The command pins the package version recorded in the source (1.0.10); the audit covers commit db3cd6cd8f34. Transport: stdio. Reads this environment variable: XIAOI_WEBHOOK_TOKEN. Give it the narrowest token it needs.
Audit history
- !CAUTION B 88 / 100
First audit ·
db3cd6cd8f34
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/xvhuan/xiaoi/)
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 Xiaoi MCP server
What is the Xiaoi MCP server?
What tools does Xiaoi expose?
Is Xiaoi safe to connect to an agent?
What credentials does Xiaoi need?
How does Xiaoi run?
How current is this page?
Sources
- xvhuan/xiaoi on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit db3cd6cd8f34Observed · 6 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 Xiaoi MCP server?
- What tools does Xiaoi expose?
- Is Xiaoi safe to connect to an agent?