Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Advanced Home Assistant MCP server

by jango-blockchained/advanced-homeassistant-mcpApache-2.0 licenceAudited 8 Oct 2026 · source d2f68b18429d

npm @jango-blockchained/homeassistant-mcp 1.7.3★ 57
!CAUTIONGrade B · 89/100 · 8 Oct 2026 · d2f68b1
57GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 91 tools: 68 read, 20 write and 3 destructive. The audit recorded 19 findings (0 critical, 0 high, 2 medium, 12 low). Maintainer's description: MCP server that gives AI assistants control over your Home Assistant. Including 50+ tools over 3 transports. Batteries included 🔋

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Advanced Home Assistant MCP server (jango-blockchained/advanced-homeassistant-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/jango-blockchained/advanced-home-assistant

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high2 medium12 low5 info

19 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

  • FilesystemDeclared2 observations
  • NetworkDeclared2 observations
  • ShellDeclared1 observation
  • 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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 3 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 13 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner jango-blockchainedUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@jango-blockchained/homeassistant-mcp at version 1.7.3
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last push4 months agoActivity of the repository when we read it.
  • Source commit readd2f68b18429dThe audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory91 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 (19)

Sorted by severity

MEDIUMInformation disclosuredisclose.log_secret · src/hass/index.ts:22
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.debug(`Token loaded: yes (${this.token.length} chars)`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
addon_modify, package_modify, todo_modify
Why
3 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · __tests__/ai/endpoints/ai-router.test.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { AIResponse, AIError } from "../../../src/ai/types/index.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · __tests__/ai/endpoints/ai-router.test.ts:23
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
void mock.module("../../../src/ai/nlp/processor.js", () => ({
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · __tests__/ai/endpoints/ai-router.test.ts:38
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import router from "../../../src/ai/endpoints/ai-router.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · __tests__/ai/nlp/intent-classifier.test.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { IntentClassifier } from '../../../src/ai/nlp/intent-classifier.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · __tests__/api/index.test.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { Entity } from '../../src/types/hass.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .opencode/audit/00-summary.md:37
F-04 Network egressCWE-200 · CWE-319Layer L1
| **C14** | `docker-compose.yml` hardcodes personal IP `http://192.168.178.63:8123` — privacy leak                                                          | `docker-compose.yml`
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .opencode/audit/01-structure-and-config.md:168
F-04 Network egressCWE-200 · CWE-319Layer L1
- Default HASS host: **`http://192.168.178.63:8123`** (C14 — personal IP leaked)
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs-site/src/content/docs/configuration/environment.mdx:92
F-04 Network egressCWE-200 · CWE-319Layer L1
HASS_HOST=http://192.168.1.50:8123
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs-site/src/content/docs/deployment/http.mdx:23
F-04 Network egressCWE-200 · CWE-319Layer L1
The server prints `MCP Server listening on http://0.0.0.0:4000` (or whatever `PORT` you set). Hit `GET /health` to confirm:
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs-site/src/content/docs/deployment/http.mdx:53
F-04 Network egressCWE-200 · CWE-319Layer L1
proxy_pass http://127.0.0.1:4000;
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · docs-site/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@astrojs/check, @astrojs/mdx, @astrojs/react, @astrojs/sitemap, @radix-ui/react-dialog, @radix-ui/react-dropdown-menu, @tailwindcss/vite, @types/react
Why
18 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@types/node, @types/sanitize-html, @types/swagger-ui-express, @types/uuid, @types/ws, cors, dotenv, express
Why
40 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · .smithery/index.cjs
F-13 Inventory / provenanceCWE-1104Layer L0
.smithery/index.cjs
Why
1128540 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · .smithery/shttp/module.js
F-13 Inventory / provenanceCWE-1104Layer L0
.smithery/shttp/module.js
Why
1880948 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · .smithery/shttp/module.js.map
F-13 Inventory / provenanceCWE-1104Layer L0
.smithery/shttp/module.js.map
Why
5647346 bytes not read
Fix
—
INFOPrompt injectionprompt.credential_read · docs-site/src/content/docs/configuration/environment.mdx:75
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
A handful of legacy call sites read `process.env` directly (the rate limit, the speech flags). Those are documented inline. New code should import from `APP_CONFIG` so the Zod defaults apply consisten
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · docs-site/src/content/docs/guides/adding-a-tool.mdx:153
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **Don't read `process.env` in the tool.** Use the context or the typed `APP_CONFIG`. The Zod validation won't catch a typo.
Why
asks the agent to read credentials
Fix
—

Tools it exposes

91 declared in source · 3 destructive

68 read20 write3 destructive

3 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.

ToolRiskWhat it does
addon_modifydestructiveManage Home Assistant add-ons (install, uninstall, start, stop, restart)
package_modifydestructiveManage HACS packages (install, uninstall, update)
todo_modifydestructiveAdd, update, or remove items in a Home Assistant to-do list.
addonwriteList Home Assistant add-ons or get info on a specific add-on
animation_control_activatewriteStart, stop, or stop-all background light animations (endless loops).
automation_config_modifywriteManage Home Assistant automations
automation_modifywriteToggle (enable/disable) a Home Assistant automation. Does not fire the automation
climate_activatewriteSet HVAC mode, target temperature, or fan mode on climate devices.
covers_activatewriteOpen, close, stop, toggle, or set the position/tilt of a cover.
dashboard_modifywriteReplace a Home Assistant Lovelace dashboard
fans_activatewriteControl fans: turn on/off/toggle, set speed percentage, preset mode, oscillation, direction.
light_animation_activatewriteExecute custom light animation sequences (e.g., police lights, alerts) on any RGB light.
light_scenario_activatewriteApply ambient lighting moods (Chill, Nightly, Focus, etc.) to a specific area or light.
light_showcase_activatewriteRun a choreographed light showcase that calls various moods and custom palettes to demonstrate system capabilities.
morning_routinewriteCreate a morning routine automation
notifywriteSend notification
notify_activatewriteSend notifications through Home Assistant
scene_creationwriteCreate a scene for a specific activity or mood
security_setupwriteSet up security and monitoring
smart_scenarios_activatewriteApply smart home scenarios: turn off lights and adjust climate when nobody is home, or turn off heating when windows are open. Actuates devices and sends notifications.
vacuum_schedulewriteSet up robot vacuum cleaning schedule
vacuums_activatewriteControl robot vacuums: start/pause/stop, return to dock, spot cleaning, locate, fan speed, vendor-specific commands.
voice_command_executor_activatewriteExecute parsed voice commands through Home Assistant. Maps intents to service calls and controls devices.
AutomationsreadList of all configured automations
CoversreadAll cover entities (blinds, curtains, garage doors)
FansreadAll fan entities and their states
HealthreadHealth check endpoints for monitoring server status
LocksreadAll lock entities and their states
MCPreadModel Context Protocol endpoints for tool execution
SSEreadServer-Sent Events endpoints for real-time updates
ScenesreadList of all configured scenes
SensorsreadAll sensor entities (temperature, humidity, etc.)
SwitchesreadAll switch entities
ToolsreadTool management endpoints for listing and configuring tools
actionreadWhat to do with the lights (e.g.,
activityreadWhat you want to do (e.g.,
alarmsreadList all alarm panels or get the state of a specific alarm panel.
alarms_activatereadArm in various modes (home, away, night, vacation, custom bypass), disarm, or trigger an alarm. Security-sensitive operations.
animation_controlreadList currently running background light animations.
automationreadList Home Assistant automations and their current state.
automation_activatereadFire a Home Assistant automation
claudereadClaude-specific prompt template for home automation control
climatereadList all climate devices (thermostats, AC) or get the state of a specific one.
climate_comfortreadOptimize climate control for comfort and efficiency
controlreadControl Home Assistant entities
control_activatereadControl Home Assistant entities (lights, climate, etc.)
control_lightsreadHelp with controlling lights in a room or area
coversreadList all covers (blinds, curtains, garage doors, shades) or get the state of one.
customreadCustomizable prompt template for home automation control
dashboardreadList Home Assistant Lovelace dashboards or read a dashboard
device_namereadThe name or type of device having issues
energy_savingreadSuggestions for energy-saving automations
fansreadList all fans or get the state of a specific fan.
get_entity_statereadGet the current state of any Home Assistant entity. Works with all entity types: sensors, binary_sensors, switches, lights, climate, covers, etc. Returns state value, timestamps, and optionally all attributes.
get_historyreadRetrieve historical data for entities
get_sse_statsreadGet statistics about SSE connections
gpt4readGPT-4 specific prompt template for precise home automation control
historyreadGet entity history
lightsreadList all lights or get the state of a specific light.
lights_activatereadTurn lights on (with optional brightness/color/effect) or off.
list_devicesreadList all Home Assistant devices
locksreadList all locks or get the state of a specific lock.
locks_activatereadLock, unlock, or open (unlatch) physical locks. Unlocking is a security-sensitive operation.
maintenancereadAnalyze Home Assistant health: find orphaned/unavailable devices, analyze light usage and energy consumption, run device health checks. All actions are read-only — no entities are removed or modified.
media_controlreadControl media players and entertainment systems
media_playersreadList all media players or get the state of a specific media player.
media_players_activatereadControl media players: playback, volume, source/sound mode selection, play media on TVs and speakers.
packagereadList HACS packages and custom components by category
preferred_tempreadYour preferred temperature (e.g.,
render_templatereadEvaluate a Home Assistant Jinja2 template. Use this to query complex state information, perform calculations, format data, or test template expressions. The template is rendered server-side by Home Assistant and the result is returned as text.
roomreadThe room or area name (e.g.,
scenereadList Home Assistant scenes.
scene_activatereadActivate a Home Assistant scene
scene_namereadName for the scene (e.g.,
search_entitiesreadSearch Home Assistant entities with powerful filtering. Supports domain, device_class, state (exact or comparison like
smart_scenariosreadDetect common smart home scenarios (nobody home, window/heating conflicts, energy-saving opportunities). Read-only analysis.
stream_generatorreadGenerate a stream of data with configurable delay and count
subscribe_eventsreadSubscribe to Home Assistant events via SSE
switchesreadList all switches or get the state of a specific switch (smart plugs, relays, virtual switches).
switches_activatereadTurn switches on, off, or toggle.
system_inforeadGet basic information about this MCP server including version, transport, and connection status
test_toolreadA test tool
text_to_speechreadGenerate and play text-to-speech audio via Home Assistant. Provides voice feedback for commands with support for multiple languages and TTS providers.
todoreadList Home Assistant to-do lists or get items from a specific list.
tracereadAccess automation and script execution traces. List recent traces, get detailed trace data, or list trace contexts. Useful for debugging automation issues.
troubleshoot_devicereadHelp troubleshoot a device that
vacuumsreadList all robot vacuums or get the state of a specific vacuum.
validation_demoreadDemonstrates parameter validation with Zod schemas
voice_command_ai_parser_activatereadParse voice commands using AI (Claude). Makes an outbound API call to api.anthropic.com (consumes API credits, sends transcript to a third party). Falls back gracefully if AI not available.
voice_command_parserreadParse natural language voice transcriptions into structured Home Assistant commands. Extracts intent, entities, and parameters from voice input.
voice_control_setupreadRecommendations for voice control setup

Install

Package version 1.7.3 · audited commit d2f68b1

Read the findings first. The most severe is Information disclosure (medium) at src/hass/index.ts.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.7.3. The audit covers commit d2f68b1 only.

claude mcp add homeassistant-mcp --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env COOKIE_SECRET=${COOKIE_SECRET} --env CORS_CREDENTIALS=${CORS_CREDENTIALS} --env HASS_TOKEN=${HASS_TOKEN} -- npx -y @jango-blockchained/[email protected]

The command pins the package version recorded in the source (1.7.3); the audit covers commit d2f68b18429d. Transport: not declared. Reads these environment variables: ANTHROPIC_API_KEY, COOKIE_SECRET, CORS_CREDENTIALS, HASS_TOKEN, JWT_SECRET, OPENAI_API_KEY, TEST_HASS_TOKEN, TEST_INVALID_TOKEN and 3 more. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 89 / 100

    First audit · d2f68b18429d

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/jango-blockchained/advanced-home-assistant/badge.svg)](https://modelsatlas.com/mcp/jango-blockchained/advanced-home-assistant/)

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 Advanced Home Assistant MCP server

What is the Advanced Home Assistant MCP server?
MCP server that gives AI assistants control over your Home Assistant. Including 50+ tools over 3 transports. Batteries included 🔋
What tools does Advanced Home Assistant expose?
91 in total: 68 read-only, 20 that write, and 3 that can delete or overwrite (addon_modify, package_modify, todo_modify). Every one is listed on this page with its risk.
Is Advanced Home Assistant safe to connect to an agent?
With care. The audit graded it B (89/100) and found 19 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Advanced Home Assistant need?
It reads ANTHROPIC_API_KEY, COOKIE_SECRET, CORS_CREDENTIALS, HASS_TOKEN, JWT_SECRET, OPENAI_API_KEY, TEST_HASS_TOKEN, TEST_INVALID_TOKEN, TEST_JWT_SECRET, TEST_TOKEN and TOKEN_MIN_LENGTH from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (d2f68b18429d), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

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.