Hass (jarahkon) MCP Server

@jarahkon/hass-mcp-server npm v1.0.10 Source verified

Published by jarahkon — publish provenance cryptographically ties this package to that repository. That is proof of origin, not an official vendor package.

MCP server for full Home Assistant control — dashboards, files, automations, add-ons, and more

Trust grade
A
94/100
Last scanned get badge →
Trust
A · 94/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
A Why this grade threat 100 − adoption risk = 94/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 0 = 100. What the published surface and source actually contain:

The deterministic scan raised no scored threat in the surface it inspected — the threat score stayed at 100. Capability observations and advisory notes are recorded but never lower it.

2. Client adoption risk — 100 − 6 = 94. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 7

high Sensitive-source and external-sink co-existMTC-FLOW-004

Tools that read sensitive data ([ha_list_files, ha_read_file]) and tools that can send data out ([ha_upload_file, ha_upload_file_content]) are exposed together. An agent can move private data to the sink.

Evidence: sources [ha_list_files, ha_read_file] → sinks [ha_upload_file, ha_upload_file_content]

Fix: Keep secret-reading and egress capabilities on separate, separately-approved servers.

Location: flow ha_list_files → ha_upload_file

medium Tool "ha_delete_file" can modify the filesystemMTC-CAP-002

Tool "ha_delete_file" can write, overwrite or delete files (keyword "delete_file" in tool name). Verify it is scoped to a safe directory.

Fix: Constrain file operations to an explicit, non-sensitive root; reject path traversal.

Location: tool ha_delete_file

low Reads a sensitive credential path or dumps the environment in packaging/dev tooling (dist/__tests__/config.test.js)MTC-SRC-006

In a packaging/dev/install script (shipped, but not the server runtime) (`dist/__tests__/config.test.js:111`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: yPath: "/home/user/.ssh/id_rsa", }; const result = requireSshConfig(config); expect(result.sshPr

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/__tests__/config.test.js

low Mutating tool "ha_delete_file" declares no destructiveHintMTC-CAP-005

Tool "ha_delete_file" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.

Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.

Location: tool ha_delete_file

low Unconstrained path parameter "path" on "ha_list_files"MTC-CAP-008

Tool "ha_list_files" takes a path parameter "path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool ha_list_files · inputSchema.properties.path

low Unconstrained path parameter "path" on "ha_read_file"MTC-CAP-008

Tool "ha_read_file" takes a path parameter "path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool ha_read_file · inputSchema.properties.path

low Unconstrained path parameter "path" on "ha_delete_file"MTC-CAP-008

Tool "ha_delete_file" takes a path parameter "path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool ha_delete_file · inputSchema.properties.path

Tools 66

Each tool and what it can reach — statically extracted from the published source.

  • ha_delete_filewrites files
  • ha_list_filesreads sensitive data
  • ha_read_filereads sensitive data
  • ha_upload_filenetwork egress
  • ha_upload_file_contentnetwork egress
  • ha_addon_infono sensitive capability
  • ha_addon_optionsno sensitive capability
  • ha_call_serviceno sensitive capability
  • ha_check_apino sensitive capability
  • ha_check_configno sensitive capability
Show 56 more tools ↓
  • ha_create_areano sensitive capability
  • ha_create_automationno sensitive capability
  • ha_create_backupno sensitive capability
  • ha_create_dashboardno sensitive capability
  • ha_create_helperno sensitive capability
  • ha_create_sceneno sensitive capability
  • ha_create_scriptno sensitive capability
  • ha_delete_automationno sensitive capability
  • ha_delete_dashboardno sensitive capability
  • ha_delete_helperno sensitive capability
  • ha_delete_sceneno sensitive capability
  • ha_delete_scriptno sensitive capability
  • ha_delete_stateno sensitive capability
  • ha_file_existsno sensitive capability
  • ha_fire_eventno sensitive capability
  • ha_get_automationno sensitive capability
  • ha_get_calendar_eventsno sensitive capability
  • ha_get_calendarsno sensitive capability
  • ha_get_componentsno sensitive capability
  • ha_get_configno sensitive capability
  • ha_get_dashboard_configno sensitive capability
  • ha_get_entityno sensitive capability
  • ha_get_error_logno sensitive capability
  • ha_get_eventsno sensitive capability
  • ha_get_historyno sensitive capability
  • ha_get_logbookno sensitive capability
  • ha_get_statesno sensitive capability
  • ha_handle_intentno sensitive capability
  • ha_install_addonno sensitive capability
  • ha_list_addonsno sensitive capability
  • ha_list_areasno sensitive capability
  • ha_list_automationsno sensitive capability
  • ha_list_backupsno sensitive capability
  • ha_list_dashboardsno sensitive capability
  • ha_list_devicesno sensitive capability
  • ha_list_entity_registryno sensitive capability
  • ha_list_helpersno sensitive capability
  • ha_list_scenesno sensitive capability
  • ha_list_scriptsno sensitive capability
  • ha_list_servicesno sensitive capability
  • ha_mkdirno sensitive capability
  • ha_render_templateno sensitive capability
  • ha_restart_addonno sensitive capability
  • ha_restart_coreno sensitive capability
  • ha_save_dashboard_configno sensitive capability
  • ha_set_stateno sensitive capability
  • ha_start_addonno sensitive capability
  • ha_stop_addonno sensitive capability
  • ha_system_infono sensitive capability
  • ha_uninstall_addonno sensitive capability
  • ha_update_automationno sensitive capability
  • ha_update_core_configno sensitive capability
  • ha_update_dashboardno sensitive capability
  • ha_update_helperno sensitive capability
  • ha_update_sceneno sensitive capability
  • ha_update_scriptno sensitive capability

Toxic flows 1

Cross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).

What this scan could not see

Versions 1

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v1.0.10 latest A 94/100 7 1.13.0 2026-09-07

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: A · 94/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/jarahkon-hass-mcp-server/badge.svg)](https://mcptrustchecker.com/registry/jarahkon-hass-mcp-server)
HTML
<a href="https://mcptrustchecker.com/registry/jarahkon-hass-mcp-server"><img src="https://mcptrustchecker.com/registry/jarahkon-hass-mcp-server/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/jarahkon-hass-mcp-server/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan @jarahkon/hass-mcp-server --online

Use the free API → How scoring works

Other implementations of Hass 2

Independent packages implementing the same tool, scanned with the same engine. Compare all 3 side by side →

More in API Development